Bug 216783 - Kdevelop crashes on startup with SIGSEGV
Summary: Kdevelop crashes on startup with SIGSEGV
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:
Depends on:
Blocks:
 
Reported: 2009-11-30 11:37 UTC by António Oliveira
Modified: 2009-11-30 12:26 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 António Oliveira 2009-11-30 11:37:56 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:
Started up KDevelop after having booted the computer a couple minutes ago.
Kdevelop was loading and I gave it no user input (was doing other stuff).
Project autoloading is disabled.
Just noticed the crash information, because I didn't look at the applicatio, don't even know if the GUI was entirely drawn,
Might be related withl loading a working set because atfter restarting kdevelop it has a loaded working set with 8 files on it.

Either way, this seems sandom, the next startup went well, as generally all others do.

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

Thread 5 (Thread 0x7feeaee1c910 (LWP 20404)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007feebc82b462 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x38053c0, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x38053c0, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007feeb83ce9be in KDevelop::DUChainPrivate::CleanupThread::run (this=0x38053a0) at ../../language/duchain/duchain.cpp:280
#4  0x00007feebc82a445 in QThreadPrivate::start (arg=0x38053a0) at thread/qthread_unix.cpp:188
#5  0x00007feeb5a5ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007feebb6787bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fee9dee2910 (LWP 20479)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fee9dee1d80 in ?? ()
#2  0x00007fff667ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7fee9d6e1910 (LWP 20480)):
#0  0x00007feebb66c373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007feeb5cb036c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007feeb5cb06b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007feebc9391fe in QEventDispatcherGlib::processEvents (this=0x52a6200, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007feebc90f532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007feebc90f904 in QEventLoop::exec (this=0x7fee9d6e1050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007feebc8276cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007feebc82a445 in QThreadPrivate::start (arg=0x4a5a430) at thread/qthread_unix.cpp:188
#8  0x00007feeb5a5ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007feebb6787bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fee9cee0910 (LWP 20483)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007feebc829ed5 in thread_sleep (ti=0x7fee9cee0000) at thread/qthread_unix.cpp:297
#2  0x00007feebc82a040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007fee9e97b301 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007feebc82a445 in QThreadPrivate::start (arg=0x52d1880) at thread/qthread_unix.cpp:188
#5  0x00007feeb5a5ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007feebb6787bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 1 (Thread 0x7feebdff4750 (LWP 20367)):
[KCrash Handler]
#5  QListData::begin (this=0x0, watcher=0x3777838) at /usr/include/qt4/QtCore/qlist.h:90
#6  QList<KTextEditor::SmartRangeWatcher*>::contains (this=0x0, watcher=0x3777838) at /usr/include/qt4/QtCore/qlist.h:664
#7  KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x3777838) at ../../../interfaces/ktexteditor/smartrange.cpp:893
#8  0x00007feeb839b3ea in KDevelop::BackgroundParser::addManagedTopRange (this=0x3777820, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:625
#9  0x00007feeb83b65ac in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x5336300) at ../../language/duchain/duchain.cpp:1463
#10 0x00007feeb83b911f in KDevelop::DUChain::qt_metacall (this=0x380fc50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6677d560) at ./duchain.moc:162
#11 0x00007feebc925ddc in QMetaObject::activate (sender=0x37788a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7feebd757710) at kernel/qobject.cpp:3113
#12 0x00007feebd779e22 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x0, _t1=0x5336300) at ./idocumentcontroller.moc:256
#13 0x00007feebd777f40 in KDevelop::IDocument::notifyLoaded (this=0x5336300) at ../../interfaces/idocument.cpp:119
#14 0x00007feebd4e5ff0 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x53362e0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff6677d720)
    at ../../shell/textdocument.cpp:154
#15 KDevelop::TextDocument::qt_metacall (this=0x53362e0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff6677d720) at ./textdocument.moc:86
#16 0x00007feebc925ddc in QMetaObject::activate (sender=0x5d1a610, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7feebd757710) at kernel/qobject.cpp:3113
#17 0x00007feebd241ac2 in KTextEditor::Document::textChanged (this=0x0, _t1=0x5d1a610) at ./document.moc:156
#18 0x00007fee9c370fc0 in KateDocument::openFile (this=0x5d1a610) at ../../kate/document/katedocument.cpp:3191
#19 0x00007feeba3140c7 in KParts::ReadOnlyPart::openUrl (this=0x5d1a610, url=<value optimized out>) at ../../kparts/part.cpp:557
#20 0x00007feebd4e6495 in KDevelop::TextDocument::createViewWidget (this=0x53362e0, parent=0x543bf50) at ../../shell/textdocument.cpp:239
#21 0x00007feebd4e57f7 in KDevelop::TextView::createWidget (this=0x52bd1a0, parent=0x543bf50) at ../../shell/textdocument.cpp:504
#22 0x00007feeb80f6c06 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#23 0x00007feeb80f2890 in ?? () from /usr/lib/libsublime.so.1
#24 0x00007feeb80f5e88 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib/libsublime.so.1
#25 0x00007feeb80f31ad in ?? () from /usr/lib/libsublime.so.1
#26 0x00007feeb80eab60 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.1
#27 0x00007feeb80e7069 in Sublime::Controller::showArea(Sublime::Area*, Sublime::MainWindow*) () from /usr/lib/libsublime.so.1
#28 0x00007feebd4b4b99 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 0x00007feebd4b5d2d in KDevelop::WorkingSet::changedWorkingSet (this=0x35ae930, area=<value optimized out>, from=<value optimized out>, to=<value optimized out>)
    at ../../shell/workingsetcontroller.cpp:602
#31 0x00007feebd4b76bf in KDevelop::WorkingSet::qt_metacall (this=0x35ae930, _c=<value optimized out>, _id=<value optimized out>, _a=0x433ad10) at ./workingsetcontroller.moc:83
#32 0x00007feebc9200f9 in QObject::event (this=0x35ae930, e=0x433aab0) at kernel/qobject.cpp:1111
#33 0x00007feebbdb8efc in QApplicationPrivate::notify_helper (this=0x345e1a0, receiver=0x35ae930, e=0x433aab0) at kernel/qapplication.cpp:4056
#34 0x00007feebbdc01ce in QApplication::notify (this=0x7fff6677f270, receiver=0x35ae930, e=0x433aab0) at kernel/qapplication.cpp:4021
#35 0x00007feebce26ab6 in KApplication::notify (this=0x7fff6677f270, receiver=0x35ae930, event=0x433aab0) at ../../kdeui/kernel/kapplication.cpp:302
#36 0x00007feebc910c2c in QCoreApplication::notifyInternal (this=0x7fff6677f270, receiver=0x35ae930, event=0x433aab0) at kernel/qcoreapplication.cpp:610
#37 0x00007feebc91180a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x23acc40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x23acc40) at kernel/qcoreapplication.cpp:1247
#39 0x00007feebc939533 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 0x00007feeb5cacbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0x00007feeb5cb0588 in ?? () from /lib/libglib-2.0.so.0
#43 0x00007feeb5cb06b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0x00007feebc9391a6 in QEventDispatcherGlib::processEvents (this=0x23ac870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#45 0x00007feebbe4d4be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#46 0x00007feebc90f532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007feebc90f904 in QEventLoop::exec (this=0x7fff6677f160, flags=) at kernel/qeventloop.cpp:201
#48 0x00007feebc911ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#49 0x0000000000407f27 in _start ()
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Andreas Pakulat 2009-11-30 12:26:49 UTC
This has been fixed already, please update your kdevelop.