Bug 206743 - crash while swtiching editor tabs
Summary: crash while swtiching editor tabs
Status: RESOLVED DUPLICATE of bug 204383
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-09-08 14:44 UTC by Andrei Benea
Modified: 2009-09-08 15:39 UTC (History)
1 user (show)

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-09-08 14:44:43 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.1 (KDE 4.3.1)
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:
The crash happens when pressing Ctrl-Tab, but I don't know how to reliably reproduce it. I hope the stack trace provides some insight.

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

Thread 7 (Thread 0xb11ddb90 (LWP 27520)):
#0  0xb8092424 in __kernel_vsyscall ()
#1  0xb565b292 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb62757e4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb6e8a53c in QWaitConditionPrivate::wait (this=0x8569844, mutex=0x8569848, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0x8569844, mutex=0x8569848, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0xb5d00095 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8569838) at /home/andrei/dev/kdevplatform/language/duchain/duchain.cpp:280
#6  0xb6e89582 in QThreadPrivate::start (arg=0x8569838) at thread/qthread_unix.cpp:188
#7  0xb56574b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb6266a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 6 (Thread 0xac6ffb90 (LWP 27654)):
#0  0xb556a917 in ?? () from /usr/lib/libglib-2.0.so.0
#1  0xb5595a33 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#2  0xb6fa5877 in QEventDispatcherGlib::processEvents (this=0x8b40288, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#3  0xb6f7901a in QEventLoop::processEvents (this=0xac6ff310, flags=...) at kernel/qeventloop.cpp:149
#4  0xb6f79462 in QEventLoop::exec (this=0xac6ff310, flags=...) at kernel/qeventloop.cpp:201
#5  0xb6e862c9 in QThread::exec (this=0x8b3fc78) at thread/qthread.cpp:487
#6  0xb5e02010 in KDevelop::CompletionWorkerThread::run (this=0x8b3fc78) at /home/andrei/dev/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#7  0xb6e89582 in QThreadPrivate::start (arg=0x8b3fc78) at thread/qthread_unix.cpp:188
#8  0xb56574b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#9  0xb6266a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 5 (Thread 0xab8ffb90 (LWP 27655)):
#0  0xb6275bab in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb625c43d in poll () from /lib/i686/cmov/libc.so.6
#2  0xb55a2b3b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb5595795 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5595a48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6fa5877 in QEventDispatcherGlib::processEvents (this=0x8b3f8c0, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0xb6f7901a in QEventLoop::processEvents (this=0xab8ff310, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6f79462 in QEventLoop::exec (this=0xab8ff310, flags=...) at kernel/qeventloop.cpp:201
#8  0xb6e862c9 in QThread::exec (this=0xab928550) at thread/qthread.cpp:487
#9  0xb5e02010 in KDevelop::CompletionWorkerThread::run (this=0xab928550) at /home/andrei/dev/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#10 0xb6e89582 in QThreadPrivate::start (arg=0xab928550) at thread/qthread_unix.cpp:188
#11 0xb56574b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#12 0xb6266a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 4 (Thread 0xae38eb90 (LWP 27661)):
#0  0xb8092424 in __kernel_vsyscall ()
#1  0xb565b292 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb62757e4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb6e88f8e in thread_sleep (ti=0xae38e300) at thread/qthread_unix.cpp:297
#4  0xb6e890bb in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#5  0xaae76b46 in UIBlockTester::UIBlockTesterThread::run (this=0x8e460a8) at /home/andrei/dev/kdevelop/languages/cpp/cpplanguagesupport.cpp:661
#6  0xb6e89582 in QThreadPrivate::start (arg=0x8e460a8) at thread/qthread_unix.cpp:188
#7  0xb56574b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb6266a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 3 (Thread 0xa8d54b90 (LWP 27672)):
#0  0xb8092424 in __kernel_vsyscall ()
#1  0xb565af65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb627578d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6e8a562 in QWaitConditionPrivate::wait (this=0x85039f8, mutex=0x83ef648, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x85039f8, mutex=0x83ef648, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb79f6648 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x85039e0, th=0x8e1db58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb79f93ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8502f90, th=0x8e1db58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb79f523b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x85039e0, th=0x8e1db58) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb79f94a2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8502f90, th=0x8e1db58) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb79f6bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x85039e0, th=0x8e1db58, previous=0xa07fa40) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb79f74be in ThreadWeaver::ThreadRunHelper::run (this=0xa8d54340, parent=0x85039e0, th=0x8e1db58) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb79f7afb in ThreadWeaver::Thread::run (this=0x8e1db58) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb6e89582 in QThreadPrivate::start (arg=0x8e1db58) at thread/qthread_unix.cpp:188
#13 0xb56574b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#14 0xb6266a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa8553b90 (LWP 27673)):
#0  0xb8092424 in __kernel_vsyscall ()
#1  0xb565af65 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb627578d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb6e8a562 in QWaitConditionPrivate::wait (this=0x85039f8, mutex=0x83ef648, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x85039f8, mutex=0x83ef648, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb79f6648 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x85039e0, th=0x8d44ae0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb79f93ac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x8502f90, th=0x8d44ae0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb79f523b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x85039e0, th=0x8d44ae0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb79f94a2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8502f90, th=0x8d44ae0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb79f6bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x85039e0, th=0x8d44ae0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb79f94c1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8502f90, th=0x8d44ae0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb79f6bd3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x85039e0, th=0x8d44ae0, previous=0xa259c00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb79f74be in ThreadWeaver::ThreadRunHelper::run (this=0xa8553340, parent=0x85039e0, th=0x8d44ae0) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb79f7afb in ThreadWeaver::Thread::run (this=0x8d44ae0) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb6e89582 in QThreadPrivate::start (arg=0x8d44ae0) at thread/qthread_unix.cpp:188
#15 0xb56574b5 in start_thread () from /lib/i686/cmov/libpthread.so.0
#16 0xb6266a4e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb519f700 (LWP 27519)):
[KCrash Handler]
#6  0xb5c4799a in Sublime::View::document (this=0xb081a7e8) at /home/andrei/dev/kdevplatform/sublime/view.cpp:73
#7  0xaf5100b2 in DocumentSwitcherPlugin::walkForward (this=0xb081a7e8) at /home/andrei/dev/kdevplatform/plugins/documentswitcher/documentswitcherplugin.cpp:93
#8  0xaf51216b in DocumentSwitcherPlugin::qt_metacall (this=0xb081a7e8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbffd3fcc)
    at /home/andrei/dev/kdevplatform/build/plugins/documentswitcher/documentswitcherplugin.moc:91
#9  0xb6f8fb33 in QMetaObject::activate (sender=0xb0836ff0, from_signal_index=5, to_signal_index=6, argv=0xbffd3fcc) at kernel/qobject.cpp:3112
#10 0xb6f8ff60 in QMetaObject::activate (sender=0xb0836ff0, m=0xb6dbf6c8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbffd3fcc) at kernel/qobject.cpp:3206
#11 0xb6561311 in QAction::triggered (this=0xb0836ff0, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#12 0xb656285f in QAction::activate (this=0xb0836ff0, event=QAction::Trigger) at kernel/qaction.cpp:1160
#13 0xb6565293 in QAction::event (this=0xb0836ff0, e=0xbffd43f4) at kernel/qaction.cpp:1079
#14 0xb71cfd69 in KAction::event (this=0xb0836ff0, event=0xbffd43f4) at ../../kdeui/actions/kaction.cpp:88
#15 0xb6567814 in QApplicationPrivate::notify_helper (this=0x82adac0, receiver=0xb0836ff0, e=0xbffd43f4) at kernel/qapplication.cpp:4056
#16 0xb656f97e in QApplication::notify (this=0xbffd62a4, receiver=0xb0836ff0, e=0xbffd43f4) at kernel/qapplication.cpp:3603
#17 0xb72b44ad in KApplication::notify (this=0xbffd62a4, receiver=0xb0836ff0, event=0xbffd43f4) at ../../kdeui/kernel/kapplication.cpp:302
#18 0xb6f7a9cb in QCoreApplication::notifyInternal (this=0xbffd62a4, receiver=0xb0836ff0, event=0xbffd43f4) at kernel/qcoreapplication.cpp:610
#19 0xb65a04c8 in QCoreApplication::sendEvent (this=0x82adb60, e=0xbffd477c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#20 QShortcutMap::dispatchEvent (this=0x82adb60, e=0xbffd477c) at kernel/qshortcutmap.cpp:884
#21 0xb65a235f in QShortcutMap::tryShortcutEvent (this=0x82adb60, o=0xc7f7b48, e=0xbffd477c) at kernel/qshortcutmap.cpp:369
#22 0xb6570c00 in QApplication::notify (this=0xbffd62a4, receiver=0xc7f7b48, e=0xbffd477c) at kernel/qapplication.cpp:3645
#23 0xb72b44ad in KApplication::notify (this=0xbffd62a4, receiver=0xc7f7b48, event=0xbffd477c) at ../../kdeui/kernel/kapplication.cpp:302
#24 0xb6f7a9cb in QCoreApplication::notifyInternal (this=0xbffd62a4, receiver=0xc7f7b48, event=0xbffd477c) at kernel/qcoreapplication.cpp:610
#25 0xb656869e in QCoreApplication::sendSpontaneousEvent (receiver=0xc7f7b48, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#26 qt_sendSpontaneousEvent (receiver=0xc7f7b48, event=0x0) at kernel/qapplication.cpp:4958
#27 0xb6603e40 in QKeyMapper::sendKeyEvent (keyWidget=0xc7f7b48, grab=false, type=QEvent::KeyPress, code=16777217, modifiers=..., text=..., autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=23, nativeVirtualKey=65289, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1675
#28 0xb6605f14 in QKeyMapperPrivate::translateKeyEvent (this=0x82d6888, keyWidget=0xc7f7b48, event=0xbffd5f7c, grab=false) at kernel/qkeymapper_x11.cpp:1645
#29 0xb65dc389 in QApplication::x11ProcessEvent (this=0xbffd62a4, event=0xbffd5f7c) at kernel/qapplication_x11.cpp:3443
#30 0xb6607892 in x11EventSourceDispatch (s=0x82b0ca8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0xb5592368 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb55958c3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb5595a48 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb6fa5858 in QEventDispatcherGlib::processEvents (this=0x81fb860, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#35 0xb6606fd5 in QGuiEventDispatcherGlib::processEvents (this=0x81fb860, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#36 0xb6f7901a in QEventLoop::processEvents (this=0xbffd61e0, flags=...) at kernel/qeventloop.cpp:149
#37 0xb6f79462 in QEventLoop::exec (this=0xbffd61e0, flags=...) at kernel/qeventloop.cpp:201
#38 0xb6f7b8b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0xb6567697 in QApplication::exec () at kernel/qapplication.cpp:3525
#40 0x0804e736 in main (argc=1, argv=0xbffd6774) at /home/andrei/dev/kdevelop/app/main.cpp:181

This bug may be a duplicate of or related to bug 203586

Reported using DrKonqi
Comment 1 Dario Andres 2009-09-08 14:56:11 UTC
This seems to be related to bug 204383. Thanks
Comment 2 Andreas Pakulat 2009-09-08 15:39:36 UTC
Thanks Dario for finding the duplicate.

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