Bug 203586 - KDevelop crash while switching tabs
Summary: KDevelop crash while switching tabs
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 17:48 UTC by Andrei Benea
Modified: 2009-08-12 19:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Benea 2009-08-12 17:48:21 UTC
Application that crashed: kdevelop
Version of the application: 3.9.94 (using KDevPlatform 0.9.94)
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-1-686 i686
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
I pressed Ctrl+Tab just before the crash.

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

Thread 7 (Thread 0xb07a9b90 (LWP 4420)):
#0  0xb7f70424 in __kernel_vsyscall ()
#1  0xb5545292 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb615a7e4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb6d6f4dc in QWaitConditionPrivate::wait (this=0xa389254, mutex=0xa389258, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0xa389254, mutex=0xa389258, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0xb5bebf25 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa389248) at /home/andrei/dev/kdevplatform/language/duchain/duchain.cpp:280
#6  0xb6d6e522 in QThreadPrivate::start (arg=0xa389248) at thread/qthread_unix.cpp:188
#7  0xb55414b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb614ba4e in clone () from /lib/i686/cmov/libc.so.6

Thread 6 (Thread 0xad15fb90 (LWP 4535)):
#0  0xb553f230 in __i686.get_pc_thunk.bx () from /lib/i686/cmov/libpthread.so.0
#1  0xb5543edc in __pthread_mutex_unlock_usercnt () from /lib/i686/cmov/libpthread.so.0
#2  0xb615a996 in pthread_mutex_unlock () from /lib/i686/cmov/libc.so.6
#3  0xb547f4c1 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb547fa48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6e8a817 in QEventDispatcherGlib::processEvents (this=0xa6ab3c8, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0xb6e5dfba in QEventLoop::processEvents (this=0xad15f300, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6e5e402 in QEventLoop::exec (this=0xad15f300, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6d6b289 in QThread::exec (this=0xa6ab110) at thread/qthread.cpp:487
#9  0xb5cede50 in KDevelop::CompletionWorkerThread::run (this=0xa6ab110) at /home/andrei/dev/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#10 0xb6d6e522 in QThreadPrivate::start (arg=0xa6ab110) at thread/qthread_unix.cpp:188
#11 0xb55414b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#12 0xb614ba4e in clone () from /lib/i686/cmov/libc.so.6

Thread 5 (Thread 0xac7ffb90 (LWP 4536)):
#0  0xb7f70424 in __kernel_vsyscall ()
#1  0xb6141457 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb548cb3b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb547f795 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb547fa48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6e8a817 in QEventDispatcherGlib::processEvents (this=0xa6ab988, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0xb6e5dfba in QEventLoop::processEvents (this=0xac7ff300, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6e5e402 in QEventLoop::exec (this=0xac7ff300, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6d6b289 in QThread::exec (this=0xa6ab708) at thread/qthread.cpp:487
#9  0xb5cede50 in KDevelop::CompletionWorkerThread::run (this=0xa6ab708) at /home/andrei/dev/kdevplatform/language/codecompletion/codecompletionmodel.cpp:79
#10 0xb6d6e522 in QThreadPrivate::start (arg=0xa6ab708) at thread/qthread_unix.cpp:188
#11 0xb55414b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#12 0xb614ba4e in clone () from /lib/i686/cmov/libc.so.6

Thread 4 (Thread 0xad960b90 (LWP 4539)):
#0  0xb7f70424 in __kernel_vsyscall ()
#1  0xb5545292 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb615a7e4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb6d6df2e in thread_sleep (ti=0xad9602f0) at thread/qthread_unix.cpp:297
#4  0xb6d6e05b in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#5  0xaaf6ae26 in UIBlockTester::UIBlockTesterThread::run (this=0xa9d23d0) at /home/andrei/dev/kdevelop/languages/cpp/cpplanguagesupport.cpp:671
#6  0xb6d6e522 in QThreadPrivate::start (arg=0xa9d23d0) at thread/qthread_unix.cpp:188
#7  0xb55414b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb614ba4e in clone () from /lib/i686/cmov/libc.so.6

Thread 3 (Thread 0xa8347b90 (LWP 4575)):
#0  0xb7f70424 in __kernel_vsyscall ()
#1  0xb5544f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb615a78d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6d6f502 in QWaitConditionPrivate::wait (this=0xa324650, mutex=0xa271e80, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa324650, mutex=0xa271e80, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb78da648 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa324638, th=0xaecae08) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb78dd3ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa3248b8, th=0xaecae08) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb78d923b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa324638, th=0xaecae08) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb78dd4a2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa3248b8, th=0xaecae08) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb78dabd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa324638, th=0xaecae08, previous=0xbf2ad80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb78db4be in ThreadWeaver::ThreadRunHelper::run (this=0xa8347330, parent=0xa324638, th=0xaecae08) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb78dbafb in ThreadWeaver::Thread::run (this=0xaecae08) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6d6e522 in QThreadPrivate::start (arg=0xaecae08) at thread/qthread_unix.cpp:188
#13 0xb55414b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#14 0xb614ba4e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa7b46b90 (LWP 4576)):
#0  0xb7f70424 in __kernel_vsyscall ()
#1  0xb5544f65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb615a78d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6d6f502 in QWaitConditionPrivate::wait (this=0xa324650, mutex=0xa271e80, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa324650, mutex=0xa271e80, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb78da648 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa324638, th=0xa6495e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb78dd3ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa3248b8, th=0xa6495e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb78d923b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa324638, th=0xa6495e8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb78dd4a2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa3248b8, th=0xa6495e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb78dabd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa324638, th=0xa6495e8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb78dd4c1 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa3248b8, th=0xa6495e8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb78dabd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa324638, th=0xa6495e8, previous=0xa22a318) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb78db4be in ThreadWeaver::ThreadRunHelper::run (this=0xa7b46330, parent=0xa324638, th=0xa6495e8) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb78dbafb in ThreadWeaver::Thread::run (this=0xa6495e8) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb6d6e522 in QThreadPrivate::start (arg=0xa6495e8) at thread/qthread_unix.cpp:188
#15 0xb55414b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#16 0xb614ba4e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb508a710 (LWP 4419)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xbfff6600, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#7  QIcon (this=0xbfff6600, other=...) at image/qicon.cpp:578
#8  0xb5b2581f in Sublime::Document::statusIcon (this=0xb733aea8) at /home/andrei/dev/kdevplatform/sublime/document.cpp:115
#9  0xaeadcefd in DocumentSwitcherPlugin::fillModel (this=0xafe1d438, window=0xa1d9a58) at /home/andrei/dev/kdevplatform/plugins/documentswitcher/documentswitcherplugin.cpp:121
#10 0xaeae001f in DocumentSwitcherPlugin::walkForward (this=0xafe1d438) at /home/andrei/dev/kdevplatform/plugins/documentswitcher/documentswitcherplugin.cpp:93
#11 0xaeae205b in DocumentSwitcherPlugin::qt_metacall (this=0xafe1d438, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfff68ac)
    at /home/andrei/dev/kdevplatform/build/plugins/documentswitcher/documentswitcherplugin.moc:91
#12 0xb6e74ad3 in QMetaObject::activate (sender=0xafe2bea0, from_signal_index=5, to_signal_index=6, argv=0xbfff68ac) at kernel/qobject.cpp:3112
#13 0xb6e74f00 in QMetaObject::activate (sender=0xafe2bea0, m=0xb6ca46c8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfff68ac) at kernel/qobject.cpp:3206
#14 0xb64462d1 in QAction::triggered (this=0xafe2bea0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#15 0xb644781f in QAction::activate (this=0xafe2bea0, event=QAction::Trigger) at kernel/qaction.cpp:1160
#16 0xb644a253 in QAction::event (this=0xafe2bea0, e=0xbfff6cd4) at kernel/qaction.cpp:1079
#17 0xb70b4a69 in KAction::event (this=0xafe2bea0, event=0xbfff6cd4) at ../../kdeui/actions/kaction.cpp:88
#18 0xb644c7d4 in QApplicationPrivate::notify_helper (this=0xa0c5ac0, receiver=0xafe2bea0, e=0xbfff6cd4) at kernel/qapplication.cpp:4056
#19 0xb645493e in QApplication::notify (this=0xbfff8b84, receiver=0xafe2bea0, e=0xbfff6cd4) at kernel/qapplication.cpp:3603
#20 0xb719900d in KApplication::notify (this=0xbfff8b84, receiver=0xafe2bea0, event=0xbfff6cd4) at ../../kdeui/kernel/kapplication.cpp:302
#21 0xb6e5f96b in QCoreApplication::notifyInternal (this=0xbfff8b84, receiver=0xafe2bea0, event=0xbfff6cd4) at kernel/qcoreapplication.cpp:610
#22 0xb6485488 in QCoreApplication::sendEvent (this=0xa0c5b60, e=0xbfff705c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 QShortcutMap::dispatchEvent (this=0xa0c5b60, e=0xbfff705c) at kernel/qshortcutmap.cpp:884
#24 0xb648731f in QShortcutMap::tryShortcutEvent (this=0xa0c5b60, o=0xc5692b8, e=0xbfff705c) at kernel/qshortcutmap.cpp:369
#25 0xb6455bc0 in QApplication::notify (this=0xbfff8b84, receiver=0xc5692b8, e=0xbfff705c) at kernel/qapplication.cpp:3645
#26 0xb719900d in KApplication::notify (this=0xbfff8b84, receiver=0xc5692b8, event=0xbfff705c) at ../../kdeui/kernel/kapplication.cpp:302
#27 0xb6e5f96b in QCoreApplication::notifyInternal (this=0xbfff8b84, receiver=0xc5692b8, event=0xbfff705c) at kernel/qcoreapplication.cpp:610
#28 0xb644d65e in QCoreApplication::sendSpontaneousEvent (receiver=0xc5692b8, event=0xf45d8914) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#29 qt_sendSpontaneousEvent (receiver=0xc5692b8, event=0xf45d8914) at kernel/qapplication.cpp:4958
#30 0xb64e8df0 in QKeyMapper::sendKeyEvent (keyWidget=0xc5692b8, grab=false, type=QEvent::KeyPress, code=16777217, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=23, nativeVirtualKey=65289, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1675
#31 0xb64eaec4 in QKeyMapperPrivate::translateKeyEvent (this=0xa0ee358, keyWidget=0xc5692b8, event=0xbfff885c, grab=24) at kernel/qkeymapper_x11.cpp:1645
#32 0xb64c1339 in QApplication::x11ProcessEvent (this=0xbfff8b84, event=0xbfff885c) at kernel/qapplication_x11.cpp:3443
#33 0xb64ec842 in x11EventSourceDispatch (s=0xa0c8ba8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0xb547c368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0xb547f8c3 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0xb547fa48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0xb6e8a7f8 in QEventDispatcherGlib::processEvents (this=0xa001b40, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#38 0xb64ebf85 in QGuiEventDispatcherGlib::processEvents (this=0xa001b40, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#39 0xb6e5dfba in QEventLoop::processEvents (this=0xbfff8ac0, flags=...) at kernel/qeventloop.cpp:149
#40 0xb6e5e402 in QEventLoop::exec (this=0xbfff8ac0, flags=...) at kernel/qeventloop.cpp:201
#41 0xb6e60859 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0xb644c657 in QApplication::exec () at kernel/qapplication.cpp:3525
#43 0x0804e736 in main (argc=1, argv=0xbfff9054) at /home/andrei/dev/kdevelop/app/main.cpp:181

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-08-12 18:11:22 UTC
Is this reproduceable? The backtrace looks like a problem in kdelibs or Qt and totally unrelated to kdevelop (maybe a broken build...)
Comment 2 Andrei Benea 2009-08-12 18:34:18 UTC
I tried to, but I couldn't reproduce it.
Comment 3 Andreas Pakulat 2009-08-12 19:59:55 UTC
hmm, too bad. I'm closing the report for now as without a way to reproduce it, we can't do anything about it (I haven't seen such a crash myself). Please re-open if you find a way to reproduce it