Bug 216381 - KDeveklop crash when opening a source file
Summary: KDeveklop crash when opening a source file
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (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-27 13:14 UTC by António Oliveira
Modified: 2009-12-03 19:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Stack back trace of chrash when opening file (11.93 KB, text/plain)
2009-12-02 17:48 UTC, werner.dittmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description António Oliveira 2009-11-27 13:14:25 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:
I Was working for already some time when kdevelop crashed as I clicked to open a source file inside the IDE.
Seems to hapen randomly.

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

Thread 11 (Thread 0x7f3028db2910 (LWP 4391)):
#0  0x00007f30355d2ed1 in nanosleep () from /lib/libc.so.6
#1  0x00007f3035607b64 in usleep (useconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:33
#2  0x00007f30323a92ab in KDevelop::DUChainLock::lockForWrite (this=0x2166b98, timeout=<value optimized out>) at ../../language/duchain/duchainlock.cpp:301
#3  0x00007f30323a9454 in KDevelop::DUChainWriteLocker::lock (this=0x7f3028db1fd0) at ../../language/duchain/duchainlock.cpp:411
#4  0x00007f30323635da in KDevelop::DUChainPrivate::doMoreCleanup (this=0x2166b80, retries=<value optimized out>, needLockRepository=<value optimized out>) at ../../language/duchain/duchain.cpp:655
#5  0x00007f30323649e4 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x216f450) at ../../language/duchain/duchain.cpp:288
#6  0x00007f30367c0445 in QThreadPrivate::start (arg=0x216f450) at thread/qthread_unix.cpp:188
#7  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f301370a910 (LWP 30038)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f3013709d40 in ?? ()
#2  0x00007fff6d845782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 0x7f3011a7a910 (LWP 30094)):
#0  0x00007f3035602373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f302fc4636c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f302fc466b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f30368cf1fe in QEventDispatcherGlib::processEvents (this=0x3b6fe80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007f30368a5532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f30368a5904 in QEventLoop::exec (this=0x7f3011a7a050, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f30367bd6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f30367c0445 in QThreadPrivate::start (arg=0x3ad3850) at thread/qthread_unix.cpp:188
#8  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3011279910 (LWP 30095)):
#0  0x00007f30368cf283 in timerSourceCheck (source=0x3a511c0) at kernel/qeventdispatcher_glib.cpp:153
#1  0x00007f302fc45a9a in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007f302fc46280 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f302fc466b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f30368cf1fe in QEventDispatcherGlib::processEvents (this=0x3d5e730, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#5  0x00007f30368a5532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f30368a5904 in QEventLoop::exec (this=0x7f3011279050, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f30367bd6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f30367c0445 in QThreadPrivate::start (arg=0x3c22a20) at thread/qthread_unix.cpp:188
#9  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3010a78910 (LWP 30098)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f30367bfed5 in thread_sleep (ti=0x7f3010a78000) at thread/qthread_unix.cpp:297
#2  0x00007f30367c0040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007f301246e301 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#4  0x00007f30367c0445 in QThreadPrivate::start (arg=0x3afa730) at thread/qthread_unix.cpp:188
#5  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f303560e7bd 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 0x7f3010277910 (LWP 30099)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f30367c14fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x20cc9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x20cc9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f302d5d6326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x20d0a40, th=0x3d64e50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f302d5d845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x20cb610, th=0x3d64e50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f302d5d8474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20cb610, th=0x3d64e50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f302d5d6a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3010277050, parent=0x20d0a40, th=0x3d64e50) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f302d5d6eb8 in ThreadWeaver::Thread::run (this=0x3d64e50) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f30367c0445 in QThreadPrivate::start (arg=0x3d64e50) at thread/qthread_unix.cpp:188
#9  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7f300fa76910 (LWP 30100)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f30367c14fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x20cc9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x20cc9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f302d5d6326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x20d0a40, th=0x7f301409b8d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f302d5d845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x20cb610, th=0x7f301409b8d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f302d5d8474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20cb610, th=0x7f301409b8d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f302d5d8474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20cb610, th=0x7f301409b8d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f302d5d8474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x20cb610, th=0x7f301409b8d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f302d5d6a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f300fa76050, parent=0x20d0a40, th=0x7f301409b8d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007f302d5d6eb8 in ThreadWeaver::Thread::run (this=0x7f301409b8d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007f30367c0445 in QThreadPrivate::start (arg=0x7f301409b8d0) at thread/qthread_unix.cpp:188
#11 0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f300f275910 (LWP 30101)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f30367c14fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x20cc9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x20cc9c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f302d5d6326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x20d0a40, th=0x3adb8e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f302d5d845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x20cb610, th=0x3adb8e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f302d5d6a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f300f275050, parent=0x20d0a40, th=0x3adb8e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f302d5d6eb8 in ThreadWeaver::Thread::run (this=0x3adb8e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f30367c0445 in QThreadPrivate::start (arg=0x3adb8e0) at thread/qthread_unix.cpp:188
#8  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f300af6b910 (LWP 13373)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f30367c14fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x4638e50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4638e50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f302d5d6326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4638ae0, th=0x4639460) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f302d5d845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x4638f30, th=0x4639460) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f302d5d6a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f300af6b050, parent=0x4638ae0, th=0x4639460) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f302d5d6eb8 in ThreadWeaver::Thread::run (this=0x4639460) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f30367c0445 in QThreadPrivate::start (arg=0x4639460) at thread/qthread_unix.cpp:188
#8  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3012f09910 (LWP 19056)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f30367c14fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x4638e50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4638e50, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f302d5d6326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x4638ae0, th=0x6e77e70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f302d5d845b in ThreadWeaver::WorkingHardState::applyForWork (this=0x4638f30, th=0x6e77e70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f302d5d6a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3012f09050, parent=0x4638ae0, th=0x6e77e70) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f302d5d6eb8 in ThreadWeaver::Thread::run (this=0x6e77e70) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f30367c0445 in QThreadPrivate::start (arg=0x6e77e70) at thread/qthread_unix.cpp:188
#8  0x00007f302f9f1a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f303560e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3037f8a750 (LWP 4115)):
[KCrash Handler]
#5  QListData::begin (this=0x0, watcher=0x20d0238) at /usr/include/qt4/QtCore/qlist.h:90
#6  QList<KTextEditor::SmartRangeWatcher*>::contains (this=0x0, watcher=0x20d0238) at /usr/include/qt4/QtCore/qlist.h:664
#7  KTextEditor::SmartRange::addWatcher (this=0x0, watcher=0x20d0238) at ../../../interfaces/ktexteditor/smartrange.cpp:893
#8  0x00007f30323313ea in KDevelop::BackgroundParser::addManagedTopRange (this=0x20d0220, document=..., range=0x0) at ../../language/backgroundparser/backgroundparser.cpp:625
#9  0x00007f303234c5ac in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x5b65fe0) at ../../language/duchain/duchain.cpp:1463
#10 0x00007f303234f11f in KDevelop::DUChain::qt_metacall (this=0x214d210, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d823a40) at ./duchain.moc:162
#11 0x00007f30368bbddc in QMetaObject::activate (sender=0x20cf5c0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f30376ed710) at kernel/qobject.cpp:3113
#12 0x00007f303770fe22 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x0, _t1=0x5b65fe0) at ./idocumentcontroller.moc:256
#13 0x00007f303770df40 in KDevelop::IDocument::notifyLoaded (this=0x5b65fe0) at ../../interfaces/idocument.cpp:119
#14 0x00007f303747bff0 in KDevelop::TextDocumentPrivate::slotDocumentLoaded (this=0x5b65fc0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff6d823c00)
    at ../../shell/textdocument.cpp:154
#15 KDevelop::TextDocument::qt_metacall (this=0x5b65fc0, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff6d823c00) at ./textdocument.moc:86
#16 0x00007f30368bbddc in QMetaObject::activate (sender=0x630dae0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f30376ed710) at kernel/qobject.cpp:3113
#17 0x00007f30371d7ac2 in KTextEditor::Document::textChanged (this=0x0, _t1=0x630dae0) at ./document.moc:156
#18 0x00007f300b226fc0 in KateDocument::openFile (this=0x630dae0) at ../../kate/document/katedocument.cpp:3191
#19 0x00007f30342aa0c7 in KParts::ReadOnlyPart::openUrl (this=0x630dae0, url=<value optimized out>) at ../../kparts/part.cpp:557
#20 0x00007f303747c495 in KDevelop::TextDocument::createViewWidget (this=0x5b65fc0, parent=0x513a9e0) at ../../shell/textdocument.cpp:239
#21 0x00007f303747b7f7 in KDevelop::TextView::createWidget (this=0x6fb6c30, parent=0x513a9e0) at ../../shell/textdocument.cpp:504
#22 0x00007f303208cc06 in Sublime::View::widget(QWidget*) () from /usr/lib/libsublime.so.1
#23 0x00007f3032088890 in ?? () from /usr/lib/libsublime.so.1
#24 0x00007f303208be88 in Sublime::Area::WalkerMode Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator>(Sublime::MainWindowPrivate::ViewCreator&, Sublime::AreaIndex*) ()
   from /usr/lib/libsublime.so.1
#25 0x00007f3032089071 in ?? () from /usr/lib/libsublime.so.1
#26 0x00007f3032080a4c in Sublime::MainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libsublime.so.1
#27 0x00007f3037451fa0 in KDevelop::MainWindow::qt_metacall (this=0x0, _c=34406968, _id=0, _a=0x7f30376ed710) at ./mainwindow.moc:81
#28 0x00007f30368bbddc in QMetaObject::activate (sender=0x1f39990, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f30376ed710) at kernel/qobject.cpp:3113
#29 0x00007f3032072b18 in Sublime::Area::viewAdded(Sublime::AreaIndex*, Sublime::View*) () from /usr/lib/libsublime.so.1
#30 0x00007f3032076a75 in Sublime::Area::addView(Sublime::View*, Sublime::AreaIndex*) () from /usr/lib/libsublime.so.1
#31 0x00007f3037482c2e in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x20cf540, doc=0x5b65fe0, range=<value optimized out>, activationParams=)
    at ../../shell/documentcontroller.cpp:328
#32 0x00007f30374832de in KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x20cf540, inputUrl=<value optimized out>, prefName=<value optimized out>, range=<value optimized out>, 
    activationParams=) at ../../shell/documentcontroller.cpp:256
#33 0x00007f3037480662 in KDevelop::DocumentController::openDocument (this=0x20cf5c0, inputUrl=..., range=..., activationParams=<value optimized out>) at ../../shell/documentcontroller.cpp:522
#34 0x00007f301393376a in ProjectManagerView::openUrl (this=<value optimized out>, url=...) at ../../../plugins/projectmanagerview/projectmanagerview.cpp:214
#35 0x00007f3013933f99 in ProjectManagerView::qt_metacall (this=0x3a00750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d825290) at ./projectmanagerview.moc:88
#36 0x00007f30368bbddc in QMetaObject::activate (sender=0x39f09a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f30376ed710) at kernel/qobject.cpp:3113
#37 0x00007f3013935992 in ProjectTreeView::activateUrl (this=0x0, _t1=<value optimized out>) at ./projecttreeview.moc:88
#38 0x00007f3013935b9a in ProjectTreeView::slotActivated (this=0x39f09a0, index=...) at ../../../plugins/projectmanagerview/projecttreeview.cpp:148
#39 0x00007f30139370e1 in ProjectTreeView::qt_metacall (this=0x39f09a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6d825400) at ./projecttreeview.moc:74
#40 0x00007f30368bbddc in QMetaObject::activate (sender=0x39f09a0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7f30376ed710) at kernel/qobject.cpp:3113
#41 0x00007f303621bc05 in QAbstractItemView::doubleClicked (this=0x0, _t1=<value optimized out>) at .moc/release-shared/moc_qabstractitemview.cpp:328
#42 0x00007f3036268b93 in QTreeView::mouseDoubleClickEvent (this=0x39f09a0, event=0x7fff6d826060) at itemviews/qtreeview.cpp:1831
#43 0x00007f3035d9d808 in QWidget::event (this=0x39f09a0, event=0x7fff6d826060) at kernel/qwidget.cpp:7553
#44 0x00007f30360f92a6 in QFrame::event (this=0x39f09a0, e=0x7fff6d826060) at widgets/qframe.cpp:559
#45 0x00007f303622c21b in QAbstractItemView::viewportEvent (this=0x39f09a0, event=0x7fff6d826060) at itemviews/qabstractitemview.cpp:1476
#46 0x00007f3036263420 in QTreeView::viewportEvent (this=0x39f09a0, event=0x7fff6d826060) at itemviews/qtreeview.cpp:1266
#47 0x00007f30368a5f47 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x3a075c0, event=0x7fff6d826060) at kernel/qcoreapplication.cpp:726
#48 0x00007f3035d4eecc in QApplicationPrivate::notify_helper (this=0x1dd6510, receiver=0x3a075c0, e=0x7fff6d826060) at kernel/qapplication.cpp:4052
#49 0x00007f3035d56011 in QApplication::notify (this=<value optimized out>, receiver=0x3a075c0, e=0x7fff6d826060) at kernel/qapplication.cpp:3758
#50 0x00007f3036dbcab6 in KApplication::notify (this=0x7fff6d827fd0, receiver=0x3a075c0, event=0x7fff6d826060) at ../../kdeui/kernel/kapplication.cpp:302
#51 0x00007f30368a6c2c in QCoreApplication::notifyInternal (this=0x7fff6d827fd0, receiver=0x3a075c0, event=0x7fff6d826060) at kernel/qcoreapplication.cpp:610
#52 0x00007f3035d558e0 in QCoreApplication::sendSpontaneousEvent (receiver=0x3a075c0, event=0x7fff6d826060, alienWidget=0x3a075c0, nativeWidget=0x1f07500, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#53 QApplicationPrivate::sendMouseEvent (receiver=0x3a075c0, event=0x7fff6d826060, alienWidget=0x3a075c0, nativeWidget=0x1f07500, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at kernel/qapplication.cpp:2924
#54 0x00007f3035dbba0e in QETWidget::translateMouseEvent (this=0x1f07500, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#55 0x00007f3035dbaaa9 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff6d827b90) at kernel/qapplication_x11.cpp:3550
#56 0x00007f3035de3d0c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f302fc42bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#58 0x00007f302fc46588 in ?? () from /lib/libglib-2.0.so.0
#59 0x00007f302fc466b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#60 0x00007f30368cf1a6 in QEventDispatcherGlib::processEvents (this=0xd24870, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#61 0x00007f3035de34be in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#62 0x00007f30368a5532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#63 0x00007f30368a5904 in QEventLoop::exec (this=0x7fff6d827ec0, flags=) at kernel/qeventloop.cpp:201
#64 0x00007f30368a7ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#65 0x0000000000407f27 in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Hamish Rodda 2009-11-27 15:10:46 UTC
This is quite weird, looking at svn head code there is a null pointer assert in frame 9, but your version progressed to frame 8 where range was null.  Are you building in release mode?  Or maybe the code involved has changed and updating might help (dunno, have been away from development until recently)
Comment 2 António Oliveira 2009-11-27 15:31:56 UTC
Hi. My build isn't the latest svn of kdevelop. I'm using 3.9.95 (Beta 5?) on kubuntu 9.10 amd64.
I installed kdevelop-dbg so that I could fetch debugging info after these crashes.

If this has been already fixed, please disregard the report.
Is there any easy way to have a more up-to-date version of kdevelop in kubuntu that doesn't involve compilation? Looks like the latest i can grab from the official repositories is 3.9.95


Cheers,
--to
Comment 3 werner.dittmann 2009-12-02 17:48:35 UTC
Created attachment 38770 [details]
Stack back trace of chrash when opening file
Comment 4 werner.dittmann 2009-12-02 17:50:46 UTC
Hi,

I have a similar problem. Version is the SVN from today (Dec 2, afternoon).

I cannot work anymore because kdevelop continuously crashes when I try to open
a file. See stack BT (attachment)

regards,
Werner
Comment 5 Andreas Pakulat 2009-12-02 20:27:01 UTC
(In reply to comment #4)
> Hi,
> 
> I have a similar problem. Version is the SVN from today (Dec 2, afternoon).
> 
> I cannot work anymore because kdevelop continuously crashes when I try to open
> a file. See stack BT (attachment)

Thats because you're mixing kdevelop/kdevplatform packages with self-compiled versions on the same system. Thats not supported and easily leads to such crashes.

And actually the same is true for the OP, the backtrace shows a /usr/lib/sublime  in some places and full file info in other cases for shell-code.
Comment 6 werner.dittmann 2009-12-03 16:02:34 UTC
Thanks for the reply.

Thus it is recommended to de-install the provided, e.g. from OpenSuse,
Kdeveop4 first and then do compilation and execution.

I followed the instructions for compliation and set the environment
variables as shown before starting the self-compiled kdevelop.

Regards,
Werner

Andreas Pakulat schrieb:
> https://bugs.kde.org/show_bug.cgi?id=216381
> 
> 
> Andreas Pakulat <apaku@gmx.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
> 
> 
> 
> 
> --- Comment #5 from Andreas Pakulat <apaku gmx de>  2009-12-02 20:27:01 ---
> (In reply to comment #4)
>> Hi,
>>
>> I have a similar problem. Version is the SVN from today (Dec 2, afternoon).
>>
>> I cannot work anymore because kdevelop continuously crashes when I try to open
>> a file. See stack BT (attachment)
> 
> Thats because you're mixing kdevelop/kdevplatform packages with self-compiled
> versions on the same system. Thats not supported and easily leads to such
> crashes.
> 
> And actually the same is true for the OP, the backtrace shows a
> /usr/lib/sublime  in some places and full file info in other cases for
> shell-code.
>
Comment 7 werner.dittmann 2009-12-03 19:04:41 UTC
After your first email:

I de-installed kdevelop4, did "make clean" in both kdev* build directories
and re-compiled and installed the whole stuff. Staring kdevelop4 resulted in the
well known crash.

Now I checked the system library dir (/usr/lib64) and found that it still contained
all libkdevplatorm* and libsublime libs. De-installation of kdevelop4 did
not delete these libs. I deleted them and started kdevelop agains. Same result:
trying to open a file leads to a crash:

QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::CodeCompletionModel(0x34c6bd0), parent's thread is QThread(0x611570), current thread is QThread(0x34c63e0)

QObject: Cannot create children for a parent that is in a different thread.
(Parent is Cpp::MissingIncludeCompletionModel(0x34ce640), parent's thread is QThread(0x611570), current thread is QThread(0x34d08d0)

KCrash: Application 'kdevelop' crashing...

What to do now? make clean / recompile again after I deleted the libs from
/usr/lib64? Or is this a more serious problem?

Regards,
Werner

Am 02.12.2009 20:27, schrieb Andreas Pakulat:
> https://bugs.kde.org/show_bug.cgi?id=216381
> 
> 
> Andreas Pakulat <apaku@gmx.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
> 
> 
> 
> 
> --- Comment #5 from Andreas Pakulat <apaku gmx de>  2009-12-02 20:27:01 ---
> (In reply to comment #4)
>> Hi,
>>
>> I have a similar problem. Version is the SVN from today (Dec 2, afternoon).
>>
>> I cannot work anymore because kdevelop continuously crashes when I try to open
>> a file. See stack BT (attachment)
> 
> Thats because you're mixing kdevelop/kdevplatform packages with self-compiled
> versions on the same system. Thats not supported and easily leads to such
> crashes.
> 
> And actually the same is true for the OP, the backtrace shows a
> /usr/lib/sublime  in some places and full file info in other cases for
> shell-code.
>
Comment 8 Milian Wolff 2009-12-03 19:09:54 UTC
uninstall everything, do a `find / -type f -name "*kdev*"`, delete all libs (you can try to pass -delete, but imo you should recheck & double-check that these files are not shipped with some of your distro's packages).
Comment 9 werner.dittmann 2009-12-03 19:19:28 UTC
Yet another info:

I just found some other kdev*.so files in /usr/lib64/kde4. After moving those
in another directory kdevelop4 was able to open files.

IMHO these infos should be put onto the web page that describes how to
compile and install kdevelop4 from SVN:

- remove old kdevelop package using the systems package management
- check /usr/lib64 (or /usr/lib) and the kde4 sub-directory and remove
  existing kdevelopment so files. Probably a list of files is required.

Regards,
Werner

Am 02.12.2009 20:27, schrieb Andreas Pakulat:
> https://bugs.kde.org/show_bug.cgi?id=216381
> 
> 
> Andreas Pakulat <apaku@gmx.de> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |INVALID
> 
> 
> 
> 
> --- Comment #5 from Andreas Pakulat <apaku gmx de>  2009-12-02 20:27:01 ---
> (In reply to comment #4)
>> Hi,
>>
>> I have a similar problem. Version is the SVN from today (Dec 2, afternoon).
>>
>> I cannot work anymore because kdevelop continuously crashes when I try to open
>> a file. See stack BT (attachment)
> 
> Thats because you're mixing kdevelop/kdevplatform packages with self-compiled
> versions on the same system. Thats not supported and easily leads to such
> crashes.
> 
> And actually the same is true for the OP, the backtrace shows a
> /usr/lib/sublime  in some places and full file info in other cases for
> shell-code.
>
Comment 10 Milian Wolff 2009-12-03 19:31:07 UTC
done, but please: a bug tracker is not a support forum. next time go to #kdevelop on freenode or contact us via our mailing list.