Bug 235043 - Kdevelop crash at start
Summary: Kdevelop crash at start
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 09:56 UTC by Gunther Piez
Modified: 2010-04-25 10:34 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 Gunther Piez 2010-04-22 09:56:23 UTC
Application: kdevelop (3.10.2 (using KDevPlatform 0.10.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.2 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I had deleted a file belonging to the current project before in a console.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.4-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f1ee593b760 (LWP 9157))]

Thread 7 (Thread 0x7f1ecf7f4710 (LWP 9158)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f1ee20cba88 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xac5e80, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xac5e80, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1edeb9e09e in KDevelop::DUChainPrivate::CleanupThread::run (this=0xac5e60) at /home/gpiez/src/kdevplatform/language/duchain/duchain.cpp:286
#4  0x00007f1ee20ca9aa in QThreadPrivate::start (arg=0xac5e60) at thread/qthread_unix.cpp:248
#5  0x00007f1ee1e3bb24 in start_thread () from /lib/libpthread.so.0
#6  0x00007f1ee03bbf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1ece263710 (LWP 9159)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f1ee20cba88 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0xb6f040, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb6f040, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f1ee20beae5 in QThreadPoolThread::run (this=0xb6f180) at concurrent/qthreadpool.cpp:140
#4  0x00007f1ee20ca9aa in QThreadPrivate::start (arg=0xb6f180) at thread/qthread_unix.cpp:248
#5  0x00007f1ee1e3bb24 in start_thread () from /lib/libpthread.so.0
#6  0x00007f1ee03bbf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1ec3e72710 (LWP 9244)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1edf76d68b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f1edfa56220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f1edf76d6d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f1edfa642ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f1ee1e3bb24 in start_thread () from /lib/libpthread.so.0
#4  0x00007f1ee03bbf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1ec4673710 (LWP 9260)):
#0  IA__g_main_context_prepare (context=0x1848fb0, priority=<value optimized out>) at gmain.c:2285
#1  0x00007f1edb7e3451 in g_main_context_iterate (context=0x1848fb0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2571
#2  0x00007f1edb7e3980 in IA__g_main_context_iteration (context=0x1848fb0, may_block=1) at gmain.c:2654
#3  0x00007f1ee2216376 in QEventDispatcherGlib::processEvents (this=0x1848100, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f1ee21e24b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f1ee21e2885 in QEventLoop::exec (this=0x7f1ec4672e20, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f1ee20c7fa8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f1ee20ca9aa in QThreadPrivate::start (arg=0x1856f70) at thread/qthread_unix.cpp:248
#8  0x00007f1ee1e3bb24 in start_thread () from /lib/libpthread.so.0
#9  0x00007f1ee03bbf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1ebf9bd710 (LWP 9261)):
#0  0x00007f1ee03b25a3 in poll () from /lib/libc.so.6
#1  0x00007f1edb7e363c in g_main_context_poll (context=0x187fbb0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x187fbb0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007f1edb7e3980 in IA__g_main_context_iteration (context=0x187fbb0, may_block=1) at gmain.c:2654
#4  0x00007f1ee2216376 in QEventDispatcherGlib::processEvents (this=0x185fdc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f1ee21e24b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f1ee21e2885 in QEventLoop::exec (this=0x7f1ebf9bce20, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f1ee20c7fa8 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f1ee20ca9aa in QThreadPrivate::start (arg=0x1855b60) at thread/qthread_unix.cpp:248
#9  0x00007f1ee1e3bb24 in start_thread () from /lib/libpthread.so.0
#10 0x00007f1ee03bbf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f1ebf1bc710 (LWP 9262)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f1ee20ca2c5 in thread_sleep (ti=0x7f1ebf1bbde0) at thread/qthread_unix.cpp:398
#2  0x00007f1ee20ca420 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f1ec0a6bf21 in UIBlockTester::UIBlockTesterThread::run (this=0x1856d20) at /home/gpiez/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00007f1ee20ca9aa in QThreadPrivate::start (arg=0x1856d20) at thread/qthread_unix.cpp:248
#5  0x00007f1ee1e3bb24 in start_thread () from /lib/libpthread.so.0
#6  0x00007f1ee03bbf4d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1ee593b760 (LWP 9157)):
[KCrash Handler]
#5  QListData::begin (this=0x0, watcher=0x7ba348) at /usr/include/qt4/QtCore/qlist.h:93
#6  QList<KTextEditor::SmartRangeWatcher*>::contains (this=0x0, watcher=0x7ba348) at /usr/include/qt4/QtCore/qlist.h:757
#7  KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x7ba348) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/interfaces/ktexteditor/smartrange.cpp:893
#8  0x00007f1edeb6809a in KDevelop::BackgroundParser::addManagedTopRange (this=0x7ba330, document=..., range=0x0) at /home/gpiez/src/kdevplatform/language/backgroundparser/backgroundparser.cpp:645
#9  0x00007f1edeb8561d in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x19a56a0) at /home/gpiez/src/kdevplatform/language/duchain/duchain.cpp:1541
#10 0x00007f1edeb870e5 in KDevelop::DUChain::qt_metacall (this=0xaba3e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1630a990)
    at /home/gpiez/src/kdevplatform/build/language/duchain.moc:168
#11 0x00007f1ee21fa791 in QMetaObject::activate (sender=0x963870, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f1ee50871d0) at kernel/qobject.cpp:3285
#12 0x00007f1ee50ad512 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x0, _t1=0x19a56a0) at /home/gpiez/src/kdevplatform/build/interfaces/idocumentcontroller.moc:279
#13 0x00007f1ee50ab3b0 in KDevelop::IDocument::notifyLoaded (this=0x19a56a0) at /home/gpiez/src/kdevplatform/interfaces/idocument.cpp:119
#14 0x00007f1ee4e027a0 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x19a5680, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff1630abb0)
    at /home/gpiez/src/kdevplatform/shell/textdocument.cpp:174
#15 KDevelop::TextDocument::qt_metacall (this=0x19a5680, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff1630abb0) at /home/gpiez/src/kdevplatform/build/shell/textdocument.moc:94
#16 0x00007f1ee21fa791 in QMetaObject::activate (sender=0x1f863d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f1ee50871d0) at kernel/qobject.cpp:3285
#17 0x00007f1ee3f95302 in KTextEditor::Document::textChanged (this=0x0, _t1=0x1f863d0) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/interfaces/ktexteditor/document.moc:162
#18 0x00007f1ebe3ed826 in KateDocument::openFile (this=0x1f863d0) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kate/document/katedocument.cpp:2106
#19 0x00007f1ee43ecd87 in KParts::ReadOnlyPart::openUrl (this=0x1f863d0, url=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kparts/part.cpp:557
#20 0x00007f1ee4e01bfd in KDevelop::TextDocument::createViewWidget (this=0x19a5680, parent=0x1a774e0) at /home/gpiez/src/kdevplatform/shell/textdocument.cpp:261
#21 0x00007f1ee4e013e7 in KDevelop::TextView::createWidget (this=0x1920cd0, parent=0x1a774e0) at /home/gpiez/src/kdevplatform/shell/textdocument.cpp:531
#22 0x00007f1ede8c0c96 in Sublime::View::widget (this=0x1920cd0, parent=0x7ba348) at /home/gpiez/src/kdevplatform/sublime/view.cpp:82
#23 0x00007f1ede8baeb0 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7fff1630b820, index=0x872e60) at /home/gpiez/src/kdevplatform/sublime/mainwindow_p.cpp:246
#24 0x00007f1ede8c0248 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0x8bcfa0, op=..., index=0x872e60) at /home/gpiez/src/kdevplatform/sublime/areawalkers.h:32
#25 0x00007f1ede8be357 in Sublime::Area::walkViews<Sublime::MainWindowPrivate::ViewCreator> (this=0x88aad0) at /home/gpiez/src/kdevplatform/sublime/areawalkers.h:48
#26 Sublime::MainWindowPrivate::reconstruct (this=0x88aad0) at /home/gpiez/src/kdevplatform/sublime/mainwindow_p.cpp:272
#27 0x00007f1ede8b5710 in Sublime::MainWindow::setArea (this=0x87b070, area=0x8bcfa0) at /home/gpiez/src/kdevplatform/sublime/mainwindow.cpp:136
#28 0x00007f1ee4dd3523 in KDevelop::WorkingSet::loadToArea (this=<value optimized out>, area=0x8bcfa0, areaIndex=<value optimized out>, clear=<value optimized out>)
    at /home/gpiez/src/kdevplatform/shell/workingsetcontroller.cpp:346
#29 0x00007f1ee4dd3a00 in KDevelop::WorkingSet::changedWorkingSet (this=0x13ccbf0, area=0x8bcfa0, from=<value optimized out>, to=) at /home/gpiez/src/kdevplatform/shell/workingsetcontroller.cpp:648
#30 0x00007f1ee4dd438f in KDevelop::WorkingSet::qt_metacall (this=0x13ccbf0, _c=<value optimized out>, _id=<value optimized out>, _a=0x13d5cc0)
    at /home/gpiez/src/kdevplatform/build/shell/workingsetcontroller.moc:90
#31 0x00007f1ee21fed89 in QObject::event (this=0x13ccbf0, e=0x89bcd0) at kernel/qobject.cpp:1240
#32 0x00007f1ee120f450 in QApplicationPrivate::notify_helper (this=0x674bf0, receiver=0x13ccbf0, e=0x89bcd0) at kernel/qapplication.cpp:4300
#33 0x00007f1ee120f771 in QApplication::notify (this=0x7fff1630c790, receiver=<value optimized out>, e=0x89bcd0) at kernel/qapplication.cpp:4183
#34 0x00007f1ee29ccc96 in KApplication::notify (this=0x7fff1630c790, receiver=0x13ccbf0, event=0x89bcd0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#35 0x00007f1ee21e39ab in QCoreApplication::notifyInternal (this=0x7fff1630c790, receiver=0x13ccbf0, event=0x89bcd0) at kernel/qcoreapplication.cpp:704
#36 0x00007f1ee21e47b7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x616390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x616390) at kernel/qcoreapplication.cpp:1345
#38 0x00007f1ee22166d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#40 0x00007f1edb7dfe9d in g_main_dispatch (context=0x677920) at gmain.c:1960
#41 IA__g_main_context_dispatch (context=0x677920) at gmain.c:2513
#42 0x00007f1edb7e3858 in g_main_context_iterate (context=0x677920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#43 0x00007f1edb7e3980 in IA__g_main_context_iteration (context=0x677920, may_block=1) at gmain.c:2654
#44 0x00007f1ee2216323 in QEventDispatcherGlib::processEvents (this=0x674b50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#45 0x00007f1ee12d001e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f1ee21e24b2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#47 0x00007f1ee21e2885 in QEventLoop::exec (this=0x7fff1630c5c0, flags=) at kernel/qeventloop.cpp:201
#48 0x00007f1ee21e4aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#49 0x000000000040895f in main (argc=<value optimized out>, argv=<value optimized out>) at /home/gpiez/src/kdevelop/app/main_internal.cpp:232
The current source language is "auto; currently asm".

This bug may be a duplicate of or related to bug 231873, bug 230418, bug 225121, bug 221297.

Possible duplicates by query: bug 231873, bug 230418, bug 225121, bug 221297, bug 216783.

Reported using DrKonqi
Comment 1 Gunther Piez 2010-04-22 09:58:33 UTC
Crash is repeatable.
Comment 2 Gunther Piez 2010-04-22 10:02:27 UTC
Crash goes away if I create two files with the same name of the deleted ones with "touch".
Comment 3 Andreas Pakulat 2010-04-22 10:59:32 UTC

*** This bug has been marked as a duplicate of bug 204648 ***
Comment 4 David Nolden 2010-04-24 16:50:18 UTC
This is not a duplicate, the crash happens somewhere else. The crash is very strange though, as there is an assertion that should trigger before it happens.

Please update to a recent version of kdevelop and kdevplatform (last RC or current svn), clean your build-directories before compiling it, and if the crash happens again, re-open this bug report.
Comment 5 Gunther Piez 2010-04-25 10:34:06 UTC
I am currently using the latest svn. I have deleted all plugins too, now the crash doesn't happen anymore. Could this be related to the git plugin? If so, should I file a bug somewhere?