Bug 225121 - Kdevelop do not stars due to segmentation fault on start
Summary: Kdevelop do not stars due to segmentation fault on start
Status: RESOLVED NOT A BUG
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:
: 230418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-01 11:43 UTC by Angel
Modified: 2010-03-12 17:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (19.71 KB, text/plain)
2010-03-12 17:33 UTC, Roman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angel 2010-02-01 11:43:34 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-17-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I cannot start Kdevelop. It always crashes due to segmentation fault on launch. 
When launching the app on the console I get this message:
---------------------------------------------------------------------------------------------------------

WARNING: deleting stale lockfile /home/anheru/.kdevduchain/0/lock
<unknown program name>(3194)/ KDevelop::allocateRepository: picked duchain directory "/home/anheru/.kdevduchain/0"
QObject::connect: Cannot connect (null)::sessionAdded(KDevelop::IDebugSession*) to KDevelop::VariableCollection::updateAutoUpdate(KDevelop::IDebugSession*)
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::CodeCompletionModel(0xa8c6a90), parent's thread is QThread(0x9e1a468), current thread is QThread(0xa8c5228)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::MissingIncludeCompletionModel(0xa8c6b20), parent's thread is QThread(0x9e1a468), current thread is QThread(0xa8c5478)
KCrash: Application 'kdevelop' crashing...
sock_file=/home/anheru/.kde/socket-anheru-desktop/kdeinit4__0
Warning: connect() failed: : No existe el fichero รณ directorio
KCrash cannot reach kdeinit, launching directly.


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

Thread 5 (Thread 0xb4192b70 (LWP 3196)):
#0  0x00e82422 in __kernel_vsyscall ()
#1  0x0121f142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x0058f8d4 in __pthread_cond_timedwait (cond=0xa3ee670, mutex=0xa3ee658, abstime=0xb41922c0) at forward.c:152
#3  0x0015fdef in QWaitConditionPrivate::wait (this=0xa3ef114, mutex=0xa3ef118, time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0xa3ef114, mutex=0xa3ef118, time=200000) at thread/qwaitcondition_unix.cpp:159
#5  0x02832715 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa3ef108) at ../../language/duchain/duchain.cpp:280
#6  0x0015ee32 in QThreadPrivate::start (arg=0xa3ef108) at thread/qthread_unix.cpp:188
#7  0x0121a80e in start_thread (arg=0xb4192b70) at pthread_create.c:300
#8  0x005828de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb1246b70 (LWP 3215)):
#0  0x07a11cd3 in g_main_context_check () from /lib/libglib-2.0.so.0
#1  0x07a1247c in ?? () from /lib/libglib-2.0.so.0
#2  0x07a12863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x0027a067 in QEventDispatcherGlib::processEvents (this=0xa8c5360, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#4  0x0024dc79 in QEventLoop::processEvents (this=0xb12462d4, flags=) at kernel/qeventloop.cpp:149
#5  0x0024e0ca in QEventLoop::exec (this=0xb12462d4, flags=...) at kernel/qeventloop.cpp:201
#6  0x0015bb73 in QThread::exec (this=0xa8c5228) at thread/qthread.cpp:487
#7  0x029371d0 in KDevelop::CompletionWorkerThread::run (this=0xa8c5228) at ../../language/codecompletion/codecompletionmodel.cpp:79
#8  0x0015ee32 in QThreadPrivate::start (arg=0xa8c5228) at thread/qthread_unix.cpp:188
#9  0x0121a80e in start_thread (arg=0xb1246b70) at pthread_create.c:300
#10 0x005828de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb0a45b70 (LWP 3216)):
#0  0x046bae06 in *__GI_clock_gettime (clock_id=74182644, tp=0xb0a45018) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0027bbf3 in QTimerInfoList::getTime (this=0xa8b7fa4, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x0027bde1 in QTimerInfoList::updateCurrentTime (this=0xa8b7fa4) at kernel/qeventdispatcher_unix.cpp:297
#3  0x0027c88c in QTimerInfoList::timerWait (this=0xa8b7fa4, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x0027a210 in timerSourcePrepare (source=0xa8b7f70, timeout=0xb0a4510c) at kernel/qeventdispatcher_glib.cpp:141
#5  0x07a11f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x07a12351 in ?? () from /lib/libglib-2.0.so.0
#7  0x07a12863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x0027a067 in QEventDispatcherGlib::processEvents (this=0xa8b2b70, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x0024dc79 in QEventLoop::processEvents (this=0xb0a452d4, flags=) at kernel/qeventloop.cpp:149
#10 0x0024e0ca in QEventLoop::exec (this=0xb0a452d4, flags=...) at kernel/qeventloop.cpp:201
#11 0x0015bb73 in QThread::exec (this=0xa8c5478) at thread/qthread.cpp:487
#12 0x029371d0 in KDevelop::CompletionWorkerThread::run (this=0xa8c5478) at ../../language/codecompletion/codecompletionmodel.cpp:79
#13 0x0015ee32 in QThreadPrivate::start (arg=0xa8c5478) at thread/qthread_unix.cpp:188
#14 0x0121a80e in start_thread (arg=0xb0a45b70) at pthread_create.c:300
#15 0x005828de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb0244b70 (LWP 3219)):
#0  0x00e82422 in __kernel_vsyscall ()
#1  0x0121f142 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x0058f8d4 in __pthread_cond_timedwait (cond=0xb0244234, mutex=0xb0244264, abstime=0xb02442b0) at forward.c:152
#3  0x0015e81e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:297
#4  0x0015e973 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:323
#5  0x02f192ab in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x0015ee32 in QThreadPrivate::start (arg=0xa930360) at thread/qthread_unix.cpp:188
#7  0x0121a80e in start_thread (arg=0xb0244b70) at pthread_create.c:300
#8  0x005828de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb781c700 (LWP 3194)):
[KCrash Handler]
#5  QListData::begin (this=0x0, watcher=0xa160f1c) at /usr/include/qt4/QtCore/qlist.h:90
#6  QList<KTextEditor::SmartRangeWatcher*>::contains (this=0x0, watcher=0xa160f1c) at /usr/include/qt4/QtCore/qlist.h:664
#7  KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0xa160f1c) at ../../../interfaces/ktexteditor/smartrange.cpp:893
#8  0x027fceb9 in KDevelop::BackgroundParser::addManagedTopRange (this=0xa160f10, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:625
#9  0x028190c0 in KDevelop::DUChain::documentLoadedPrepare (this=0xa3e4c30, doc=0xaa94050) at ../../language/duchain/duchain.cpp:1463
#10 0x0281baf7 in KDevelop::DUChain::qt_metacall (this=0xa3e4c30, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf8cc828) at ./duchain.moc:162
#11 0x00265263 in QMetaObject::activate (sender=0xa1cee38, from_signal_index=13, to_signal_index=13, argv=0xbf8cc828) at kernel/qobject.cpp:3113
#12 0x00265ec2 in QMetaObject::activate (sender=0xa1cee38, m=0x9f8614, local_signal_index=9, argv=0xbf8cc828) at kernel/qobject.cpp:3187
#13 0x009eacb3 in KDevelop::IDocumentController::documentLoadedPrepare (this=0xa1cee38, _t1=0xaa94050) at ./idocumentcontroller.moc:256
#14 0x009e87f2 in KDevelop::IDocument::notifyLoaded (this=0xaa94050) at ../../interfaces/idocument.cpp:119
#15 0x0069ada9 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0xaa94040, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf8cc9a8) at ../../shell/textdocument.cpp:154
#16 KDevelop::TextDocument::qt_metacall (this=0xaa94040, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbf8cc9a8) at ./textdocument.moc:86
#17 0x00265263 in QMetaObject::activate (sender=0xb8bf968, from_signal_index=24, to_signal_index=24, argv=0xbf8cc9a8) at kernel/qobject.cpp:3113
#18 0x00265ec2 in QMetaObject::activate (sender=0xb8bf968, m=0x4b3890, local_signal_index=5, argv=0xbf8cc9a8) at kernel/qobject.cpp:3187
#19 0x0049ed13 in KTextEditor::Document::textChanged (this=0xb8bf968, _t1=0xb8bf968) at ./document.moc:156
#20 0x049cfa03 in KateDocument::openFile (this=0xb8bf968) at ../../kate/document/katedocument.cpp:3191
#21 0x0092c819 in KParts::ReadOnlyPart::openUrl (this=0xb8bf968, url=...) at ../../kparts/part.cpp:557
#22 0x0069b301 in KDevelop::TextDocument::createViewWidget (this=0xaa94040, parent=0xaafe2a0) at ../../shell/textdocument.cpp:239
#23 0x0069a52e in KDevelop::TextView::createWidget (this=0xaa720a8, parent=0xaafe2a0) at ../../shell/textdocument.cpp:504
#24 0x022186e7 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#25 0x022138a2 in ?? () from /usr/lib/libsublime.so.1
#26 0x02217469 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib/libsublime.so.1
#27 0x02214298 in ?? () from /usr/lib/libsublime.so.1
#28 0x0220ab84 in Sublime::MainWindow::setArea(Sublime::Area*) () from /usr/lib/libsublime.so.1
#29 0x02217544 in Sublime::MainWindowOperator::setArea(Sublime::MainWindow*, Sublime::Area*) () from /usr/lib/libsublime.so.1
#30 0x02205c4b in Sublime::Controller::showAreaInternal(Sublime::Area*, Sublime::MainWindow*) () from /usr/lib/libsublime.so.1
#31 0x02206ac9 in Sublime::Controller::showArea(Sublime::Area*, Sublime::MainWindow*) () from /usr/lib/libsublime.so.1
#32 0x00665c39 in ~DisconnectMainWindowsFromArea (this=0xa20af28, area=0xa23b650, areaIndex=0xa23b470, clear=false) at ../../shell/workingsetcontroller.cpp:243
#33 KDevelop::WorkingSet::loadToArea (this=0xa20af28, area=0xa23b650, areaIndex=0xa23b470, clear=false) at ../../shell/workingsetcontroller.cpp:321
#34 0x00666eea in KDevelop::WorkingSet::changedWorkingSet (this=0xa20af28, area=0xa23b650, from=..., to=...) at ../../shell/workingsetcontroller.cpp:602
#35 0x0066895c in KDevelop::WorkingSet::qt_metacall (this=0xa20af28, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xa289118) at ./workingsetcontroller.moc:83
#36 0x0025df0b in QMetaCallEvent::placeMetaCall (this=0xa61bcc8, object=0xa20af28) at kernel/qobject.cpp:477
#37 0x0025f5fe in QObject::event (this=0xa20af28, e=0xa61bcc8) at kernel/qobject.cpp:1111
#38 0x0360ff54 in QApplicationPrivate::notify_helper (this=0x9ee1d68, receiver=0xa20af28, e=0xa61bcc8) at kernel/qapplication.cpp:4056
#39 0x0361767c in QApplication::notify (this=0xbf8cdb24, receiver=0xa20af28, e=0xa61bcc8) at kernel/qapplication.cpp:3603
#40 0x01055bfa in KApplication::notify (this=0xbf8cdb24, receiver=0xa20af28, event=0xa61bcc8) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x0024f6cb in QCoreApplication::notifyInternal (this=0xbf8cdb24, receiver=0xa20af28, event=0xa61bcc8) at kernel/qcoreapplication.cpp:610
#42 0x002502b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9e19ef8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9e19ef8) at kernel/qcoreapplication.cpp:1247
#44 0x0025047d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#45 0x0027a3ff in QCoreApplication::sendPostedEvents (s=0x9ee4110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#46 postEventSourceDispatch (s=0x9ee4110) at kernel/qeventdispatcher_glib.cpp:210
#47 0x07a0ee88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x07a12730 in ?? () from /lib/libglib-2.0.so.0
#49 0x07a12863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x0027a02c in QEventDispatcherGlib::processEvents (this=0x9e1a0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#51 0x036b0be5 in QGuiEventDispatcherGlib::processEvents (this=0x9e1a0d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x0024dc79 in QEventLoop::processEvents (this=0xbf8cda44, flags=) at kernel/qeventloop.cpp:149
#53 0x0024e0ca in QEventLoop::exec (this=0xbf8cda44, flags=...) at kernel/qeventloop.cpp:201
#54 0x0025053f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#55 0x0360fdd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#56 0x0804f393 in _start ()

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

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-02-01 12:03:20 UTC
Your kdevelop version is completely outdated, please update.
Comment 2 Angel 2010-02-01 13:17:24 UTC
(In reply to comment #1)
> Your kdevelop version is completely outdated, please update.

I'm using the last available in the Ubuntu repository.
Comment 3 Andreas Pakulat 2010-02-01 13:33:51 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Your kdevelop version is completely outdated, please update.
> 
> I'm using the last available in the Ubuntu repository.

Then please talk to your distribution so they either don't ship unstable beta software or provide ways of updating that to newer versions.
Comment 4 Nicolas L. 2010-03-12 10:53:38 UTC
*** Bug 230418 has been marked as a duplicate of this bug. ***
Comment 5 Roman 2010-03-12 17:33:04 UTC
Created attachment 41570 [details]
New crash information added by DrKonqi

The bug reporting tool said those bugs can be related. I checked and the backtrace look similar. Hope this helps.

For me KDevelop crashed when opening a file after Ctrl+Alt+O