Bug 209932 - disconnect crashs krdc random
Summary: disconnect crashs krdc random
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: VNC (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-09 01:30 UTC by Pedro Sá (kunst uber alles)
Modified: 2010-10-17 17:59 UTC (History)
2 users (show)

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 Pedro Sá (kunst uber alles) 2009-10-09 01:30:21 UTC
Application that crashed: krdc
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-12-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
i was using krdc for a remote connection to a debian server, when i disconnect krdc crash, but before i alredy disconnect once and nothing happens, same client, same server.

 -- Backtrace:
Application: KRDC (krdc), signal: Segmentation fault
[Current thread is 0 (LWP 7381)]

Thread 2 (Thread 0x7f805548a950 (LWP 15828)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f806550653b in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f8065501dc5 in QMutex::lock () from /usr/lib/libQtCore.so.4
#3  0x00007f8059049f86 in ?? () from /usr/lib/kde4/krdc_vncplugin.so
#4  0x00007f8065506d35 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f806241f3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f8064a71fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8068b48750 (LWP 7381)):
[KCrash Handler]
#5  *__GI___libc_free (mem=0x3601879) at malloc.c:3599
#6  0x00007f80662a5662 in QPainterPath::~QPainterPath () from /usr/lib/libQtGui.so.4
#7  0x00007f806632dd75 in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007f8066294d36 in QPainter::drawLines () from /usr/lib/libQtGui.so.4
#9  0x00007f805e886b2d in ?? () from /usr/lib/kde4/plugins/styles/qtcurve.so
#10 0x00007f805e88f213 in ?? () from /usr/lib/kde4/plugins/styles/qtcurve.so
#11 0x00007f805e8a1e20 in ?? () from /usr/lib/kde4/plugins/styles/qtcurve.so
#12 0x00007f806652412c in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007f80665243cd in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007f8066550b0d in QMainWindow::event () from /usr/lib/libQtGui.so.4
#15 0x00007f806711dac8 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#16 0x00007f8066171f4d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#17 0x00007f806617a18a in QApplication::notify () from /usr/lib/libQtGui.so.4
#18 0x00007f8067010abb in KApplication::notify () from /usr/lib/libkdeui.so.5
#19 0x00007f80655f06ac in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#20 0x00007f80661ca125 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#21 0x00007f806634489e in ?? () from /usr/lib/libQtGui.so.4
#22 0x00007f80661bbe00 in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#23 0x00007f80661c2d6d in QWidget::event () from /usr/lib/libQtGui.so.4
#24 0x00007f806655089b in QMainWindow::event () from /usr/lib/libQtGui.so.4
#25 0x00007f806711dac8 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#26 0x00007f8066171f4d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#27 0x00007f806617a18a in QApplication::notify () from /usr/lib/libQtGui.so.4
#28 0x00007f8067010abb in KApplication::notify () from /usr/lib/libkdeui.so.5
#29 0x00007f80655f06ac in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#30 0x00007f80655f131a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#31 0x00007f8065619e03 in ?? () from /usr/lib/libQtCore.so.4
#32 0x00007f806126b20a in IA__g_main_context_dispatch (context=0x10afc80) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#33 0x00007f806126e8e0 in g_main_context_iterate (context=0x10afc80, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#34 0x00007f806126ea7c in IA__g_main_context_iteration (context=0x10afc80, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#35 0x00007f8065619a8f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#36 0x00007f806620abdf in ?? () from /usr/lib/libQtGui.so.4
#37 0x00007f80655eef42 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#38 0x00007f80655ef314 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#39 0x00007f80655f15e4 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#40 0x0000000000428f2f in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-09 03:19:00 UTC
The crash involves a lot of functions from the QtCurve style painting code, so it is probably an issue with it (or Qt painting code). If the crash is reproducible, could you please check using another widget style? (Plastique, Cleanlooks, Oxygen...). If it is not reproducible we should dismiss this as UPSTREAM.
Thanks
Comment 2 Pedro Sá (kunst uber alles) 2009-10-13 02:18:20 UTC
krdc crashed again, but in a random way. yesterday i repeat everything and didn't crash. Is not reproducible.
Comment 3 Urs Wolfer 2009-12-27 16:41:55 UTC
Please see:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Also, please see comment #1.

Without that information I am not able to fix things.
Comment 4 Tomasz Chmielewski 2010-04-09 17:43:12 UTC
Lots of similar or identical reports: #226304, #227501, #229295, #231773, #233780, #209932, #220262, perhaps others when you search for "krdc" and then "crash".

For me, it's very trivial to reproduce - connect a few sessions (VNC, RDP), close the tab, connect to the same IP where you just closed the tab... Do it for a while, krdc will crash pretty fast.
Comment 5 Urs Wolfer 2010-09-19 13:46:17 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 6 Urs Wolfer 2010-10-17 17:59:13 UTC
Closing as fixed since nobody can reproduce this crashes anymore with the fixes
from KRDC 4.5.