Bug 230087 - krdc crashes when closing a vnc session
Summary: krdc crashes when closing a vnc session
Status: RESOLVED DUPLICATE of bug 218664
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-09 13:01 UTC by Børre Gaup
Modified: 2010-03-14 22:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Børre Gaup 2010-03-09 13:01:36 UTC
Application: krdc (4.4.1 (KDE 4.4.1))
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.31-20-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
When using krdc in view mode, and clicking inside the remote screen, krdc crashes when I close the vnc session using the Disconnect button. 

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

Thread 2 (Thread 0xb5e66b70 (LWP 24346)):
[KCrash Handler]
#6  0x007e0f89 in QMutex::lock (this=0xa087f2c) at thread/qmutex.cpp:150
#7  0x047df22d in QMutexLocker::relock (this=0xa087f04) at /usr/include/qt4/QtCore/qmutex.h:120
#8  VncClientThread::run (this=0xa087f04) at ../../../krdc/vnc/vncclientthread.cpp:295
#9  0x007e636e in QThreadPrivate::start (arg=0xa087f04) at thread/qthread_unix.cpp:248
#10 0x00b2b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x00dc98de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77ef760 (LWP 24343)):
#0  0x004bf422 in __kernel_vsyscall ()
#1  0x00dbbc96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x068f3d80 in ?? () from /usr/lib/libxcb.so.1
#3  0x068f42eb in ?? () from /usr/lib/libxcb.so.1
#4  0x068f4687 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0x012e02e9 in _XSend () from /usr/lib/libX11.so.6
#6  0x012e0949 in _XFlush () from /usr/lib/libX11.so.6
#7  0x004b5de8 in XRenderCreatePicture () from /usr/lib/libXrender.so.1
#8  0x04b0c3ad in QX11PixmapData::convertToARGB32 (this=0xa276380, preserveContents=false) at image/qpixmap_x11.cpp:2274
#9  0x04b0d6dc in QX11PixmapData::fill (this=0xa276380, fillColor=...) at image/qpixmap_x11.cpp:1200
#10 0x04af9fd3 in QPixmap::fill (this=0xa2c59d8, color=...) at image/qpixmap.cpp:991
#11 0x04c31196 in QX11PaintEngine::updateBrush (this=0xa27a0b0, brush=..., origin=...) at painting/qpaintengine_x11.cpp:1384
#12 0x04c31be8 in QX11PaintEngine::updateState (this=0xa27a0b0, state=...) at painting/qpaintengine_x11.cpp:1079
#13 0x04b6e2a4 in QPainterPrivate::updateStateImpl (this=0xa272d60, newState=0xa02cc50) at painting/qpainter.cpp:892
#14 0x04b6e36c in QPainterPrivate::updateState (this=0xa272d60, newState=0xa02cc50) at painting/qpainter.cpp:920
#15 0x04b7a4df in QPainter::drawRects (this=0xbf8f2e9c, rects=0xbf8f264c, rectCount=1) at painting/qpainter.cpp:3528
#16 0x04b7a8ca in QPainter::drawRect (this=0xbf8f2e9c, r=..., brush=...) at ../../include/QtGui/../../src/gui/painting/qpainter.h:622
#17 QPainter::fillRect (this=0xbf8f2e9c, r=..., brush=...) at painting/qpainter.cpp:6679
#18 0x075c55dc in OxygenStyle::drawTreePrimitive (this=0x9fb0128, primitive=3, opt=0xbf8f28ac, r=..., pal=..., flags=..., p=0xbf8f2e9c, widget=0xa01dfa8, kOpt=0x0)
    at ../../../kstyles/oxygen/oxygen.cpp:2746
#19 0x075bd862 in OxygenStyle::drawKStylePrimitive (this=0x9fb0128, widgetType=KStyle::WT_Tree, primitive=3, opt=0xbf8f28ac, r=..., palette=..., flags=..., p=0xbf8f2e9c, widget=0xa01dfa8, kOpt=0x0)
    at ../../../kstyles/oxygen/oxygen.cpp:753
#20 0x010e241b in KStyle::drawPrimitive (this=0x9fb0128, elem=QStyle::PE_IndicatorBranch, option=0xbf8f28ac, painter=0xbf8f2e9c, widget=0xa01dfa8) at ../../kdeui/kernel/kstyle.cpp:1071
#21 0x075bde87 in OxygenStyle::drawPrimitive (this=0x9fb0128, element=QStyle::PE_Q3CheckListExclusiveIndicator, option=0xbf8f28ac, p=0xbf8f2e9c, widget=0xa01dfa8)
    at ../../../kstyles/oxygen/oxygen.cpp:479
#22 0x04fe316b in QTreeView::drawBranches (this=0xa01dfa8, painter=0xbf8f2e9c, rect=..., index=...) at itemviews/qtreeview.cpp:1765
#23 0x04ff2a9e in QTreeView::drawRow (this=0xa01dfa8, painter=0xbf8f2e9c, option=..., index=...) at itemviews/qtreeview.cpp:1653
#24 0x04fec709 in QTreeView::drawTree (this=0xa01dfa8, painter=0xbf8f2e9c, region=...) at itemviews/qtreeview.cpp:1433
#25 0x04fec9bd in QTreeView::paintEvent (this=0xa01dfa8, event=0xbf8f3754) at itemviews/qtreeview.cpp:1266
#26 0x04a615d6 in QWidget::event (this=0xa01dfa8, event=0xbf8f3754) at kernel/qwidget.cpp:8144
#27 0x04e5d733 in QFrame::event (this=0xa01dfa8, e=0xbf8f3754) at widgets/qframe.cpp:557
#28 0x04ef79b2 in QAbstractScrollArea::viewportEvent (this=0x1, e=0xffffffff) at widgets/qabstractscrollarea.cpp:1036
#29 0x04fac327 in QAbstractItemView::viewportEvent (this=0xa01dfa8, event=0xbf8f3754) at itemviews/qabstractitemview.cpp:1610
#30 0x04feb9fc in QTreeView::viewportEvent (this=0xa01dfa8, event=0xbf8f3754) at itemviews/qtreeview.cpp:1248
#31 0x04efa2a5 in QAbstractScrollAreaPrivate::viewportEvent (this=0xa01f338, o=0xa01e410, e=0xbf8f3754) at widgets/qabstractscrollarea_p.h:100
#32 QAbstractScrollAreaFilter::eventFilter (this=0xa01f338, o=0xa01e410, e=0xbf8f3754) at widgets/qabstractscrollarea_p.h:116
#33 0x008e7e8a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9f04c68, receiver=0xa01e410, event=0xbf8f3754) at kernel/qcoreapplication.cpp:819
#34 0x04a033a9 in QApplicationPrivate::notify_helper (this=0x9f04c68, receiver=0xa01e410, e=0xbf8f3754) at kernel/qapplication.cpp:4296
#35 0x04a0a0b9 in QApplication::notify (this=0xbf8f5aa0, receiver=0xa01e410, e=0xbf8f3754) at kernel/qapplication.cpp:4265
#36 0x010c742a in KApplication::notify (this=0xbf8f5aa0, receiver=0xa01e410, event=0xbf8f3754) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x008e8beb in QCoreApplication::notifyInternal (this=0xbf8f5aa0, receiver=0xa01e410, event=0xbf8f3754) at kernel/qcoreapplication.cpp:704
#38 0x04a6a8e6 in QCoreApplication::sendSpontaneousEvent (this=0xa01e428, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#39 QWidgetPrivate::drawWidget (this=0xa01e428, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928) at kernel/qwidget.cpp:5339
#40 0x04a6b725 in QWidgetPrivate::paintSiblingsRecursive (this=0xa01dfc0, pdev=0xa1e8974, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5452
#41 0x04a6b55e in QWidgetPrivate::paintSiblingsRecursive (this=0xa01dfc0, pdev=0xa1e8974, siblings=..., index=5, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5439
#42 0x04a6a635 in QWidgetPrivate::drawWidget (this=0xa01dfc0, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928) at kernel/qwidget.cpp:5388
#43 0x04a6b725 in QWidgetPrivate::paintSiblingsRecursive (this=0xa01dcd0, pdev=0xa1e8974, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5452
#44 0x04a6b55e in QWidgetPrivate::paintSiblingsRecursive (this=0xa01dcd0, pdev=0xa1e8974, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5439
#45 0x04a6a635 in QWidgetPrivate::drawWidget (this=0xa01dcd0, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928) at kernel/qwidget.cpp:5388
#46 0x04a6b725 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1a69e8, pdev=0xa1e8974, siblings=..., index=6, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5452
#47 0x04a6a635 in QWidgetPrivate::drawWidget (this=0xa1a69e8, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928) at kernel/qwidget.cpp:5388
#48 0x04a6b725 in QWidgetPrivate::paintSiblingsRecursive (this=0xa057768, pdev=0xa1e8974, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5452
#49 0x04a6a635 in QWidgetPrivate::drawWidget (this=0xa057768, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928) at kernel/qwidget.cpp:5388
#50 0x04a6b725 in QWidgetPrivate::paintSiblingsRecursive (this=0xa057578, pdev=0xa1e8974, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5452
#51 0x04a6a635 in QWidgetPrivate::drawWidget (this=0xa057578, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928) at kernel/qwidget.cpp:5388
#52 0x04a6b725 in QWidgetPrivate::paintSiblingsRecursive (this=0xa0096e0, pdev=0xa1e8974, siblings=..., index=17, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5452
#53 0x04a6b55e in QWidgetPrivate::paintSiblingsRecursive (this=0xa0096e0, pdev=0xa1e8974, siblings=..., index=20, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa1e8928)
    at kernel/qwidget.cpp:5439
#54 0x04a6a635 in QWidgetPrivate::drawWidget (this=0xa0096e0, pdev=0xa1e8974, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa1e8928) at kernel/qwidget.cpp:5388
#55 0x04c40f00 in QWidgetBackingStore::sync (this=0xa1e8928) at painting/qbackingstore.cpp:1291
#56 0x04a5aa93 in QWidgetPrivate::syncBackingStore (this=0xa0096e0) at kernel/qwidget.cpp:1672
#57 0x04a61d96 in QWidget::event (this=0x9f46700, event=0xa2550d8) at kernel/qwidget.cpp:8291
#58 0x04e7c2d7 in QMainWindow::event (this=0x9f46700, event=0xa2550d8) at widgets/qmainwindow.cpp:1433
#59 0x011b94e4 in KMainWindow::event (this=0x9f46700, ev=0xa2550d8) at ../../kdeui/widgets/kmainwindow.cpp:1103
#60 0x0120147f in KXmlGuiWindow::event (this=0x9f46700, ev=0xa2550d8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#61 0x04a033cc in QApplicationPrivate::notify_helper (this=0x9f04c68, receiver=0x9f46700, e=0xa2550d8) at kernel/qapplication.cpp:4300
#62 0x04a0a0b9 in QApplication::notify (this=0xbf8f5aa0, receiver=0x9f46700, e=0xa2550d8) at kernel/qapplication.cpp:4265
#63 0x010c742a in KApplication::notify (this=0xbf8f5aa0, receiver=0x9f46700, event=0xa2550d8) at ../../kdeui/kernel/kapplication.cpp:302
#64 0x008e8beb in QCoreApplication::notifyInternal (this=0xbf8f5aa0, receiver=0x9f46700, event=0xa2550d8) at kernel/qcoreapplication.cpp:704
#65 0x008eb623 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9ef0750) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9ef0750) at kernel/qcoreapplication.cpp:1345
#67 0x008eb78d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#68 0x00914d0f in QCoreApplication::sendPostedEvents (s=0x9f06680) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#69 postEventSourceDispatch (s=0x9f06680) at kernel/qeventdispatcher_glib.cpp:276
#70 0x03ebbe88 in g_main_dispatch (context=0x9f07a48) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#71 IA__g_main_context_dispatch (context=0x9f07a48) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#72 0x03ebf730 in g_main_context_iterate (context=0x9f07a48, block=<value optimized out>, dispatch=1, self=0x9f04ee8) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#73 0x03ebf863 in IA__g_main_context_iteration (context=0x9f07a48, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#74 0x00914805 in QEventDispatcherGlib::processEvents (this=0x9ef0300, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#75 0x04ac2b35 in QGuiEventDispatcherGlib::processEvents (this=0x9ef0300, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x008e7209 in QEventLoop::processEvents (this=0xbf8f5a04, flags=) at kernel/qeventloop.cpp:149
#77 0x008e765a in QEventLoop::exec (this=0xbf8f5a04, flags=...) at kernel/qeventloop.cpp:201
#78 0x008eb84f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#79 0x04a03467 in QApplication::exec () at kernel/qapplication.cpp:3579
#80 0x0806becc in main (argc=3, argv=0xbf8f5c84) at ../../krdc/main.cpp:103

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

Possible duplicates by query: bug 227501, bug 220461.

Reported using DrKonqi
Comment 1 Urs Wolfer 2010-03-14 22:49:52 UTC

*** This bug has been marked as a duplicate of bug 218664 ***