Bug 242822 - krdc crash on exit
Summary: krdc crash on exit
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: VNC (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on: 185464
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-25 22:09 UTC by Dima Ryazanov
Modified: 2010-10-17 17:45 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 Dima Ryazanov 2010-06-25 22:09:42 UTC
Application: krdc (4.4.2 (KDE 4.4.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I was trying to close krdc shortly after starting a VNC session, and it crashed.

 -- Backtrace:
Application: KRDC (krdc), signal: Segmentation fault
__lll_lock_wait_private ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
[Current thread is 1 (Thread 0x7f6bcea65760 (LWP 21021))]

Thread 3 (Thread 0x7f6bc0d43710 (LWP 21039)):
#0  0x00007f6bcb470f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6bc78694a9 in g_main_context_poll (context=0x2330e60, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x2330e60, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2586
#3  0x00007f6bc78698fc in IA__g_main_context_iteration (context=0x2330e60, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#4  0x00007f6bcbbbb566 in QEventDispatcherGlib::processEvents (this=0x232bd90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f6bcbb90992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f6bcbb90d6c in QEventLoop::exec (this=0x7f6bc0d42db0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f6bcba9ad59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f6bcbb71178 in QInotifyFileSystemWatcherEngine::run (this=0x232b370) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f6bcba9d775 in QThreadPrivate::start (arg=0x232b370) at thread/qthread_unix.cpp:248
#10 0x00007f6bc990b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f6bcb47d6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6bbaeba710 (LWP 21040)):
[KCrash Handler]
#5  _int_malloc (av=0x7f6bbc000020, bytes=92) at malloc.c:4302
#6  0x00007f6bcb41358e in *__GI___libc_malloc (bytes=92) at malloc.c:3660
#7  0x00007f6bcbaa118b in QByteArray (this=0x7f6bbaeb9670, str=<value optimized out>) at tools/qbytearray.cpp:1262
#8  0x00007f6bcbf9697a in KDebugPrivate::printHeader (this=<value optimized out>, s=) at ../../kdecore/io/kdebug.cpp:541
#9  0x00007f6bcbf97688 in KDebugPrivate::stream (this=0x1f23270, type=QtDebugMsg, area=<value optimized out>, debugFile=<value optimized out>, line=<value optimized out>, 
    funcinfo=0x7f6bc22d37e0 "static void VncClientThread::outputHandler(const char*, ...)") at ../../kdecore/io/kdebug.cpp:631
#10 0x00007f6bcbf941d3 in kDebugStream (level=QtDebugMsg, area=5011, file=0x7f6bc22d3430 "../../../krdc/vnc/vncclientthread.cpp", line=<value optimized out>, 
    funcinfo=0x7f6bc22d37e0 "static void VncClientThread::outputHandler(const char*, ...)") at ../../kdecore/io/kdebug.cpp:707
#11 0x00007f6bc22cd23f in ?? () from /usr/lib/kde4/krdc_vncplugin.so
#12 0x00007f6bc22cee54 in ?? () from /usr/lib/kde4/krdc_vncplugin.so
#13 0x00007f6bc20b4d47 in InitialiseRFBConnection () from /usr/lib/libvncclient.so.0
#14 0x00007f6bc20bda0e in rfbInitClient () from /usr/lib/libvncclient.so.0
#15 0x00007f6bc22ce168 in ?? () from /usr/lib/kde4/krdc_vncplugin.so
#16 0x00007f6bcba9d775 in QThreadPrivate::start (arg=0x23bf0b0) at thread/qthread_unix.cpp:248
#17 0x00007f6bc990b9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#18 0x00007f6bcb47d6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6bcea65760 (LWP 21021)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f6bcb4163ac in _L_lock_12430 () from /lib/libc.so.6
#2  0x00007f6bcb414e48 in *__GI___libc_free (mem=0x7f6bbc000020) at malloc.c:3736
#3  0x00007f6bcbba7926 in ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:928
#4  0x00007f6bcbf92587 in ~KNoDebugStream () at ../../kdecore/io/kdebug.cpp:106
#5  ~KLineEndStrippingDebugStream () at ../../kdecore/io/kdebug.cpp:174
#6  ~KDebugPrivate () at ../../kdecore/io/kdebug.cpp:245
#7  destroy () at ../../kdecore/io/kdebug.cpp:662
#8  0x00007f6bcb3d0262 in __run_exit_handlers (status=0) at exit.c:78
#9  *__GI_exit (status=0) at exit.c:100
#10 0x00007f6bcb3b5c54 in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffccb20a48) at libc-start.c:258
#11 0x0000000000413949 in _start ()

Reported using DrKonqi
Comment 1 Urs Wolfer 2010-06-29 18:07:42 UTC
Can you reproduce this crash? Probably you could also try KDE SC 4.5, it might be fixed there.
Comment 2 Urs Wolfer 2010-10-17 17:45:18 UTC
Closing as fixed since nobody can reproduce this crashes anymore with the fixes from KRDC 4.5.