Bug 282141

Summary: Crash on typing code
Product: [Applications] kdevelop Reporter: Christian <christian>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version First Reported In: 4.2.2   
Target Milestone: 4.2.3   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian 2011-09-16 12:28:39 UTC
Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.38.8-desktop-4.mga x86_64
Distribution: "Mageia 1"

-- Information about the crash:
- What I was doing when the application crashed:

just typing code, didn't see if autocompletion was trying to show something.
don't know if it is related, but I just created a branch in git before editing this file.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5c33d4b720 (LWP 376))]

Thread 13 (Thread 0x7f5c1ba5c710 (LWP 384)):
#0  0x00007f5c30ca15a9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c32240812 in wait (this=<value optimized out>, mutex=0x349ddb0, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x349ddb0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5c2e66d73b in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib64/libkdevplatformlanguage.so.3
#4  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x349dd90) at thread/qthread_unix.cpp:320
#5  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f5c1a33c710 (LWP 389)):
#0  0x00007f5c30c9f160 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f5c2bb102a6 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x00007f5c2bb11199 in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007f5c2bb1183d in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f5c32355a06 in QEventDispatcherGlib::processEvents (this=0x7f5c0c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5c32329792 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5c323299dc in QEventLoop::exec (this=0x7f5c1a33be20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f5c3223d924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f5c3230aed8 in QInotifyFileSystemWatcherEngine::run (this=0x3d3ed60) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x3d3ed60) at thread/qthread_unix.cpp:320
#10 0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f5c18917710 (LWP 393)):
#0  0x00007f5c30f98440 in pthread_mutex_lock () from /lib64/libc.so.6
#1  0x00007f5c2bb102a6 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#2  0x00007f5c2bb11199 in ?? () from /lib64/libglib-2.0.so.0
#3  0x00007f5c2bb1183d in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f5c32355a06 in QEventDispatcherGlib::processEvents (this=0x7f5c080008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5c32329792 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5c323299dc in QEventLoop::exec (this=0x7f5c18916e20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f5c3223d924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f5c3230aed8 in QInotifyFileSystemWatcherEngine::run (this=0x3d30cd0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x3d30cd0) at thread/qthread_unix.cpp:320
#10 0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f5bf5a84710 (LWP 412)):
#0  0x00007f5c30f7f783 in poll () from /lib64/libc.so.6
#1  0x00007f5c2bb11304 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f5c2bb1183d in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f5c32355a06 in QEventDispatcherGlib::processEvents (this=0x7f5be80008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f5c32329792 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5c323299dc in QEventLoop::exec (this=0x7f5bf5a83e60, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f5c3223d924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x3fb8070) at thread/qthread_unix.cpp:320
#8  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f5bf6285710 (LWP 415)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c1c863474 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5c1cb7e180) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f5c1c8634a9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f5c1cb8c254) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f5bee57d710 (LWP 476)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c28c10254 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#3  0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f5becf3e710 (LWP 480)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c322408ab in wait (this=<value optimized out>, mutex=0x2412db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2412db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5c294672e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f5c29469973 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f5c2946998c in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f5c2946875f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f5c294687e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x4f1a640) at thread/qthread_unix.cpp:320
#9  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f5be7e21710 (LWP 519)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c322408ab in wait (this=<value optimized out>, mutex=0x2412db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2412db0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5c294672e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f5c29469973 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f5c2946875f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f5c294687e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x484dea0) at thread/qthread_unix.cpp:320
#8  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5c19118710 (LWP 21779)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c322408ab in wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5c294672e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f5c29469973 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f5c2946875f in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f5c294687e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x4db5070) at thread/qthread_unix.cpp:320
#8  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5c03fff710 (LWP 21780)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c322408ab in wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5c294672e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f5c29469973 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f5c2946998c in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f5c2946875f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f5c294687e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x4c468f0) at thread/qthread_unix.cpp:320
#9  0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5be7620710 (LWP 21900)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c322408ab in wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5c294672e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f5c29469973 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f5c2946998c in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f5c2946998c in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f5c2946875f in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f5c294687e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#9  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x4e46390) at thread/qthread_unix.cpp:320
#10 0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5be6e1f710 (LWP 21901)):
#0  0x00007f5c30ca123c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5c322408ab in wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x48bc7b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5c294672e4 in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x00007f5c29469973 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x00007f5c2946998c in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x00007f5c2946998c in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x00007f5c2946875f in ?? () from /usr/lib64/libthreadweaver.so.4
#8  0x00007f5c294687e8 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#9  0x00007f5c322401c5 in QThreadPrivate::start (arg=0x48fffd0) at thread/qthread_unix.cpp:320
#10 0x00007f5c30c9cd25 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f5c30f89fdd in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5c33d4b720 (LWP 376)):
[KCrash Handler]
#6  0x00007f5c312dbe5a in __dynamic_cast () from /usr/lib64/libstdc++.so.6
#7  0x00007f5beec83744 in Php::CodeCompletionContext::isValidCompletionItem(KDevelop::Declaration*) () from /usr/lib64/libkdev4phpcompletion.so
#8  0x00007f5beec7eef8 in Php::CodeCompletionContext::completionItems (this=0x3d201b0, abort=@0x3fd7ad0, fullCompletion=<value optimized out>)
    at /usr/src/debug/kdevelop-php-1.2.2/completion/context.cpp:1457
#9  0x00007f5c2e767d3c in KDevelop::CodeCompletionWorker::computeCompletions (this=0x3fd7ab0, context=<value optimized out>, position=<value optimized out>, view=<value optimized out>, 
    contextRange=<value optimized out>, contextText=...) at /usr/src/debug/kdevplatform-1.2.2/language/codecompletion/codecompletionworker.cpp:158
#10 0x00007f5c2e76771f in KDevelop::CodeCompletionWorker::computeCompletions (this=0x3fd7ab0, context=..., position=..., view=0x4e36bc0)
    at /usr/src/debug/kdevplatform-1.2.2/language/codecompletion/codecompletionworker.cpp:118
#11 0x00007f5c2e767af4 in KDevelop::CodeCompletionWorker::qt_metacall (this=0x3fd7ab0, _c=<value optimized out>, _id=<value optimized out>, _a=0x4d37a70)
    at /usr/src/debug/kdevplatform-1.2.2/build/language/codecompletionworker.moc:84
#12 0x00007f5c3233e8ba in QObject::event (this=0x3fd7ab0, e=<value optimized out>) at kernel/qobject.cpp:1217
#13 0x00007f5c316e18a4 in QApplicationPrivate::notify_helper (this=0x21fd720, receiver=0x3fd7ab0, e=0x4d37a20) at kernel/qapplication.cpp:4462
#14 0x00007f5c316e647a in QApplication::notify (this=<value optimized out>, receiver=0x3fd7ab0, e=0x4d37a20) at kernel/qapplication.cpp:4341
#15 0x00007f5c32b16e06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#16 0x0000000000404cb9 in KDevelopApplication::notify (this=0x7fff335c75d0, receiver=0x3fd7ab0, event=0x4d37a20) at /usr/src/debug/kdevelop-4.2.2/app/main.cpp:90
#17 0x00007f5c3232a3dc in QCoreApplication::notifyInternal (this=0x7fff335c75d0, receiver=0x3fd7ab0, event=0x4d37a20) at kernel/qcoreapplication.cpp:731
#18 0x00007f5c3232dbe5 in sendEvent (receiver=0x0, event_type=0, data=0x21d4230) at kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21d4230) at kernel/qcoreapplication.cpp:1372
#20 0x00007f5c32355813 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007f5c2bb10dc3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x00007f5c2bb115a0 in ?? () from /lib64/libglib-2.0.so.0
#24 0x00007f5c2bb1183d in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00007f5c323559af in QEventDispatcherGlib::processEvents (this=0x21d3a10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#26 0x00007f5c3178821e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f5c32329792 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f5c323299dc in QEventLoop::exec (this=0x7fff335c7290, flags=...) at kernel/qeventloop.cpp:201
#29 0x00007f5c3232de9b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#30 0x000000000040b50b in main (argc=<value optimized out>, argv=0x7fff335c9478) at /usr/src/debug/kdevelop-4.2.2/app/main.cpp:467

Possible duplicates by query: bug 267301, bug 251540, bug 250534, bug 230451, bug 224479.

Reported using DrKonqi
Comment 1 Nicolas L. 2011-09-19 00:48:33 UTC

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