Bug 224479 - Crash while typing a function in a PHP-File
Summary: Crash while typing a function in a PHP-File
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 16:59 UTC by Markus
Modified: 2010-01-29 16:50 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 Markus 2010-01-27 16:59:29 UTC
Application that crashed: kdevelop
Version of the application: 3.9.97 (using KDevPlatform 0.9.97)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

 -- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f67c6dce750 (LWP 3498))]

Thread 12 (Thread 0x7f67b3410910 (LWP 3499)):
#0  0x00007f67c2108f51 in nanosleep () from /lib/libc.so.6
#1  0x00007f67c213dbb4 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007f67c04cf0a8 in KDevelop::DUChainLock::lockForWrite (this=0x3264e28, timeout=0) at /home/markus/kdesource/kdevplatform/language/duchain/duchainlock.cpp:198
#3  0x00007f67c04cf504 in KDevelop::DUChainWriteLocker::lock (this=0x7f67b340ffd0) at /home/markus/kdesource/kdevplatform/language/duchain/duchainlock.cpp:296
#4  0x00007f67c04cf451 in DUChainWriteLocker (this=0x7f67b340ffd0, duChainLock=0x3264e28, timeout=0) at /home/markus/kdesource/kdevplatform/language/duchain/duchainlock.cpp:281
#5  0x00007f67c0460507 in KDevelop::DUChainPrivate::doMoreCleanup (this=0x3264e10, retries=1, needLockRepository=true) at /home/markus/kdesource/kdevplatform/language/duchain/duchain.cpp:705
#6  0x00007f67c045dbb4 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x2f0ca50) at /home/markus/kdesource/kdevplatform/language/duchain/duchain.cpp:294
#7  0x00007f67c39e9445 in QThreadPrivate::start (arg=0x2f0ca50) at thread/qthread_unix.cpp:188
#8  0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f67a4d29910 (LWP 3505)):
[KCrash Handler]
#4  0x00007f67c04d3560 in KDevelop::IndexedIdentifier::operator!= (this=0x7f67ae7c68e1, rhs=...) at /home/markus/kdesource/kdevplatform/language/duchain/identifier.cpp:1106
#5  0x00007f67c04ba187 in KDevelop::Declaration::equalQualifiedIdentifier (this=0x7f67ac4a68f0, rhs=0x7f67ac1263b0) at /home/markus/kdesource/kdevplatform/language/duchain/declaration.cpp:713
#6  0x00007f67a2698bb5 in Php::CodeCompletionContext::isValidCompletionItem (this=0x7f67acabf820, dec=0x7f67ac4a68f0) at /home/markus/kdesource/kdevelop-plugins/php/completion/context.cpp:1576
#7  0x00007f67a2693986 in Php::CodeCompletionContext::completionItems (this=0x7f67acabf820, abort=@0x3ea0c80, fullCompletion=false)
    at /home/markus/kdesource/kdevelop-plugins/php/completion/context.cpp:1376
#8  0x00007f67c058c2ed in KDevelop::CodeCompletionWorker::computeCompletions (this=0x3ea0c60, context=..., position=..., view=0x9ee1410, contextRange=..., contextText=...)
    at /home/markus/kdesource/kdevplatform/language/codecompletion/codecompletionworker.cpp:159
#9  0x00007f67c058be92 in KDevelop::CodeCompletionWorker::computeCompletions (this=0x3ea0c60, context=..., position=..., view=0x9ee1410)
    at /home/markus/kdesource/kdevplatform/language/codecompletion/codecompletionworker.cpp:119
#10 0x00007f67c058c80b in KDevelop::CodeCompletionWorker::qt_metacall (this=0x3ea0c60, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xacd8ff0)
    at /home/markus/kdesource/build/kdevplatform/language/codecompletionworker.moc:78
#11 0x00007f67a268476b in Php::CodeCompletionWorker::qt_metacall (this=0x3ea0c60, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xacd8ff0)
    at /home/markus/kdesource/build/kdevelop-plugins/php/completion/worker.moc:60
#12 0x00007f67c3adf0f9 in QObject::event (this=0x3ea0c60, e=0xad05d90) at kernel/qobject.cpp:1111
#13 0x00007f67c2d1fefc in QApplicationPrivate::notify_helper (this=0x2e74b50, receiver=0x3ea0c60, e=0xad05d90) at kernel/qapplication.cpp:4056
#14 0x00007f67c2d271ce in QApplication::notify (this=0x7fff846a3890, receiver=0x3ea0c60, e=0xad05d90) at kernel/qapplication.cpp:4021
#15 0x00007f67c4256ab6 in KApplication::notify (this=0x7fff846a3890, receiver=0x3ea0c60, event=0xad05d90) at ../../kdeui/kernel/kapplication.cpp:302
#16 0x00007f67c3acfc2c in QCoreApplication::notifyInternal (this=0x7fff846a3890, receiver=0x3ea0c60, event=0xad05d90) at kernel/qcoreapplication.cpp:610
#17 0x00007f67c3ad080a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x3ca5900) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x3ca5900) at kernel/qcoreapplication.cpp:1247
#19 0x00007f67c3af8533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#20 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#21 0x00007f67bd20cbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#22 0x00007f67bd210598 in ?? () from /lib/libglib-2.0.so.0
#23 0x00007f67bd2106c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#24 0x00007f67c3af81a6 in QEventDispatcherGlib::processEvents (this=0x3ea0c40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#25 0x00007f67c3ace532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#26 0x00007f67c3ace904 in QEventLoop::exec (this=0x7f67a4d29010, flags=) at kernel/qeventloop.cpp:201
#27 0x00007f67c39e66cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#28 0x00007f67c059175f in KDevelop::CompletionWorkerThread::run (this=0x3c97810) at /home/markus/kdesource/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#29 0x00007f67c39e9445 in QThreadPrivate::start (arg=0x3c97810) at thread/qthread_unix.cpp:188
#30 0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#31 0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#32 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f67a4528910 (LWP 3529)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f67c39ea4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x31ab280, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x31ab280, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f67c51f5326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x31b17c0, th=0x4e49960) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f67c51f745b in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4e49960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4e49960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4e49960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4e49960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4e49960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4e49960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4e49960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f67c51f5a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f67a4528050, parent=0x31b17c0, th=0x4e49960) at ../../../threadweaver/Weaver/Thread.cpp:87
#12 0x00007f67c51f5eb8 in ThreadWeaver::Thread::run (this=0x4e49960) at ../../../threadweaver/Weaver/Thread.cpp:142
#13 0x00007f67c39e9445 in QThreadPrivate::start (arg=0x4e49960) at thread/qthread_unix.cpp:188
#14 0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#15 0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f67a03f1910 (LWP 3530)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f67c39ea4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x31ab280, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x31ab280, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f67c51f5326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x31b17c0, th=0x4f2fd60) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f67c51f745b in ThreadWeaver::WorkingHardState::applyForWork (this=0x31b0c00, th=0x4f2fd60) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f67c51f5a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f67a03f1050, parent=0x31b17c0, th=0x4f2fd60) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f67c51f5eb8 in ThreadWeaver::Thread::run (this=0x4f2fd60) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f67c39e9445 in QThreadPrivate::start (arg=0x4f2fd60) at thread/qthread_unix.cpp:188
#8  0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f679ba0a910 (LWP 3531)):
#0  0x00007f67be2e90bc in __pthread_mutex_lock (mutex=0x6fef4c8) at pthread_mutex_lock.c:62
#1  0x00007f67bd20b635 in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0x00007f67bd210251 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f67bd2106c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f67c3af81fe in QEventDispatcherGlib::processEvents (this=0x7096c50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007f67c3ace532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f67c3ace904 in QEventLoop::exec (this=0x7f679ba0a010, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f67c39e66cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f67c059175f in KDevelop::CompletionWorkerThread::run (this=0x6e33800) at /home/markus/kdesource/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#9  0x00007f67c39e9445 in QThreadPrivate::start (arg=0x6e33800) at thread/qthread_unix.cpp:188
#10 0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f679b209910 (LWP 3532)):
#0  0x00007f67bd2100c8 in ?? () from /lib/libglib-2.0.so.0
#1  0x00007f67bd2106c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f67c3af81fe in QEventDispatcherGlib::processEvents (this=0x6f3bfd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#3  0x00007f67c3ace532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f67c3ace904 in QEventLoop::exec (this=0x7f679b209010, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f67c39e66cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#6  0x00007f67c059175f in KDevelop::CompletionWorkerThread::run (this=0x3bd0320) at /home/markus/kdesource/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#7  0x00007f67c39e9445 in QThreadPrivate::start (arg=0x3bd0320) at thread/qthread_unix.cpp:188
#8  0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 6 (Thread 0x7f679aa08910 (LWP 3533)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f67c39e8ed5 in thread_sleep (ti=0x7f679aa08000) at thread/qthread_unix.cpp:297
#2  0x00007f67c39e9040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f679c23e72c in UIBlockTester::UIBlockTesterThread::run (this=0x71634f0) at /home/markus/kdesource/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#4  0x00007f67c39e9445 in QThreadPrivate::start (arg=0x71634f0) at thread/qthread_unix.cpp:188
#5  0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f679a191910 (LWP 3538)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f67c39ea4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f67c51f5326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x644d7d0, th=0x65f07a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f67c51f745b in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#10 0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#12 0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x65f07a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00007f67c51f5a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f679a191050, parent=0x644d7d0, th=0x65f07a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#14 0x00007f67c51f5eb8 in ThreadWeaver::Thread::run (this=0x65f07a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f67c39e9445 in QThreadPrivate::start (arg=0x65f07a0) at thread/qthread_unix.cpp:188
#16 0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f6799990910 (LWP 3539)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f67c39ea4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f67c51f5326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x644d7d0, th=0x4dac260) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f67c51f745b in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x4dac260) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x4dac260) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x4dac260) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x4dac260) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f67c51f5a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f6799990050, parent=0x644d7d0, th=0x4dac260) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f67c51f5eb8 in ThreadWeaver::Thread::run (this=0x4dac260) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f67c39e9445 in QThreadPrivate::start (arg=0x4dac260) at thread/qthread_unix.cpp:188
#11 0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f679918f910 (LWP 3540)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f67c39ea4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f67c51f5326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x644d7d0, th=0x708b000) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f67c51f745b in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x708b000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x708b000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f67c51f7474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x708b000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f67c51f5a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f679918f050, parent=0x644d7d0, th=0x708b000) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f67c51f5eb8 in ThreadWeaver::Thread::run (this=0x708b000) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f67c39e9445 in QThreadPrivate::start (arg=0x708b000) at thread/qthread_unix.cpp:188
#10 0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f679898e910 (LWP 3541)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f67c39ea4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x64c7210, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f67c51f5326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x644d7d0, th=0x7171300) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f67c51f745b in ThreadWeaver::WorkingHardState::applyForWork (this=0x658ff70, th=0x7171300) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f67c51f5a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f679898e050, parent=0x644d7d0, th=0x7171300) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f67c51f5eb8 in ThreadWeaver::Thread::run (this=0x7171300) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f67c39e9445 in QThreadPrivate::start (arg=0x7171300) at thread/qthread_unix.cpp:188
#8  0x00007f67be2e6a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f67c214480d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f67c6dce750 (LWP 3498)):
#0  0x00007f67c21383c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f67bb89c29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f67bb89dc2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007f67bedadf23 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007f67beda369d in XTranslateCoordinates () from /usr/lib/libX11.so.6
#5  0x00007f67c2da51eb in QWidget::mapToGlobal (this=0x2fe0050, pos=<value optimized out>) at kernel/qwidget_x11.cpp:1189
#6  0x00007f67c2da5142 in QWidget::mapToGlobal (this=0x5d3d4a0, pos=...) at kernel/qwidget_x11.cpp:1182
#7  0x00007f67c2da5142 in QWidget::mapToGlobal (this=0x8278ff0, pos=...) at kernel/qwidget_x11.cpp:1182
#8  0x00007f67c2da5142 in QWidget::mapToGlobal (this=0x4b3fe60, pos=...) at kernel/qwidget_x11.cpp:1182
#9  0x00007f67c2da5142 in QWidget::mapToGlobal (this=0x9e991f0, pos=...) at kernel/qwidget_x11.cpp:1182
#10 0x00007f67c2da5142 in QWidget::mapToGlobal (this=0x928aa80, pos=...) at kernel/qwidget_x11.cpp:1182
#11 0x00007f67c2da5142 in QWidget::mapToGlobal (this=0x93f5460, pos=...) at kernel/qwidget_x11.cpp:1182
#12 0x00007f67c2da5142 in QWidget::mapToGlobal (this=0x9ee1410, pos=...) at kernel/qwidget_x11.cpp:1182
#13 0x00007f67c2d9f44d in QDesktopWidget::screenNumber (this=<value optimized out>, widget=0x9ee1410) at kernel/qdesktopwidget_x11.cpp:337
#14 0x00007f67a0a2923e in QDesktopWidget::screenGeometry (this=0x846bc10) at /usr/include/qt4/QtGui/qdesktopwidget.h:75
#15 KateCompletionWidget::updateHeight (this=0x846bc10) at ../../kate/completion/katecompletionwidget.cpp:586
#16 0x00007f67a0a2cf18 in KateCompletionWidget::modelContentChanged (this=0x846bc10) at ../../kate/completion/katecompletionwidget.cpp:194
#17 0x00007f67a0a2da6c in KateCompletionWidget::startCompletion (this=0x846bc10, word=..., model=0x0, invocationType=<value optimized out>) at ../../kate/completion/katecompletionwidget.cpp:374
#18 0x00007f67a0a2f2c5 in KateCompletionWidget::startCompletion (this=0x846bc10, invocationType=KTextEditor::CodeCompletionModel::AutomaticInvocation)
    at ../../kate/completion/katecompletionwidget.cpp:255
#19 0x00007f67a0a2f508 in KateCompletionWidget::automaticInvocation (this=0x846bc10) at ../../kate/completion/katecompletionwidget.cpp:1219
#20 0x00007f67a0a2f63a in KateCompletionWidget::qt_metacall (this=0x846bc10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff846a2ec0) at ./katecompletionwidget.moc:107
#21 0x00007f67c3ae4ddc in QMetaObject::activate (sender=0x79fcd70, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3113
#22 0x00007f67c3aded83 in QObject::event (this=0x79fcd70, e=0x1) at kernel/qobject.cpp:1075
#23 0x00007f67c2d1fefc in QApplicationPrivate::notify_helper (this=0x2e74b50, receiver=0x79fcd70, e=0x7fff846a34c0) at kernel/qapplication.cpp:4056
#24 0x00007f67c2d271ce in QApplication::notify (this=0x7fff846a3890, receiver=0x79fcd70, e=0x7fff846a34c0) at kernel/qapplication.cpp:4021
#25 0x00007f67c4256ab6 in KApplication::notify (this=0x7fff846a3890, receiver=0x79fcd70, event=0x7fff846a34c0) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x00007f67c3acfc2c in QCoreApplication::notifyInternal (this=0x7fff846a3890, receiver=0x79fcd70, event=0x7fff846a34c0) at kernel/qcoreapplication.cpp:610
#27 0x00007f67c3afa862 in QCoreApplication::sendEvent (this=0x2e78800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 QTimerInfoList::activateTimers (this=0x2e78800) at kernel/qeventdispatcher_unix.cpp:572
#29 0x00007f67c3af825d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#30 0x00007f67bd20cbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f67bd210598 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f67bd2106c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f67c3af81a6 in QEventDispatcherGlib::processEvents (this=0x25d8870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#34 0x00007f67c2db44be in QGuiEventDispatcherGlib::processEvents (this=0x7fff846a1fb0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f67c3ace532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007f67c3ace904 in QEventLoop::exec (this=0x7fff846a3760, flags=) at kernel/qeventloop.cpp:201
#37 0x00007f67c3ad0ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x00000000004063de in main (argc=1, argv=0x7fff846a4aa8) at /home/markus/kdesource/kdevelop/app/main.cpp:209
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Milian Wolff 2010-01-27 19:35:39 UTC
You compiled without assertions, right? Somehow it couldn't find the exception Declaration for you. Can you reproduce it? According to the backtrace you didn#t typed a function, but something related to exception, i.e. one of:

<?php
try {} catch( // request completion here

or:

<?php
throw new // request completion here
Comment 2 Niko Sams 2010-01-29 08:00:18 UTC
SVN commit 1081706 by nsams:

Initialize with 0.
For static vars this don't needs to be done - add it anyway as it won't hurt.
If it was not initialized with 0 it could have caused the crash in bug 224479 - but in
theory this must not happen.
Mark the bug as fixed as that's the only possible fix I can think of for this backtrace.

Please reopen if it happens again.
BUG: 224479

 M  +2 -2      context.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1081706
Comment 3 Niko Sams 2010-01-29 16:50:20 UTC
SVN commit 1082052 by nsams:

Use a DUChainPointer to protect exceptionDecl.
This should now fix the crash for real.
BUG: 224479

 M  +5 -4      context.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1082052