Bug 240964 - KRDC crash on disconnect
Summary: KRDC crash on disconnect
Status: RESOLVED DUPLICATE of bug 183776
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 00:04 UTC by cesti_alain
Modified: 2010-07-19 15:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.86 KB, text/plain)
2010-07-19 15:05 UTC, Paul Fee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cesti_alain 2010-06-07 00:04:04 UTC
Application: krdc (4.4.4 (KDE 4.4.4))
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
KRDC crashed when I disconnected from a Krfb server

 -- Backtrace:
Application: KRDC (krdc), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f316422e760 (LWP 2068))]

Thread 2 (Thread 0x7f31540dd710 (LWP 2069)):
[KCrash Handler]
#5  0x00007f31605d4b6b in memcpy () from /lib/libc.so.6
#6  0x00007f3154613588 in CopyRectangle () from /usr/lib/libvncclient.so.0
#7  0x00007f31546174b8 in DecompressJpegRect32 () from /usr/lib/libvncclient.so.0
#8  0x00007f3154617b59 in HandleTight32 () from /usr/lib/libvncclient.so.0
#9  0x00007f3154620439 in HandleRFBServerMessage () from /usr/lib/libvncclient.so.0
#10 0x00007f3154832cbe in VncClientThread::run() () from /usr/lib/kde4/krdc_vncplugin.so
#11 0x00007f3160c2cba5 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007f315efb3cb0 in start_thread () from /lib/libpthread.so.0
#13 0x00007f316062378d in clone () from /lib/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f316422e760 (LWP 2068)):
#0  0x00007f316061af23 in poll () from /lib/libc.so.6
#1  0x00007f315b1c7b9a in _xcb_conn_wait () from /usr/lib/libxcb.so.1
#2  0x00007f315b1c80c9 in _xcb_out_send () from /usr/lib/libxcb.so.1
#3  0x00007f315b1c8157 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f315f621dca in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f315f622315 in _XFlush () from /usr/lib/libX11.so.6
#6  0x00007f31600baf5c in XRenderComposite () from /usr/lib/libXrender.so.1
#7  0x00007f3161aab91e in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007f3161a109ec in QPainter::drawTiledPixmap(QRectF const&, QPixmap const&, QPointF const&) () from /usr/lib/libQtGui.so.4
#9  0x00007f31596a3167 in TileSet::render(QRect const&, QPainter*, QFlags<TileSet::Tile>) const () from /usr/lib/kde4/plugins/styles/oxygen.so
#10 0x00007f31596d9b89 in OxygenStyle::renderSlab(QPainter*, QRect, QColor const&, QFlags<OxygenStyle::StyleOption>, double, Oxygen::AnimationMode, QFlags<TileSet::Tile>) const ()
   from /usr/lib/kde4/plugins/styles/oxygen.so
#11 0x00007f31596da9d9 in OxygenStyle::drawTabWidgetPrimitive(int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const ()
   from /usr/lib/kde4/plugins/styles/oxygen.so
#12 0x00007f31596d0924 in OxygenStyle::drawKStylePrimitive(KStyle::WidgetType, int, QStyleOption const*, QRect const&, QPalette const&, QFlags<QStyle::StateFlag>, QPainter*, QWidget const*, KStyle::Option*) const () from /usr/lib/kde4/plugins/styles/oxygen.so
#13 0x00007f3162591094 in KStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/libkdeui.so.5
#14 0x00007f31596d10e5 in OxygenStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib/kde4/plugins/styles/oxygen.so
#15 0x00007f3161d12b18 in QTabWidget::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f31619167e4 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f31618c6e84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007f31618caf6a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007f3162579f66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#20 0x00007f3160d1579c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#21 0x00007f3161911c18 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#22 0x00007f31619127df in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#23 0x00007f316191269c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#24 0x00007f316191195a in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4
#25 0x00007f3161ac54e0 in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f3161908960 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4
#27 0x00007f3161916ce2 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f3161cc728b in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007f3162679473 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007f31618c6e84 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007f31618caf6a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x00007f3162579f66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x00007f3160d1579c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#34 0x00007f3160d18e3d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#35 0x00007f3160d3dad3 in ?? () from /usr/lib/libQtCore.so.4
#36 0x00007f315d339b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0x00007f315d33a310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#38 0x00007f315d33a5ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0x00007f3160d3e00f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x00007f31619664be in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007f3160d14b82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#42 0x00007f3160d14dbc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007f3160d190eb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#44 0x0000000000427bc0 in _start ()

This bug may be a duplicate of or related to bug 162493.

Possible duplicates by query: bug 183776.

Reported using DrKonqi
Comment 1 Urs Wolfer 2010-06-07 07:31:39 UTC

*** This bug has been marked as a duplicate of bug 183776 ***
Comment 2 Paul Fee 2010-07-19 15:05:23 UTC
Created attachment 49309 [details]
New crash information added by DrKonqi

Crash when disconnected from a VNC session.

Adding this stack trace as the original trace lacked debug symbols.

Unusually, the VNC server was x11vnc and krdc was running on the same screen, hence a loop was created with infinitely nested screen images.  When I noticed my mistake, I disconnected krdc which then crashed.

I don't think the VNC loop was the cause of the crash, although it would have caused an unending stream of updates for the VNC client to draw.  Perhaps there's a multithreading issue with disconnecting while also handling VNC data.