Summary: | Crash after terminating a session and mouse pointer invisible | ||
---|---|---|---|
Product: | [Applications] krdc | Reporter: | Juergen Diel <JuergenDiel> |
Component: | general | Assignee: | Urs Wolfer <uwolfer> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | gpothier, jfsaulais |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | 19/08/2008 |
Description
Juergen Diel
2008-06-16 10:21:22 UTC
Note: please open two separate reports for two different issues next time. Thanks. :) #1: You are controlling (i.e. running VNC server) also on a Suse machine? Can you please start KRDC from a Konsole and post the debug output here? #2: How can you reproduce this crash exactly? This backtrace is not really useful because KRDC (KDE) is not compiled with debug information. If you can reproduce this crash, please install debug packages and post the backtrace again. Thanks! Hi, I also experienced this bug, not the mouse-related one, but the crash when disconnecting from a remote server. I'm using krdc 4.1.00 on Fedora 9 (x86) with KDE 4.1.OO, gcc 4.3.0-8. I ran krdc from yakuake with the --nocrashhandler switch, is this outpt usefull for you ? QThread: Destroyed while thread is still running QMutex::lock: mutex lock failure: *** glibc detected *** krdc: malloc(): memory corruption: 0x08a78e21 *** ======= Backtrace: ========= /lib/libc.so.6[0x788596] /lib/libc.so.6(__libc_malloc+0x95)[0x789ce5] /usr/lib/libQtCore.so.4(_Z7qMallocj+0x1d)[0x414dabd] /usr/lib/libQtCore.so.4(_ZN11QVectorData6mallocEiiiPS_+0x2f)[0x41a395f] /usr/lib/libQtGui.so.4[0x478ebf7] /usr/lib/libQtGui.so.4[0x478ed77] /usr/lib/libQtGui.so.4(_ZN12QPainterPath17ensureData_helperEv+0x87)[0x47863d7] /usr/lib/libQtGui.so.4(_ZN12QPainterPath9addRegionERK7QRegion+0x110)[0x478a7d0] /usr/lib/libQtGui.so.4[0x4825440] /usr/lib/libQtGui.so.4[0x4776ddb] /usr/lib/libQtGui.so.4[0x4776eab] /usr/lib/libQtGui.so.4(_ZN8QPainter4saveEv+0x3e)[0x4777aee] /usr/lib/libQtGui.so.4[0x47781fa] /usr/lib/libQtGui.so.4(_ZN8QPainterC1EP12QPaintDevice+0x35)[0x477aab5] /usr/lib/libQtGui.so.4(_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainter+0x691)[0x46c5a31] /usr/lib/libQtGui.so.4[0x4832287] /usr/lib/libQtGui.so.4[0x4833097] /usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x5b6)[0x46c6cd6] /usr/lib/libQtGui.so.4(_ZN11QMainWindow5eventEP6QEvent+0x77)[0x4a195c7] /usr/lib/libkdeui.so.5(_ZN11KMainWindow5eventEP6QEvent+0x68)[0x50b8568] /usr/lib/libkdeui.so.5(_ZN13KXmlGuiWindow5eventEP6QEvent+0x2c)[0x50f999c] /usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xbc)[0x466f30c] /usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x18a)[0x467723a] /usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x3d)[0x4ff4ddd] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xb1)[0x4243731] /usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2b5)[0x42443a5] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2d)[0x42445bd] /usr/lib/libQtCore.so.4[0x426e25f] /lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8)[0x93b0d8] /lib/libglib-2.0.so.0[0x93e783] /lib/libglib-2.0.so.0(g_main_context_iteration+0x71)[0x93e941] /usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x58)[0x426dea8] /usr/lib/libQtGui.so.4[0x4707d95] /usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x4a)[0x4241e1a] /usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xea)[0x4241fda] /usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xb5)[0x4244685] /usr/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x27)[0x466f187] krdc[0x8079285] /lib/libc.so.6(__libc_start_main+0xe6)[0x72e5d6] krdc(_ZNK13KXMLGUIClient6actionERK11QDomElement+0xb5)[0x8057541] ======= Memory map: ======== 00101000-00109000 r-xp 00000000 08:06 501416 /usr/lib/libXi.so.6.0.0 00109000-0010a000 rw-p 00007000 08:06 501416 /usr/lib/libXi.so.6.0.0 00110000-00111000 r-xp 00110000 00:00 0 [vdso] 00111000-00113000 r-xp 00000000 08:06 508901 /usr/lib/gconv/UTF-16.so 00113000-00114000 r--p 00001000 08:06 508901 /usr/lib/gconv/UTF-16.so 00114000-00115000 rw-p 00002000 08:06 508901 /usr/lib/gconv/UTF-16.so 00115000-0011e000 r-xp 00000000 08:06 501709 /usr/lib/libXcursor.so.1.0.2 0011e000-0011f000 rw-p 00008000 08:06 501709 /usr/lib/libXcursor.so.1.0.2 00121000-00134000 r-xp 00000000 08:06 501719 /usr/lib/libXft.so.2.1.2 00134000-00135000 rw-p 00012000 08:06 501719 /usr/lib/libXft.so.2.1.2 00137000-00147000 r-xp 00000000 08:06 491693 /lib/libbz2.so.1.0.4 00147000-00148000 rw-p 00010000 08:06 491693 /lib/libbz2.so.1.0.4 00148000-0014e000 r-xp 00000000 08:06 501453 /usr/lib/libXrandr.so.2.1.0 0014e000-0014f000 rw-p 00005000 08:06 501453 /usr/lib/libXrandr.so.2.1.0 00150000-00299000 r-xp 00000000 08:06 501974 /usr/lib/libxml2.so.2.6.32 00299000-0029e000 rw-p 00149000 08:06 501974 /usr/lib/libxml2.so.2.6.32 0029e000-0029f000 rw-p 0029e000 00:00 0 002a1000-002e2000 r-xp 00000000 08:06 506365 /usr/lib/libQtXml.so.4.4.1 002e2000-002e5000 rw-p 00040000 08:06 506365 /usr/lib/libQtXml.so.4.4.1 002ed000-002ef000 r-xp 00000000 08:06 491695 /lib/libcom_err.so.2.1 002ef000-002f0000 rw-p 00001000 08:06 491695 /lib/libcom_err.so.2.1 002f2000-002f8000 r-xp 00000000 08:06 506375 /usr/lib/libfam.so.0.0.0 002f8000-002f9000 rw-p 00006000 08:06 506375 /usr/lib/libfam.so.0.0.0 002fd000-00301000 r-xp 00000000 08:06 491696 /lib/libattr.so.1.1.0 00301000-00302000 rw-p 00003000 08:06 491696 /lib/libattr.so.1.1.0 00304000-0030b000 r-xp 00000000 08:06 491697 /lib/libacl.so.1.1.0 0030b000-00Aborted If not I can also use the debug package, just tell me. Jean-François Saulais: Please generate a backtrace with debug binaries if possible. Created attachment 26934 [details]
19/08/2008
Comment on attachment 26934 [details]
19/08/2008
hello, here is a backtrace from krdc with kdenetwork-debuginfo 4.1.0-2.
Hello, I forgot to mention that the remote desktop is running Fedora 9 with KDE 4.1 (VNC connection). I reminded this because I had to login several times tonight to my desktop at work which is running Windows XP and I didn't experience the crash during logout. Hope this helps, JF I just committed a fix to trunk that should fix this issue. ----------- r854023 | gpothier | 2008-08-28 13:34:01 -0400 (Thu, 28 Aug 2008) | 20 lines Fix concurrency issues. In particular this should fix crashes when a connection is closed either from krdc or from the server side. Bug reporters, please check if you can still reproduce the crashes with this patch (this is for trunk, backporting to 4.1 in a few minutes). Details: 1- Disconnect signals from the client thread to the vncview when the latter is deleted. This Fixes a 100% repeatable crash that occurs when I close a vnc tab that is connected to an ubuntu machine running the vino vnc server (aka gnome desktop sharing) 2- Remove the buf global variable. I wasn't able to get a reproducible crash due only to this variable because of the above item, but getting rid of that variable is the sanest thing to do I think. Applied a 2nd fix; after these two fixes this issue should be fixed. SVN commit 854581 by uwolfer: * Fix crash which happened when painting while thread deleted framebuffer (for example when VNC server closed connection). * Replace some returns with asserts. * Set correct debug areas where possible. |