Bug 323617 - KDevelop crash on exit
Summary: KDevelop crash on exit
Status: RESOLVED DUPLICATE of bug 313681
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.5.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-17 00:12 UTC by Antonis Kanouras
Modified: 2013-08-19 06:05 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 Antonis Kanouras 2013-08-17 00:12:49 UTC
Application: kdevelop (4.5.1)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.10.0-031000-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
Relevant package versions:
ii  kdevelop                              4:4.5.1-0ubuntu5~ubuntu13.04~ppa2                  amd64        integrated development environment for KDE
ii  kdev-python                           1.5.1-0ubuntu1~ubuntu13.04~ppa2                    amd64        KDevelop Python Plugin
... from the Kubuntu Backports PPA.

- What I was doing when the application crashed:

I had a few Python & JS scripts, and Django HTML templates open, with the kdev-python plugin loaded as well.

I pressed Ctrl-Q to exit KDevelop, the window disappeared, and after ~10 seconds Dr. Konqi appeared.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f35a21eb7c0 (LWP 23385))]

Thread 9 (Thread 0x7f3582b75700 (LWP 23391)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f359ff47694 in _q_futex (timeout=0x0, val=2, op=0, addr=0x7f357c002920, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x7f357c002920, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f359ff439dd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f359be0bae5 in QMutexLocker (m=0x7f359c18e948 <KDevelop::DUChainPrivate::cleanupMutex()::mutex>, this=0x7f3582b74b80) at /usr/include/qt4/QtCore/qmutex.h:109
#5  KDevelop::DUChainPrivate::doMoreCleanup (this=0x3889000, retries=retries@entry=1, needLockRepository=needLockRepository@entry=true) at ../../language/duchain/duchain.cpp:695
#6  0x00007f359be0cb3d in KDevelop::DUChainPrivate::CleanupThread::run (this=0x3898dc0) at ../../language/duchain/duchain.cpp:291
#7  0x00007f359ff48bec in QThreadPrivate::start (arg=0x3898dc0) at thread/qthread_unix.cpp:338
#8  0x00007f359dd3cf8e in start_thread (arg=0x7f3582b75700) at pthread_create.c:311
#9  0x00007f359ec4ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 8 (Thread 0x7f356d338700 (LWP 23421)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f359b181b27 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f359b48f660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f359b181b59 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f359dd3cf8e in start_thread (arg=0x7f356d338700) at pthread_create.c:311
#4  0x00007f359ec4ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 7 (Thread 0x7f3567472700 (LWP 23444)):
#0  0x00007fffd00e3ac7 in ?? ()
#1  0x00007f3590b4d9a0 in ?? () from /usr/lib/nvidia-325/libGL.so.1
#2  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f34dbfff700 (LWP 23490)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3595bd1575 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3595bd15c9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f359dd3cf8e in start_thread (arg=0x7f34dbfff700) at pthread_create.c:311
#4  0x00007f359ec4ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f3564fce700 (LWP 23491)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f35959179f9 in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3595bffcde in WTF::wtfThreadEntryPoint(void*) () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f359dd3cf8e in start_thread (arg=0x7f3564fce700) at pthread_create.c:311
#4  0x00007f359ec4ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f34db7fe700 (LWP 23492)):
#0  0x00007f359ec423cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f35990101dc in g_main_context_poll (n_fds=1, fds=0x7f34880015d0, timeout=6260, context=0x7f34880009c0, priority=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7f34880009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3  0x00007f3599010304 in g_main_context_iteration (context=0x7f34880009c0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#4  0x00007f35a0074036 in QEventDispatcherGlib::processEvents (this=0x7f34880008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f35a004438f in QEventLoop::processEvents (this=this@entry=0x7f34db7fddc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f35a0044618 in QEventLoop::exec (this=this@entry=0x7f34db7fddc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f359ff46410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#8  0x00007f359ff48bec in QThreadPrivate::start (arg=0x560f3e0) at thread/qthread_unix.cpp:338
#9  0x00007f359dd3cf8e in start_thread (arg=0x7f34db7fe700) at pthread_create.c:311
#10 0x00007f359ec4ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f34da981700 (LWP 23802)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f359ff4914b in wait (time=18446744073709551615, this=0x293c6d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x293e188, mutex=0x293c7f0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f35968e40e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x293e160, th=0x90b5b20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f35968e69cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x293c850, th=0x90b5b20, previous=0x9d8ca80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f35968e571f in ThreadWeaver::Thread::run (this=0x90b5b20) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007f359ff48bec in QThreadPrivate::start (arg=0x90b5b20) at thread/qthread_unix.cpp:338
#7  0x00007f359dd3cf8e in start_thread (arg=0x7f34da981700) at pthread_create.c:311
#8  0x00007f359ec4ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f34d9bf1700 (LWP 23805)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f359ff4914b in wait (time=18446744073709551615, this=0x293c6d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x293e188, mutex=0x293c7f0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f35968e40e1 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x293e160, th=0x8d15280) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007f35968e69cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x293c850, th=0x8d15280, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007f35968e69e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x293c850, th=0x8d15280, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f35968e69e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x293c850, th=0x8d15280, previous=0x90c90a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#7  0x00007f35968e571f in ThreadWeaver::Thread::run (this=0x8d15280) at ../../../threadweaver/Weaver/Thread.cpp:98
#8  0x00007f359ff48bec in QThreadPrivate::start (arg=0x8d15280) at thread/qthread_unix.cpp:338
#9  0x00007f359dd3cf8e in start_thread (arg=0x7f34d9bf1700) at pthread_create.c:311
#10 0x00007f359ec4ee1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f35a21eb7c0 (LWP 23385)):
[KCrash Handler]
#6  KDevelop::TopDUContext::indexed (this=0x4144760) at ../../language/duchain/topducontext.cpp:657
#7  0x00007f359be28f92 in addImportedContextRecursion (temporary=false, depth=2, imported=0x4144760, traceNext=0x40dbf00, this=0x5e39d40) at ../../language/duchain/topducontext.cpp:384
#8  KDevelop::TopDUContextLocalPrivate::addImportedContextRecursively (this=this@entry=0x5e39d40, context=0x40dbf00, temporary=temporary@entry=false, local=local@entry=true) at ../../language/duchain/topducontext.cpp:252
#9  0x00007f359be29147 in KDevelop::TopDUContextLocalPrivate::rebuildDynamicImportStructure (this=0x5e39d40) at ../../language/duchain/topducontext.cpp:165
#10 0x00007f359be23729 in KDevelop::TopDUContext::rebuildDynamicImportStructure (this=this@entry=0x5f36ca0) at ../../language/duchain/topducontext.cpp:647
#11 0x00007f359be0d653 in KDevelop::DUChainPrivate::loadChain (this=0x3889000, index=index@entry=2854, loaded=...) at ../../language/duchain/duchain.cpp:591
#12 0x00007f359bdf68fb in KDevelop::DUChain::loadChain (this=this@entry=0x3899240, index=index@entry=2854) at ../../language/duchain/duchain.cpp:1296
#13 0x00007f359be21b15 in chainForIndex (index=2854, this=0x3899240) at ../../language/duchain/duchain.h:187
#14 KDevelop::IndexedDUContext::context (this=0x8add0f0) at ../../language/duchain/indexedducontext.cpp:63
#15 0x00007f359be15b45 in data (this=<optimized out>) at ../../language/duchain/indexedducontext.h:46
#16 KDevelop::DUContext::~DUContext (this=0x2695c40, __in_chrg=<optimized out>) at ../../language/duchain/ducontext.cpp:505
#17 0x00007f356ebd1fe3 in ?? () from /usr/lib/libkdev4pythonduchain.so
#18 0x00007f359be2370a in KDevelop::TopDUContext::deleteSelf (this=<optimized out>) at ../../language/duchain/topducontext.cpp:724
#19 0x00007f359be0b90c in KDevelop::DUChainPrivate::removeDocumentChainFromMemory (this=0x3889000, context=0x2695c40) at ../../language/duchain/duchain.cpp:410
#20 0x00007f359bdf4e41 in KDevelop::DUChain::removeDocumentChain (this=<optimized out>, context=0x2695c40) at ../../language/duchain/duchain.cpp:1195
#21 0x00007f359be0ccb0 in KDevelop::DUChainPrivate::cleanupTopContexts (this=0x3889000) at ../../language/duchain/duchain.cpp:983
#22 0x00007f359bdf58ff in KDevelop::DUChain::aboutToQuit (this=0x3899240) at ../../language/duchain/duchain.cpp:1602
#23 0x00007f359bdf6ae3 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./duchain.moc:146
#24 KDevelop::DUChain::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fffd0052210) at ./duchain.moc:133
#25 0x00007f35a005a0ef in QMetaObject::activate (sender=0x7fffd00526a0, m=m@entry=0x7f35a03a07a0 <QCoreApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#26 0x00007f35a00a5960 in QCoreApplication::aboutToQuit (this=<optimized out>) at .moc/release-shared/moc_qcoreapplication.cpp:145
#27 0x00007f35a0049d4d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1223
#28 0x00007f359f3e9ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#29 0x000000000040dcbf in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:522

Possible duplicates by query: bug 317011, bug 313681.

Reported using DrKonqi
Comment 1 Kevin Funk 2013-08-19 06:05:05 UTC
*** This bug has been marked as a duplicate of bug 313681 ***