Bug 216264 - KDevelop crash opening file set
Summary: KDevelop crash opening file set
Status: RESOLVED FIXED
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:
: 221297 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-26 15:35 UTC by António Oliveira
Modified: 2010-01-04 23:06 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 António Oliveira 2009-11-26 15:35:47 UTC
Application that crashed: kdevelop
Version of the application: 3.9.95 (using KDevPlatform 0.9.95)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
KDevelop crashed when opening a file set.
Opened KDevelop
Opened one project
Opened another project
Closed first project (code parser was working)
Clicked on one file set
KDevelop crashed



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

Thread 10 (Thread 0x7f5a8639f910 (LWP 3242)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f5a93dae462 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x30d89c0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x30d89c0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5a8f9519be in KDevelop::DUChainPrivate::CleanupThread::run (this=0x30d89a0) at ../../language/duchain/duchain.cpp:280
#4  0x00007f5a93dad445 in QThreadPrivate::start (arg=0x30d89a0) at thread/qthread_unix.cpp:188
#5  0x00007f5a8cfdea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f5a92bfb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f5a6f27a910 (LWP 9402)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f5a6f279d80 in ?? ()
#2  0x00007fffb517f782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 8 (Thread 0x7f5a6ea79910 (LWP 9403)):
#0  __pthread_mutex_unlock (mutex=0x4b0f618) at pthread_mutex_unlock.c:288
#1  0x00007f5a8d232d9e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f5a8d233181 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f5a8d2336b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f5a93ebc1fe in QEventDispatcherGlib::processEvents (this=0x4dca980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007f5a93e92532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f5a93e92904 in QEventLoop::exec (this=0x7f5a6ea79050, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f5a93daa6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f5a93dad445 in QThreadPrivate::start (arg=0x3a3c5e0) at thread/qthread_unix.cpp:188
#9  0x00007f5a8cfdea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5a92bfb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f5a6e278910 (LWP 9406)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f5a93daced5 in thread_sleep (ti=0x7f5a6e278000) at thread/qthread_unix.cpp:297
#2  0x00007f5a93dad040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f5a7451b301 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f5a93dad445 in QThreadPrivate::start (arg=0x4cda9b0) at thread/qthread_unix.cpp:188
#5  0x00007f5a8cfdea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f5a92bfb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 6 (Thread 0x7f5a6da77910 (LWP 9407)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5a93dae4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x7f5a6402db88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x7f5a6402db88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5a7452940d in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f5a74538443 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#5  0x00007f5a8abc475d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f5a6da76fa0, th=0x4c74980, job=0x7f5a64042940) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f5a8abc4a5e in ThreadWeaver::Job::execute (this=0x7f5a64042940, th=0x4c74980) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f5a8abc5d83 in ThreadWeaver::JobCollectionJobRunner::execute (this=0x7f5a6436f770, t=0x4c74980) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f5a8abc3a2f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5a6da77050, parent=0x3037e30, th=0x4c74980) at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0x00007f5a8abc3eb8 in ThreadWeaver::Thread::run (this=0x4c74980) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f5a93dad445 in QThreadPrivate::start (arg=0x4c74980) at thread/qthread_unix.cpp:188
#11 0x00007f5a8cfdea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f5a92bfb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7f5a6d276910 (LWP 9408)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5a93dae4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3038470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3038470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5a8abc3326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3037e30, th=0x7f5a702728e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5a8abc545b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3039140, th=0x7f5a702728e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5a8abc5474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3039140, th=0x7f5a702728e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f5a8abc5474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3039140, th=0x7f5a702728e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f5a8abc3a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5a6d276050, parent=0x3037e30, th=0x7f5a702728e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f5a8abc3eb8 in ThreadWeaver::Thread::run (this=0x7f5a702728e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f5a93dad445 in QThreadPrivate::start (arg=0x7f5a702728e0) at thread/qthread_unix.cpp:188
#10 0x00007f5a8cfdea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f5a92bfb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5a6ca75910 (LWP 9409)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5a93dae4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3038470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3038470, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5a8abc3326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3037e30, th=0x4d83ce0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5a8abc545b in ThreadWeaver::WorkingHardState::applyForWork (this=0x3039140, th=0x4d83ce0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5a8abc3a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5a6ca75050, parent=0x3037e30, th=0x4d83ce0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5a8abc3eb8 in ThreadWeaver::Thread::run (this=0x4d83ce0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5a93dad445 in QThreadPrivate::start (arg=0x4d83ce0) at thread/qthread_unix.cpp:188
#8  0x00007f5a8cfdea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f5a92bfb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5a68c33910 (LWP 10141)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f5a68c32d40 in ?? ()
#2  0x00007fffb517f782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f5a63fff910 (LWP 10258)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5a93dae4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x5f86540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x5f86540, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f5a8abc3326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4c1c8b0, th=0x4ec9830) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f5a8abc545b in ThreadWeaver::WorkingHardState::applyForWork (this=0x5f157e0, th=0x4ec9830) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f5a8abc3a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f5a63fff050, parent=0x4c1c8b0, th=0x4ec9830) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f5a8abc3eb8 in ThreadWeaver::Thread::run (this=0x4ec9830) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f5a93dad445 in QThreadPrivate::start (arg=0x4ec9830) at thread/qthread_unix.cpp:188
#8  0x00007f5a8cfdea04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f5a92bfb7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5a95577750 (LWP 2870)):
[KCrash Handler]
#5  QListData::begin (this=0x0, watcher=0x30366a8) at /usr/include/qt4/QtCore/qlist.h:90
#6  QList<KTextEditor::SmartRangeWatcher*>::contains (this=0x0, watcher=0x30366a8) at /usr/include/qt4/QtCore/qlist.h:664
#7  KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x30366a8) at ../../../interfaces/ktexteditor/smartrange.cpp:893
#8  0x00007f5a8f91e3ea in KDevelop::BackgroundParser::addManagedTopRange (this=0x3036690, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:625
#9  0x00007f5a8f9395ac in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x5e29470) at ../../language/duchain/duchain.cpp:1463
#10 0x00007f5a8f93c11f in KDevelop::DUChain::qt_metacall (this=0x30b5520, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb50d3e80) at ./duchain.moc:162
#11 0x00007f5a93ea8ddc in QMetaObject::activate (sender=0x3039280, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f5a94cda710) at kernel/qobject.cpp:3113
#12 0x00007f5a94cfce22 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x0, _t1=0x5e29470) at ./idocumentcontroller.moc:256
#13 0x00007f5a94cfaf40 in KDevelop::IDocument::notifyLoaded (this=0x5e29470) at ../../interfaces/idocument.cpp:119
#14 0x00007f5a94a68ff0 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x5e29450, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffb50d4040)
    at ../../shell/textdocument.cpp:154
#15 KDevelop::TextDocument::qt_metacall (this=0x5e29450, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffb50d4040) at ./textdocument.moc:86
#16 0x00007f5a93ea8ddc in QMetaObject::activate (sender=0x66a4df0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f5a94cda710) at kernel/qobject.cpp:3113
#17 0x00007f5a947c4ac2 in KTextEditor::Document::textChanged (this=0x0, _t1=0x66a4df0) at ./document.moc:156
#18 0x00007f5a6348ffc0 in KateDocument::openFile (this=0x66a4df0) at ../../kate/document/katedocument.cpp:3191
#19 0x00007f5a918970c7 in KParts::ReadOnlyPart::openUrl (this=0x66a4df0, url=<value optimized out>) at ../../kparts/part.cpp:557
#20 0x00007f5a94a69495 in KDevelop::TextDocument::createViewWidget (this=0x5e29450, parent=0x4ee7e10) at ../../shell/textdocument.cpp:239
#21 0x00007f5a94a687f7 in KDevelop::TextView::createWidget (this=0x4cf9a40, parent=0x4ee7e10) at ../../shell/textdocument.cpp:504
#22 0x00007f5a8f679c06 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#23 0x00007f5a8f675890 in ?? () from /usr/lib/libsublime.so.1
#24 0x00007f5a8f678e88 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib/libsublime.so.1
#25 0x00007f5a8f6761ad in ?? () from /usr/lib/libsublime.so.1
#26 0x00007f5a8f66db60 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.1
#27 0x00007f5a8f66a069 in Sublime::Controller::showArea(Sublime::Area*, Sublime::MainWindow*) () from /usr/lib/libsublime.so.1
#28 0x00007f5a94a37b99 in ~DisconnectMainWindowsFromArea (this=<value optimized out>, area=<value optimized out>, areaIndex=<value optimized out>, clear=<value optimized out>)
    at ../../shell/workingsetcontroller.cpp:243
#29 KDevelop::WorkingSet::loadToArea (this=<value optimized out>, area=<value optimized out>, areaIndex=<value optimized out>, clear=<value optimized out>) at ../../shell/workingsetcontroller.cpp:321
#30 0x00007f5a94a38d2d in KDevelop::WorkingSet::changedWorkingSet (this=0x2e7a0a0, area=<value optimized out>, from=<value optimized out>, to=<value optimized out>)
    at ../../shell/workingsetcontroller.cpp:602
#31 0x00007f5a94a3a6bf in KDevelop::WorkingSet::qt_metacall (this=0x2e7a0a0, _c=<value optimized out>, _id=<value optimized out>, _a=0x4b0fec0) at ./workingsetcontroller.moc:83
#32 0x00007f5a93ea30f9 in QObject::event (this=0x2e7a0a0, e=0x5f240b0) at kernel/qobject.cpp:1111
#33 0x00007f5a9333befc in QApplicationPrivate::notify_helper (this=0x2d45510, receiver=0x2e7a0a0, e=0x5f240b0) at kernel/qapplication.cpp:4056
#34 0x00007f5a933431ce in QApplication::notify (this=0x7fffb50d5b90, receiver=0x2e7a0a0, e=0x5f240b0) at kernel/qapplication.cpp:4021
#35 0x00007f5a943a9ab6 in KApplication::notify (this=0x7fffb50d5b90, receiver=0x2e7a0a0, event=0x5f240b0) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x00007f5a93e93c2c in QCoreApplication::notifyInternal (this=0x7fffb50d5b90, receiver=0x2e7a0a0, event=0x5f240b0) at kernel/qcoreapplication.cpp:610
#37 0x00007f5a93e9480a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1c93c40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1c93c40) at kernel/qcoreapplication.cpp:1247
#39 0x00007f5a93ebc533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#41 0x00007f5a8d22fbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007f5a8d233588 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007f5a8d2336b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007f5a93ebc1a6 in QEventDispatcherGlib::processEvents (this=0x1c93870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#45 0x00007f5a933d04be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x00007f5a93e92532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f5a93e92904 in QEventLoop::exec (this=0x7fffb50d5a80, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f5a93e94ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0x0000000000407f27 in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-11-26 16:16:08 UTC
This has already been fixed quite some time ago. Teh fix is included in beta6 so I suggest you update.
Comment 2 Milian Wolff 2010-01-04 23:06:36 UTC
*** Bug 221297 has been marked as a duplicate of this bug. ***