Bug 255477 - Kdevelop crash on exit
Summary: Kdevelop crash on exit
Status: RESOLVED DUPLICATE of bug 251976
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 09:22 UTC by Alessandro Briosi
Modified: 2010-10-28 13:34 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 Alessandro Briosi 2010-10-28 09:22:16 UTC
Application: kdevelop (4.0.2 (using KDevPlatform 1.0.2))
KDE Platform Version: 4.5.2 (KDE 4.5.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
When I exit KDevelop it crashes all the time.
For the rest it's pretty stable.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5fff663760 (LWP 18958))]

Thread 10 (Thread 0x7f5fe823a710 (LWP 18969)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f5ffddcada2 in wait (this=<value optimized out>, mutex=0x21f64b0, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21f64b0, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ff94d6c6e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x21f6490) at ../../language/duchain/duchain.cpp:286
#4  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x21f6490) at thread/qthread_unix.cpp:266
#5  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f5fdddc0710 (LWP 18971)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ffddcae3b in wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ff40a4524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2aaca50, th=0x2acf090) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5ff40a772b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2abcce0, th=0x2acf090) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5ff40a5c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5fdddbfe00, parent=0x2aaca50, th=0x2acf090) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5ff40a61f8 in ThreadWeaver::Thread::run (this=0x2acf090) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x2acf090) at thread/qthread_unix.cpp:266
#8  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f5fdd5bf710 (LWP 18973)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ffddcae3b in wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ff40a4524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2aaca50, th=0x2c11d60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5ff40a772b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2abcce0, th=0x2c11d60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5ff40a7744 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2abcce0, th=0x2c11d60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f5ff40a5c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5fdd5bee00, parent=0x2aaca50, th=0x2c11d60) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f5ff40a61f8 in ThreadWeaver::Thread::run (this=0x2c11d60) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x2c11d60) at thread/qthread_unix.cpp:266
#9  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f5fd3b54710 (LWP 18979)):
#0  0x00007f5ffcabe1d3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5ff62cb009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f5ff62cb45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f5ffdeea1e6 in QEventDispatcherGlib::processEvents (this=0x2fedb50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f5ffdebca02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f5ffdebcdec in QEventLoop::exec (this=0x7f5fd3b53db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f5ffddc72fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f5ffde9c5f8 in QInotifyFileSystemWatcherEngine::run (this=0x2fed0a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x2fed0a0) at thread/qthread_unix.cpp:266
#9  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f5fce730710 (LWP 19008)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ffddcae3b in wait (this=<value optimized out>, mutex=0x214be50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x214be50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ff40a4524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x214c910, th=0x30e3bf0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5ff40a799c in ThreadWeaver::SuspendedState::applyForWork (this=0x214a7e0, th=0x30e3bf0, previous=0x0) at ../../../threadweaver/Weaver/SuspendedState.cpp:48
#5  0x00007f5ff40a5c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5fce72fe00, parent=0x214c910, th=0x30e3bf0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5ff40a61f8 in ThreadWeaver::Thread::run (this=0x30e3bf0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x30e3bf0) at thread/qthread_unix.cpp:266
#8  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5fcdf2f710 (LWP 19009)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ffddcae3b in wait (this=<value optimized out>, mutex=0x214be50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x214be50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ff40a4524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x214c910, th=0x3c694c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5ff40a799c in ThreadWeaver::SuspendedState::applyForWork (this=0x214a7e0, th=0x3c694c0, previous=0x0) at ../../../threadweaver/Weaver/SuspendedState.cpp:48
#5  0x00007f5ff40a5c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5fcdf2ee00, parent=0x214c910, th=0x3c694c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5ff40a61f8 in ThreadWeaver::Thread::run (this=0x3c694c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x3c694c0) at thread/qthread_unix.cpp:266
#8  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5fcd6be710 (LWP 19074)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ff5425334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5ff5730160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f5ff5425369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f5ff573e234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5fcc93f710 (LWP 19125)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ffddcae3b in wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ff40a4524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2aaca50, th=0x862bd30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5ff40a772b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2abcce0, th=0x862bd30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5ff40a7744 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2abcce0, th=0x862bd30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f5ff40a5c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5fcc93ee00, parent=0x2aaca50, th=0x862bd30) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f5ff40a61f8 in ThreadWeaver::Thread::run (this=0x862bd30) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x862bd30) at thread/qthread_unix.cpp:266
#9  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5fcc13e710 (LWP 19126)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5ffddcae3b in wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2ab19b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5ff40a4524 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2aaca50, th=0x80f8b70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5ff40a772b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2abcce0, th=0x80f8b70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5ff40a5c9f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5fcc13de00, parent=0x2aaca50, th=0x80f8b70) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5ff40a61f8 in ThreadWeaver::Thread::run (this=0x80f8b70) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5ffddca27e in QThreadPrivate::start (arg=0x80f8b70) at thread/qthread_unix.cpp:266
#8  0x00007f5ffc7ce971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007f5ffcaca91d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5fff663760 (LWP 18958)):
[KCrash Handler]
#6  ThreadWeaver::JobCollection::aboutToBeDequeued (this=0x3d87d90, weaver=0x214c910) at ../../../threadweaver/Weaver/JobCollection.cpp:190
#7  0x00007f5ff40a4a9f in ThreadWeaver::WeaverImpl::dequeue (this=0x214c910) at ../../../threadweaver/Weaver/WeaverImpl.cpp:267
#8  0x00007f5ff94a669d in KDevelop::BackgroundParserPrivate::~BackgroundParserPrivate() () from /usr/lib/libkdevplatformlanguage.so.1
#9  0x00007f5ff94a0fad in KDevelop::BackgroundParser::~BackgroundParser (this=0x214cfe0, __in_chrg=<value optimized out>) at ../../language/backgroundparser/backgroundparser.cpp:372
#10 0x00007f5ffdecfd5f in QObjectPrivate::deleteChildren (this=0x214d7a0) at kernel/qobject.cpp:1957
#11 0x00007f5ffded741b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#12 0x00007f5ffeb0fdda in ~ILanguageController (this=0x214ab60, __in_chrg=<value optimized out>) at ../../interfaces/ilanguagecontroller.h:38
#13 KDevelop::LanguageController::~LanguageController (this=0x214ab60, __in_chrg=<value optimized out>) at ../../shell/languagecontroller.cpp:125
#14 0x00007f5ffeaec7c3 in KDevelop::CorePrivate::~CorePrivate (this=0x1efc430, __in_chrg=<value optimized out>) at ../../shell/core.cpp:213
#15 0x00007f5ffeaecabf in KDevelop::Core::~Core (this=0x1e87180, __in_chrg=<value optimized out>) at ../../shell/core.cpp:264
#16 0x00007f5ffdecfc08 in QObject::event (this=0x1e87180, e=0x214c910) at kernel/qobject.cpp:1202
#17 0x00007f5ffd224fdc in QApplicationPrivate::notify_helper (this=0x1e30dc0, receiver=0x1e87180, e=0x2192b90) at kernel/qapplication.cpp:4396
#18 0x00007f5ffd22aaed in QApplication::notify (this=0x7fff5b640ca0, receiver=0x1e87180, e=0x2192b90) at kernel/qapplication.cpp:4277
#19 0x00007f5ffe4144d6 in KApplication::notify (this=0x7fff5b640ca0, receiver=0x1e87180, event=0x2192b90) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x00007f5ffdebdcdc in QCoreApplication::notifyInternal (this=0x7fff5b640ca0, receiver=0x1e87180, event=0x2192b90) at kernel/qcoreapplication.cpp:732
#21 0x00007f5ffdec0c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x15d4110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x15d4110) at kernel/qcoreapplication.cpp:1373
#23 0x00007f5ffdeea653 in sendPostedEvents (s=0x1e34920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x1e34920) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f5ff62c7342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f5ff62cb2a8 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f5ff62cb45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f5ffdeea193 in QEventDispatcherGlib::processEvents (this=0x15d38b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#29 0x00007f5ffd2d7a4e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f5ffdebca02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f5ffdebcdec in QEventLoop::exec (this=0x7fff5b640ad0, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f5ffdec0ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#33 0x00000000004085f7 in _start ()

Possible duplicates by query: bug 250576.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-10-28 13:34:43 UTC
duplicate, fixed for kde 4.5.3

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