Bug 234267 - KRDC crashes on disconnect from VNC 4.1.3 (Windows)
Summary: KRDC crashes on disconnect from VNC 4.1.3 (Windows)
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:
: 240761 (view as bug list)
Depends on: 185464
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-13 17:05 UTC by Sergiu Bivol
Modified: 2010-10-17 17:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.44 KB, text/plain)
2010-07-01 13:59 UTC, ancow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergiu Bivol 2010-04-13 17:05:20 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-20-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Connection works fine, but upon pressing Disconnect KRDC crashes.
Active options: Grab all keys and Scale screen...

The crash can be reproduced some of the time.

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

Thread 3 (Thread 0x7fc177495710 (LWP 2022)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fc177494aa0 in ?? ()
#2  0x00007fffa4772852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fc16ed62710 (LWP 2032)):
[KCrash Handler]
#5  0x00007fc179f8253c in FillRectangle (client=0x7fc1741ac010, x=714, y=<value optimized out>, w=<value optimized out>, h=16, colour=9835530) at rfbproto.c:140
#6  0x00007fc179f903cb in HandleHextile32 (client=0x7fc1741ac010) at hextile.c:67
#7  HandleRFBServerMessage (client=0x7fc1741ac010) at rfbproto.c:1357
#8  0x00007fc17a1a3235 in VncClientThread::run (this=0x2b2cec0) at ../../../krdc/vnc/vncclientthread.cpp:292
#9  0x00007fc183293775 in QThreadPrivate::start (arg=0x2b2cec0) at thread/qthread_unix.cpp:248
#10 0x00007fc1810f89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fc182c6a6dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc186267760 (LWP 2021)):
#0  0x00007fc182c5df93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc17d73929a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fc17d7397d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007fc17d739a85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007fc181c3a6fa in _XSend () from /usr/lib/libX11.so.6
#5  0x00007fc181c3ac45 in _XFlush () from /usr/lib/libX11.so.6
#6  0x00007fc181c2bd46 in _XSetClipRectangles () from /usr/lib/libX11.so.6
#7  0x00007fc181c2be23 in XSetClipRectangles () from /usr/lib/libX11.so.6
#8  0x00007fc183f002e7 in x11SetClipRegion (this=<value optimized out>, clipRegion=<value optimized out>, op=<value optimized out>) at painting/qpaintengine_x11.cpp:168
#9  QX11PaintEngine::updateClipRegion_dev (this=<value optimized out>, clipRegion=<value optimized out>, op=<value optimized out>) at painting/qpaintengine_x11.cpp:2078
#10 0x00007fc183f0492e in QX11PaintEngine::updateState (this=0x2cd17e0, state=...) at painting/qpaintengine_x11.cpp:1087
#11 0x00007fc183e4fdd3 in QPainterPrivate::updateStateImpl (this=0x27d2f80, newState=0x2b33790) at painting/qpainter.cpp:892
#12 0x00007fc183e4feb2 in QPainterPrivate::updateState (this=0x27d2f80, newState=0x2b33790) at painting/qpainter.cpp:920
#13 0x00007fc183e55429 in QPainter::setClipRegion (this=<value optimized out>, r=..., op=Qt::ReplaceClip) at painting/qpainter.cpp:2825
#14 0x00007fc183d59d58 in QWidgetPrivate::paintBackground (this=<value optimized out>, painter=0x7fffa4749010, rgn=..., flags=4) at kernel/qwidget.cpp:2197
#15 0x00007fc183d5ac64 in QWidgetPrivate::drawWidget (this=0x2cc6030, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x293eb40) at kernel/qwidget.cpp:5317
#16 0x00007fc183f148c5 in QWidgetBackingStore::sync (this=0x293eb40) at painting/qbackingstore.cpp:1291
#17 0x00007fc183d4bb60 in QWidgetPrivate::syncBackingStore (this=0x2cc6030) at kernel/qwidget.cpp:1672
#18 0x00007fc183d52865 in QWidget::event (this=0x2ca89b0, event=0x29bba30) at kernel/qwidget.cpp:8291
#19 0x00007fc183cfc22c in QApplicationPrivate::notify_helper (this=0x22ae2f0, receiver=0x2ca89b0, e=0x29bba30) at kernel/qapplication.cpp:4300
#20 0x00007fc183d026fb in QApplication::notify (this=0x7fffa4749fb0, receiver=0x2ca89b0, e=0x29bba30) at kernel/qapplication.cpp:4183
#21 0x00007fc184a07526 in KApplication::notify (this=0x7fffa4749fb0, receiver=0x2ca89b0, event=0x29bba30) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00007fc18338806c in QCoreApplication::notifyInternal (this=0x7fffa4749fb0, receiver=0x2ca89b0, event=0x29bba30) at kernel/qcoreapplication.cpp:704
#23 0x00007fc18338a7e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2296c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2296c30) at kernel/qcoreapplication.cpp:1345
#25 0x00007fc1833b19d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#27 0x00007fc17f0528c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007fc17f056748 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007fc17f0568fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007fc1833b1513 in QEventDispatcherGlib::processEvents (this=0x2296380, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#31 0x00007fc183dac46e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa4748440, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fc183386992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#33 0x00007fc183386d6c in QEventLoop::exec (this=0x7fffa4749ef0, flags=) at kernel/qeventloop.cpp:201
#34 0x00007fc18338aaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#35 0x00000000004277cb in main (argc=<value optimized out>, argv=<value optimized out>) at ../../krdc/main.cpp:103

Reported using DrKonqi
Comment 1 Urs Wolfer 2010-06-06 11:13:22 UTC
*** Bug 240761 has been marked as a duplicate of this bug. ***
Comment 2 ancow 2010-07-01 13:59:33 UTC
Created attachment 48506 [details]
New crash information added by DrKonqi

Same behaviour, local cursor and scale activated, high quality connection
Comment 3 Urs Wolfer 2010-09-19 13:55:16 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 4 Urs Wolfer 2010-10-17 17:43:32 UTC
Closing as fixed since nobody can reproduce this crashes anymore with the fixes from KRDC 4.5.