[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Crash during program clean-up
From:       David Jarvie <djarvie () kde ! org>
Date:       2008-04-27 21:02:07
Message-ID: 200804272202.14382.djarvie () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


I'm getting a crash during cleanup after quitting the application, which I 
can't manage to debug. Any ideas either on why it's crashing or on a strategy 
to find what's going wrong would be gratefully received.

I tried single stepping through the cleanup, but eventually it reached a point 
where it wouldn't let me single step any more - here's the gdb console 
interaction (where the blank gdb command lines are equivalent to 'fin' 
followed by 's'):

0xb61caef4 in exit () from /lib/i686/cmov/libc.so.6
Single stepping until exit from function exit,
which has no line number information.
__tcf_0 () at /usr/include/c++/4.2/iostream:77
77        static ios_base::Init __ioinit;
(gdb)
0xb61caef4 in exit () from /lib/i686/cmov/libc.so.6
Single stepping until exit from function exit,
which has no line number information.
0xb641a520 in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
(gdb)
0xb7fbae3d in ?? () from /lib/ld-linux.so.2
Cannot find bounds of current function
(gdb) s
Cannot find bounds of current function
(gdb) bt
#0  0xb7fbae3d in ?? () from /lib/ld-linux.so.2
#1  0xb7fc8260 in _rtld_global () from /lib/ld-linux.so.2
#2  0xb6cbec10 in ?? () from /usr/lib/libqt-mt.so.3
#3  0xbfb67838 in ?? ()
#4  0xb6860221 in ~QMetaObject (this=0x0) at kernel/qmetaobject.cpp:298
#5  0xb61caef4 in exit () from /lib/i686/cmov/libc.so.6
#6  0xb61b3458 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#7  0x08089ac1 in _start ()

The final debug trace is:

Program received signal SIGSEGV, Segmentation fault.
0xb6206c80 in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb6206c80 in ?? () from /lib/i686/cmov/libc.so.6
#1  0xbfb675a8 in ?? ()
#2  0xb7fc87c4 in ?? ()
#3  0x00000021 in ?? ()
#4  0xb62086fe in ?? () from /lib/i686/cmov/libc.so.6
#5  0xb6fb1000 in ?? ()
#6  0xb6dc9f13 in ?? () from /usr/lib/libkdecore.so.4
#7  0x03d66f09 in ?? ()
#8  0xb6208251 in ?? () from /lib/i686/cmov/libc.so.6
#9  0xb62e8148 in ?? () from /lib/i686/cmov/libc.so.6
#10 0xb620c360 in free () from /lib/i686/cmov/libc.so.6
#11 0xb620c360 in free () from /lib/i686/cmov/libc.so.6
#12 0xb7e13151 in operator delete () from /usr/lib/libstdc++.so.6
#13 0xb7e131ad in operator delete[] () from /usr/lib/libstdc++.so.6
#14 0xb6e561c5 in ~KZoneAllocator (this=0xb6fae800)
    at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kallocator.cpp:67
#15 0xb6e56230 in __tcf_39 () 
at /build/buildd/kdelibs-3.5.9.dfsg.1/./kdecore/kcompletion.cpp:884
#16 0xb61cb221 in __cxa_finalize () from /lib/i686/cmov/libc.so.6
#17 0xb6e29433 in __do_global_dtors_aux () from /usr/lib/libkdecore.so.4
#18 0xb6f8da4c in _fini () from /usr/lib/libkdecore.so.4
#19 0xb7fbafdf in ?? () from /lib/ld-linux.so.2
#20 0xb7fc8260 in _rtld_global () from /lib/ld-linux.so.2
#21 0x00000000 in ?? ()

I don't knowingly use KCompletion, and don't know where that has been used.

-- 
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/kalarm

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic