Bug 248447

Summary: Crash on exit
Product: [Applications] kdevelop Reporter: David <daviddoria>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: echidnaman
Priority: NOR    
Version: unspecified   
Target Milestone: 4.1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David 2010-08-20 00:17:15 UTC
Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0))
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.3-37.fc13.i686.PAE i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
I tried to mark this as a duplicate of several other "crash on exit" bugs.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Aborted
[Current thread is 1 (Thread 0xb7813780 (LWP 11937))]

Thread 7 (Thread 0xb47f3b70 (LWP 11938)):
#0  0x00f38424 in __kernel_vsyscall ()
#1  0x004ded63 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:95
#2  0x004660d1 in _L_lock_9434 () at malloc.c:3503
#3  0x00463e94 in __libc_malloc (bytes=91) at malloc.c:3657
#4  0x00459b3f in __libc_message (do_abort=2, fmt=0x53f58c "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:137
#5  0x0045ffe1 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0xa6540729) at malloc.c:6283
#6  0x00463359 in _int_malloc (av=0xb3c00010, bytes=1044) at malloc.c:4396
#7  0x00463e9e in __libc_malloc (bytes=1044) at malloc.c:3660
#8  0x0015ccbe in qMalloc (size=1044) at global/qmalloc.cpp:55
#9  0x00163d47 in QByteArray::QByteArray (this=0xb47f2f68, size=1024, ch=0 '\000') at tools/qbytearray.cpp:1313
#10 0x0015a47a in qt_error_string (errorCode=22) at global/qglobal.cpp:2142
#11 0x00160aef in report_error (code=<value optimized out>, where=0x2b35eb "QMutex::lock", what=0x2b35c9 "mutex lock") at thread/qmutex_unix.cpp:61
#12 0x00160c81 in QMutexPrivate::wait (this=0xb3c04d50, timeout=-1) at thread/qmutex_unix.cpp:80
#13 0x0015d19a in QMutex::lock (this=0x5c05e18) at thread/qmutex.cpp:167
#14 0x05a9aed0 in relock (this=0x8ed1d48, retries=1, needLockRepository=true) at /usr/include/QtCore/qmutex.h:120
#15 QMutexLocker (this=0x8ed1d48, retries=1, needLockRepository=true) at /usr/include/QtCore/qmutex.h:102
#16 KDevelop::DUChainPrivate::doMoreCleanup (this=0x8ed1d48, retries=1, needLockRepository=true) at /usr/src/debug/kdevplatform-1.0.0/language/duchain/duchain.cpp:699
#17 0x05a9c6bb in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8edd110) at /usr/src/debug/kdevplatform-1.0.0/language/duchain/duchain.cpp:294
#18 0x0016174f in QThreadPrivate::start (arg=0x8edd110) at thread/qthread_unix.cpp:248
#19 0x005b1919 in start_thread (arg=0xb47f3b70) at pthread_create.c:301
#20 0x004cecbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 6 (Thread 0xb3bffb70 (LWP 11939)):
#0  0x00f38424 in __kernel_vsyscall ()
#1  0x005b522c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x001626af in wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00c75e60 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f7d9a0, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00c7883d in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8eb4558, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00c750ec in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f7d9a0, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00c7893a in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x8cef850, previous=0x0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00c78959 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x8cef850, previous=0x0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00c78959 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x8cef850, previous=0x0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0x00c78959 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#14 0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x8cef850, previous=0x91b3cc0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#15 0x00c76e36 in ThreadWeaver::ThreadRunHelper::run (this=0xb3bff274, parent=0x8f7d9a0, th=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#16 0x00c774dc in ThreadWeaver::Thread::run (this=0x8cef850) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#17 0x0016174f in QThreadPrivate::start (arg=0x8cef850) at thread/qthread_unix.cpp:248
#18 0x005b1919 in start_thread (arg=0xb3bffb70) at pthread_create.c:301
#19 0x004cecbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 5 (Thread 0xaa1ffb70 (LWP 12075)):
#0  0x00f38424 in __kernel_vsyscall ()
#1  0x005b522c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x001626af in wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00c75e60 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f7d9a0, th=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00c7883d in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8eb4558, th=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00c750ec in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f7d9a0, th=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00c7893a in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x9c75178, previous=0x0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00c78959 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x9c75178, previous=0x0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00c78959 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x9c75178, previous=0xa8a5c68) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#13 0x00c76e36 in ThreadWeaver::ThreadRunHelper::run (this=0xaa1ff274, parent=0x8f7d9a0, th=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#14 0x00c774dc in ThreadWeaver::Thread::run (this=0x9c75178) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#15 0x0016174f in QThreadPrivate::start (arg=0x9c75178) at thread/qthread_unix.cpp:248
#16 0x005b1919 in start_thread (arg=0xaa1ffb70) at pthread_create.c:301
#17 0x004cecbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 4 (Thread 0xa95feb70 (LWP 12076)):
#0  0x00f38424 in __kernel_vsyscall ()
#1  0x005b522c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x001626af in wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00c75e60 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f7d9a0, th=0x9cc6510) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00c7883d in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8eb4558, th=0x9cc6510) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00c750ec in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f7d9a0, th=0x9cc6510) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00c7893a in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x9cc6510) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x9cc6510, previous=0xa31ebe0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00c76e36 in ThreadWeaver::ThreadRunHelper::run (this=0xa95fe274, parent=0x8f7d9a0, th=0x9cc6510) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#10 0x00c774dc in ThreadWeaver::Thread::run (this=0x9cc6510) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#11 0x0016174f in QThreadPrivate::start (arg=0x9cc6510) at thread/qthread_unix.cpp:248
#12 0x005b1919 in start_thread (arg=0xa95feb70) at pthread_create.c:301
#13 0x004cecbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb2fffb70 (LWP 12126)):
#0  0x00f38424 in __kernel_vsyscall ()
#1  0x005b522c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x001626af in wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8f7d9b8, mutex=0x8f4e948, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00c75e60 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8f7d9a0, th=0x9726ad8) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0x00c7883d in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8eb4558, th=0x9726ad8) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0x00c750ec in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x8f7d9a0, th=0x9726ad8) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0x00c7893a in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x9726ad8) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x9726ad8, previous=0x0) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0x00c78959 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8eb4558, th=0x9726ad8) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00c760f4 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8f7d9a0, th=0x9726ad8, previous=0xa793908) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0x00c76e36 in ThreadWeaver::ThreadRunHelper::run (this=0xb2fff274, parent=0x8f7d9a0, th=0x9726ad8) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:87
#12 0x00c774dc in ThreadWeaver::Thread::run (this=0x9726ad8) at /usr/src/debug/kdelibs-4.4.5/threadweaver/Weaver/Thread.cpp:142
#13 0x0016174f in QThreadPrivate::start (arg=0x9726ad8) at thread/qthread_unix.cpp:248
#14 0x005b1919 in start_thread (arg=0xb2fffb70) at pthread_create.c:301
#15 0x004cecbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xa79feb70 (LWP 12207)):
#0  0x00f38424 in __kernel_vsyscall ()
#1  0x005b522c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x05fe9547 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x60bbd80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3  0x05fe9592 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x60bbd80) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0x005b1919 in start_thread (arg=0xa79feb70) at pthread_create.c:301
#5  0x004cecbe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7813780 (LWP 11937)):
[KCrash Handler]
#6  0x00f38424 in __kernel_vsyscall ()
#7  0x0041bd11 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0041d5ea in abort () at abort.c:92
#9  0x00459b9d in __libc_message (do_abort=2, fmt=0x53f58c "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#10 0x0045ffe1 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0xb3011f00) at malloc.c:6283
#11 0x0046276e in _int_free (av=0xb3000010, p=0xb3011f00, have_lock=0) at malloc.c:4964
#12 0x0015cb6e in qFree (ptr=0xb3011f90) at global/qmalloc.cpp:60
#13 0x001a95d1 in QString::free (d=0xb3011f90) at tools/qstring.cpp:1108
#14 0x03959489 in ~QString (this=0xb301a748, data=0xaf44df58) at /usr/include/QtCore/qstring.h:869
#15 node_destruct (this=0xb301a748, data=0xaf44df58) at /usr/include/QtCore/qlist.h:404
#16 QList<QString>::free (this=0xb301a748, data=0xaf44df58) at /usr/include/QtCore/qlist.h:646
#17 0x0395dfa8 in QList<QString>::~QList (this=0xb301a748, __in_chrg=<value optimized out>) at /usr/include/QtCore/qlist.h:621
#18 0x0397a103 in ~QStringList (this=0x39dd8e4, x=0xabff2fa8) at /usr/include/QtCore/qstringlist.h:67
#19 ~CacheEntry (this=0x39dd8e4, x=0xabff2fa8) at /usr/src/debug/kdevelop-4.0.0/languages/cpp/includepathresolver.h:98
#20 QMap<QString, CppTools::IncludePathResolver::CacheEntry>::freeData (this=0x39dd8e4, x=0xabff2fa8) at /usr/include/QtCore/qmap.h:626
#21 0x0397a1ae in QMap<QString, CppTools::IncludePathResolver::CacheEntry>::~QMap (this=0x39dd8e4, __in_chrg=<value optimized out>) at /usr/include/QtCore/qmap.h:167
#22 0x0041f42f in __run_exit_handlers (status=0) at exit.c:78
#23 exit (status=0) at exit.c:100
#24 0x00407cce in __libc_start_main (main=0x804b230 <main(int, char**)>, argc=1, ubp_av=0xbf9e1cd4, init=0x8051020 <__libc_csu_init>, fini=0x8051010 <__libc_csu_fini>, rtld_fini=0x3da220 <_dl_fini>, 
    stack_end=0xbf9e1ccc) at libc-start.c:258
#25 0x0804b151 in _start ()

This bug may be a duplicate of or related to bug 245488, bug 238155.

Possible duplicates by query: bug 245488, bug 243262, bug 242755, bug 242668, bug 242656.

Reported using DrKonqi
Comment 1 Jonathan Thomas 2010-08-20 04:18:48 UTC

*** This bug has been marked as a duplicate of bug 227116 ***