Bug 236275 - krdc crashes when closing
Summary: krdc crashes when closing
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: VNC (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on: 185464
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-04 08:26 UTC by Danjel Jungersen
Modified: 2010-11-01 18:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danjel Jungersen 2010-05-04 08:26:07 UTC
Application: krdc (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Sometimes when closing krdc it crashes.
It doesnt happen when using the app, only when closing.
The problem has been there before, when running kubuntu 9.10, now running 10.4.

It happens mostly if i've had more than 1 connection open.

It almost never happen if I disconnect all connections before closing.

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7f51b5230710 (LWP 1657)):
#0  0xffffffffff60014c in ?? ()
#1  0x00007f51b522faa0 in ?? ()
#2  0x00007fff9ebff852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f51b4a2f710 (LWP 1663)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f51c44f1ea3 in QMutexPrivate::wait (this=0x10a1780, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f51c44ed9e5 in QMutex::lock (this=0xac4630) at thread/qmutex.cpp:167
#3  0x00007f51b7cfd265 in ?? () from /usr/lib/kde4/krdc_vncplugin.so
#4  0x00007f51c44f2775 in QThreadPrivate::start (arg=0xac45e0) at thread/qthread_unix.cpp:248
#5  0x00007f51c23579ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f51c3ec969d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f51c74c3760 (LWP 1656)):
[KCrash Handler]
#5  0x00007f51c3e5e726 in _int_malloc (av=0x7f51c4160e40, bytes=272) at malloc.c:4633
#6  0x00007f51c3e5f58e in *__GI___libc_malloc (bytes=272) at malloc.c:3660
#7  0x00007f51c502bef6 in QVector<QPointF>::malloc (this=0x7fff9eacd640, asize=0, aalloc=16) at ../../include/QtCore/../../src/corelib/tools/qvector.h:391
#8  QVector<QPointF>::realloc (this=0x7fff9eacd640, asize=0, aalloc=16) at ../../include/QtCore/../../src/corelib/tools/qvector.h:468
#9  0x00007f51c50c85a1 in QVector<QPointF>::reserve (this=<value optimized out>, matrix=...) at ../../include/QtCore/../../src/corelib/tools/qvector.h:327
#10 QPainterPath::toSubpathPolygons (this=<value optimized out>, matrix=...) at painting/qpainterpath.cpp:1494
#11 0x00007f51c50c8b0b in QPainterPath::toFillPolygons (this=0x7bfffc, matrix=...) at painting/qpainterpath.cpp:1558
#12 0x00007f51c50c94c2 in QPainterPath::toFillPolygons (this=0x7fff9eacd8f0, matrix=<value optimized out>) at painting/qpainterpath.cpp:1653
#13 0x00007f51c5160f8b in QX11PaintEnginePrivate::fillPath (this=0xbdbac0, path=..., gc_mode=<value optimized out>, transform=<value optimized out>) at painting/qpaintengine_x11.cpp:1742
#14 0x00007f51c5161c75 in QX11PaintEngine::drawPath (this=<value optimized out>, path=...) at painting/qpaintengine_x11.cpp:1767
#15 0x00007f51c50a196d in QPaintEngine::drawEllipse (this=0x106cff0, rect=...) at painting/qpaintengine.cpp:507
#16 0x00007f51c515df17 in QX11PaintEngine::drawEllipse (this=0x106cff0, rect=...) at painting/qpaintengine_x11.cpp:1446
#17 0x00007f51c50b8e7d in QPainter::drawEllipse (this=<value optimized out>, r=<value optimized out>) at painting/qpainter.cpp:4246
#18 0x00007f51bcde4a17 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#19 0x00007f51bcdea4e9 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#20 0x00007f51bcde6fc4 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#21 0x00007f51bcde8c72 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#22 0x00007f51bcde6fc4 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#23 0x00007f51c5c7c0b9 in KStyle::drawPrimitive (this=0xb01be0, elem=QStyle::PE_IndicatorDockWidgetResizeHandle, option=0x7fff9eacfc50, painter=<value optimized out>, widget=0xbb1d60)
    at ../../kdeui/kernel/kstyle.cpp:1149
#24 0x00007f51bcde7785 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#25 0x00007f51c534757e in paintSep (p=0x7fff9eacfdc0, w=0xbb1d60, r=..., o=Qt::Horizontal, mouse_over=false) at widgets/qdockarealayout.cpp:1581
#26 0x00007f51c534ab7a in QDockAreaLayout::paintSeparators (this=0xb9e9c8, p=<value optimized out>, widget=<value optimized out>, clip=..., mouse=<value optimized out>)
    at widgets/qdockarealayout.cpp:3103
#27 0x00007f51c5373f17 in QMainWindow::event (this=0xbb1d60, event=0x7fff9ead0410) at widgets/qmainwindow.cpp:1316
#28 0x00007f51c5d7d6f3 in KXmlGuiWindow::event (this=0x0, ev=0x7bfffc) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#29 0x00007f51c4f5b22c in QApplicationPrivate::notify_helper (this=0xa5b180, receiver=0xbb1d60, e=0x7fff9ead0410) at kernel/qapplication.cpp:4300
#30 0x00007f51c4f616fb in QApplication::notify (this=0x7fff9ead1620, receiver=0xbb1d60, e=0x7fff9ead0410) at kernel/qapplication.cpp:4183
#31 0x00007f51c5c66526 in KApplication::notify (this=0x7fff9ead1620, receiver=0xbb1d60, event=0x7fff9ead0410) at ../../kdeui/kernel/kapplication.cpp:302
#32 0x00007f51c45e706c in QCoreApplication::notifyInternal (this=0x7fff9ead1620, receiver=0xbb1d60, event=0x7fff9ead0410) at kernel/qcoreapplication.cpp:704
#33 0x00007f51c4fb97dd in QCoreApplication::sendSpontaneousEvent (this=0xbb1f40, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0xd798b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#34 QWidgetPrivate::drawWidget (this=0xbb1f40, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0xd798b0)
    at kernel/qwidget.cpp:5339
#35 0x00007f51c5173866 in QWidgetBackingStore::sync (this=0xd798b0) at painting/qbackingstore.cpp:1283
#36 0x00007f51c4faab60 in QWidgetPrivate::syncBackingStore (this=0xbb1f40) at kernel/qwidget.cpp:1672
#37 0x00007f51c4fb1865 in QWidget::event (this=0xbb1d60, event=0x101a5d0) at kernel/qwidget.cpp:8291
#38 0x00007f51c5373cab in QMainWindow::event (this=0xbb1d60, event=0x101a5d0) at widgets/qmainwindow.cpp:1433
#39 0x00007f51c5d7d6f3 in KXmlGuiWindow::event (this=0x0, ev=0x7bfffc) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#40 0x00007f51c4f5b22c in QApplicationPrivate::notify_helper (this=0xa5b180, receiver=0xbb1d60, e=0x101a5d0) at kernel/qapplication.cpp:4300
#41 0x00007f51c4f616fb in QApplication::notify (this=0x7fff9ead1620, receiver=0xbb1d60, e=0x101a5d0) at kernel/qapplication.cpp:4183
#42 0x00007f51c5c66526 in KApplication::notify (this=0x7fff9ead1620, receiver=0xbb1d60, event=0x101a5d0) at ../../kdeui/kernel/kapplication.cpp:302
#43 0x00007f51c45e706c in QCoreApplication::notifyInternal (this=0x7fff9ead1620, receiver=0xbb1d60, event=0x101a5d0) at kernel/qcoreapplication.cpp:704
#44 0x00007f51c45e97e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xa43c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xa43c30) at kernel/qcoreapplication.cpp:1345
#46 0x00007f51c46109d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#48 0x00007f51c02b18c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#49 0x00007f51c02b5748 in ?? () from /lib/libglib-2.0.so.0
#50 0x00007f51c02b58fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#51 0x00007f51c4610513 in QEventDispatcherGlib::processEvents (this=0xa43380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#52 0x00007f51c500b46e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f51c45e5992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#54 0x00007f51c45e5d6c in QEventLoop::exec (this=0x7fff9ead1560, flags=) at kernel/qeventloop.cpp:201
#55 0x00007f51c45e9aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#56 0x00000000004277cb in _start ()

Reported using DrKonqi
Comment 1 Urs Wolfer 2010-09-19 13:57:35 UTC
We have fixed some crashes in the VNC plugin recently. Can you still reproduce this issue with a recent version of KRDC (from KDE SC 4.5 or later)?
Comment 2 Urs Wolfer 2010-10-17 17:44:46 UTC
Closing as fixed since nobody can reproduce this crashes anymore with the fixes from KRDC 4.5.
Comment 3 Danjel Jungersen 2010-11-01 18:31:45 UTC
(In reply to comment #1)
> We have fixed some crashes in the VNC plugin recently. Can you still reproduce
> this issue with a recent version of KRDC (from KDE SC 4.5 or later)?

Upgraded my kubuntu and testet with 4.5.1.
Have not had any crashes since.
Sorry for my late reply, been way behind :-)