Bug 197870

Summary: Crash on Navigation->Last Used Views
Product: [Developer tools] kdevplatform Reporter: janitor048
Component: shellAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: crash CC: brovka75
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description janitor048 2009-06-25 19:57:49 UTC
Version:            (using KDE 4.2.4)
Compiler:          g++ 4.3.3 
OS:                Linux
Installed from:    Ubuntu Packages

KDevelop (build from trunk 987114) crashes when using Navigation->Last Used Views after having closed a working set and reloaded another (or just opened some other files). This behavior is reproducible. 

Cheers, Oliver


Here' the backtrace:
Application: KDevelop (kdevelop), signal SIGSEGV
0x00007f3943b5ed21 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 15704)]

Thread 9 (Thread 0x7f3936cee950 (LWP 15705)):
#0  0x00007f393fa0256d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f39454d7917 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f39424808ee in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1eeb5a0) at /home/oli/Develop/KDE4/src/kdevplatform/language/duchain/duchain.cpp:280
#3  0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#5  0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3928cf8950 (LWP 15706)):
#0  0x00007f3943b95742 in select () from /lib/libc.so.6
#1  0x00007f394559df06 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#4  0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f39282eb950 (LWP 15740)):
#0  0x00007f39455ea99d in ?? () from /usr/lib/libQtCore.so.4
#1  0x00007f39455eab71 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f39455ec893 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f39455e903c in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f393ed4c1e2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#5  0x00007f393ed4c5ff in ?? () from /usr/lib/libglib-2.0.so.0
#6  0x00007f393ed4ca7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#7  0x00007f39455e8e8e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#8  0x00007f39455be002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#9  0x00007f39455be3cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#10 0x00007f39454d39b8 in QThread::exec () from /usr/lib/libQtCore.so.4
#11 0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#12 0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#13 0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#14 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f392303c950 (LWP 15741)):
#0  0x00007f3943b93496 in poll () from /lib/libc.so.6
#1  0x00007f393ed4c77f in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f393ed4ca7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f39455e8e8e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0x00007f39455be002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007f39455be3cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0x00007f39454d39b8 in QThread::exec () from /usr/lib/libQtCore.so.4
#7  0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#9  0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f392283b950 (LWP 15746)):
#0  0x00007f393fa0256d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f39454d6395 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f39454d64fe in QThread::msleep () from /usr/lib/libQtCore.so.4
#3  0x00007f3923a48e01 in UIBlockTester::UIBlockTesterThread::run (this=0x3918c50) at /home/oli/Develop/KDE4/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:985
#4  0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#6  0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f392203a950 (LWP 15747)):
#0  0x00007f393fa022e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f39454d7939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f3946cf35e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f3946cf5d93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f3946cf5dac in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f3946cf5dac in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f3946cf430f in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f3946cf4769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#8  0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#10 0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3921839950 (LWP 15748)):
#0  0x00007f393fa022e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f39454d7939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f3946cf35e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f3946cf5d93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f3946cf430f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f3946cf4769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3927aea950 (LWP 16400)):
#0  0x00007f393fa022e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f39454d7939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f3946cf35e4 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f3946cf5d93 in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f3946cf430f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f3946cf4769 in ThreadWeaver::Thread::run () from /usr/lib/libthreadweaver.so.4
#6  0x00007f39454d6952 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f393f9fe3ba in start_thread () from /lib/libpthread.so.0
#8  0x00007f3943b9cfcd in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3948801750 (LWP 15704)):
[KCrash Handler]
#5  0x00007f39455cdd34 in QObject::objectName () from /usr/lib/libQtCore.so.4
#6  0x00007f3942193b59 in Sublime::Document::title (this=0x7f391c8e3a60) at /home/oli/Develop/KDE4/src/kdevplatform/sublime/document.cpp:90
#7  0x00007f3935ea3ecd in DocumentSwitcherPlugin::walkForward (this=0x277b6f0) at /home/oli/Develop/KDE4/src/kdevplatform/plugins/documentswitcher/documentswitcherplugin.cpp:95
#8  0x00007f3935ea4220 in DocumentSwitcherPlugin::qt_metacall (this=0x277b6f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff50840fa0)
    at /home/oli/Develop/KDE4/src/kdevplatform/build/plugins/documentswitcher/documentswitcherplugin.moc:91
#9  0x00007f39455d51f2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007f39447a37e7 in QAction::triggered () from /usr/lib/libQtGui.so.4
#11 0x00007f39447a4c60 in QAction::activate () from /usr/lib/libQtGui.so.4
#12 0x00007f3944bd2a3c in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007f3944bd8a0e in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007f3945e08381 in KMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.5
#15 0x00007f39447fa8cf in QWidget::event () from /usr/lib/libQtGui.so.4
#16 0x00007f3944bdb1cb in QMenu::event () from /usr/lib/libQtGui.so.4
#17 0x00007f39447a978d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00007f39447b20da in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00007f3945d3684b in KApplication::notify () from /usr/lib/libkdeui.so.5
#20 0x00007f39455bf75c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00007f39447b1328 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#22 0x00007f394481afd4 in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f3944819a88 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#24 0x00007f3944842464 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f393ed4920a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007f393ed4c8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007f393ed4ca7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007f39455e8e6f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00007f3944841bef in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f39455be002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007f39455be3cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0x00007f39455c0694 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#33 0x00000000004080e7 in main (argc=1, argv=0x7fff50843b88) at /home/oli/Develop/KDE4/src/kdevelop/app/main.cpp:172
Comment 1 David Nolden 2009-06-25 21:41:37 UTC
SVN commit 987302 by zwabel:

Do not try to track the content of any other areas than the current one, since the main-window doesn't emit any signals about their changes
Fixes an instant crash when using the "previews/next view" actions after changing areas.
BUG: 197870


 M  +5 -0      documentswitcherplugin.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=987302
Comment 2 Andreas Pakulat 2009-08-16 23:53:52 UTC
*** Bug 204085 has been marked as a duplicate of this bug. ***