Bug 223804 - Kdevelop 4 crash switching from debug to code tab
Summary: Kdevelop 4 crash switching from debug to code tab
Status: RESOLVED WORKSFORME
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: investigated, triaged
: 241101 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-22 17:01 UTC by Davide Rondini
Modified: 2018-10-21 04:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.70 KB, text/plain)
2010-06-17 14:56 UTC, maciek gajewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Rondini 2010-01-22 17:01:42 UTC
Application that crashed: kdevelop
Version of the application: 3.9.97 (using KDevPlatform 0.9.97)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-174.2.3.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

What I was doing when the application crashed:
I was in the "debug" tab (but my application was not running), and when I selected the "code" tab Kdevelop crashed.

Distribution: Fedora 12 x86_64
Kdevelop and kdevplatform: built from svn, revision 1070989


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

Thread 7 (Thread 0x7f033800b710 (LWP 4433)):
#0  0x0000003c2000b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003c2a45ad42 in wait (time=200000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (time=200000, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f0344cd4bde in KDevelop::DUChainPrivate::CleanupThread::run (this=0x237f420) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/language/duchain/duchain.cpp:286
#4  0x0000003c2a459d25 in QThreadPrivate::start (arg=0x237f420) at thread/qthread_unix.cpp:188
#5  0x0000003c20006a3a in start_thread () from /lib64/libpthread.so.0
#6  0x0000003c1f4de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f032436c710 (LWP 4532)):
#0  0x0000003c1f4d51e3 in poll () from /lib64/libc.so.6
#1  0x0000003c2103c9fc in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003c2103cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003c2a56723e in QEventDispatcherGlib::processEvents (this=0x7f031c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x0000003c2a53d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003c2a53db44 in QEventLoop::exec (this=0x7f032436bd50, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003c2a456f2b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x0000003c2a459d25 in QThreadPrivate::start (arg=0x3e51ef0) at thread/qthread_unix.cpp:188
#8  0x0000003c20006a3a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003c1f4de67d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f032396b710 (LWP 4533)):
#0  0x0000003c2000a249 in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x0000003c2103c78a in ?? () from /lib64/libglib-2.0.so.0
#2  0x0000003c2103cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003c2a56723e in QEventDispatcherGlib::processEvents (this=0x7f03140008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x0000003c2a53d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003c2a53db44 in QEventLoop::exec (this=0x7f032396ad50, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003c2a456f2b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x0000003c2a459d25 in QThreadPrivate::start (arg=0x3612530) at thread/qthread_unix.cpp:188
#8  0x0000003c20006a3a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003c1f4de67d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f031bfff710 (LWP 4535)):
#0  0x0000003c2000b3b9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003c2a4597b5 in thread_sleep (ti=0x7f031bffed00) at thread/qthread_unix.cpp:297
#2  0x0000003c2a459920 in QThread::msleep (msecs=925076000) at thread/qthread_unix.cpp:323
#3  0x00007f032516f661 in UIBlockTester::UIBlockTesterThread::run (this=0x3e69480) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#4  0x0000003c2a459d25 in QThreadPrivate::start (arg=0x3e69480) at thread/qthread_unix.cpp:188
#5  0x0000003c20006a3a in start_thread () from /lib64/libpthread.so.0
#6  0x0000003c1f4de67d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0321e68710 (LWP 4914)):
#0  0x0000003c2000b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003c2a45addb in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003c3da0aaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x22d4810, th=0x5374cf0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c3da0cbfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x22d4ca0, th=0x5374cf0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c3da0b21f in ThreadWeaver::ThreadRunHelper::run (this=0x7f0321e67d50, parent=0x22d4810, th=0x5374cf0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003c3da0b658 in ThreadWeaver::Thread::run (this=0x5374cf0) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003c2a459d25 in QThreadPrivate::start (arg=0x5374cf0) at thread/qthread_unix.cpp:188
#8  0x0000003c20006a3a in start_thread () from /lib64/libpthread.so.0
#9  0x0000003c1f4de67d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0321467710 (LWP 4915)):
#0  0x0000003c2000b04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x0000003c2a45addb in wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=18446744073709551615, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x0000003c3da0aaf6 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x22d4810, th=0x522fb80) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c3da0cbfb in ThreadWeaver::WorkingHardState::applyForWork (this=0x22d4ca0, th=0x522fb80) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c3da0cc14 in ThreadWeaver::WorkingHardState::applyForWork (this=0x22d4ca0, th=0x522fb80) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003c3da0b21f in ThreadWeaver::ThreadRunHelper::run (this=0x7f0321466d50, parent=0x22d4810, th=0x522fb80) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003c3da0b658 in ThreadWeaver::Thread::run (this=0x522fb80) at /usr/src/debug/kdelibs-4.3.4/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003c2a459d25 in QThreadPrivate::start (arg=0x522fb80) at thread/qthread_unix.cpp:188
#9  0x0000003c20006a3a in start_thread () from /lib64/libpthread.so.0
#10 0x0000003c1f4de67d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0344135840 (LWP 4432)):
[KCrash Handler]
#5  begin (this=<value optimized out>) at /usr/include/QtCore/qlist.h:90
#6  contains (this=<value optimized out>) at /usr/include/QtCore/qlist.h:664
#7  KTextEditor::SmartRange::addWatcher (this=<value optimized out>) at /usr/src/debug/kdelibs-4.3.4/interfaces/ktexteditor/smartrange.cpp:893
#8  0x00007f0344ca2c3a in KDevelop::BackgroundParser::addManagedTopRange (this=0x22d4200, document=..., range=0x0)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/language/backgroundparser/backgroundparser.cpp:638
#9  0x00007f0344cbcf8d in KDevelop::DUChain::documentLoadedPrepare (this=0x22d4218, doc=0x459cde0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/language/duchain/duchain.cpp:1541
#10 0x00007f0344cbeaf5 in KDevelop::DUChain::qt_metacall (this=0x210dfa0, _c=InvokeMetaMethod, _id=6, _a=0x7fffe10340a0)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/build/language/duchain.moc:159
#11 0x0000003c2a55408c in QMetaObject::activate (sender=0x22d5510, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fffe10340a0) at kernel/qobject.cpp:3112
#12 0x00007f03457f5422 in KDevelop::IDocumentController::documentLoadedPrepare (this=<value optimized out>, _t1=0x459cde0)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/build/interfaces/idocumentcontroller.moc:268
#13 0x00007f03457f3910 in KDevelop::IDocument::notifyLoaded (this=0x459cde0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/interfaces/idocument.cpp:119
#14 0x00007f034554ec50 in slotDocumentLoaded (this=<value optimized out>) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/shell/textdocument.cpp:154
#15 KDevelop::TextDocument::qt_metacall (this=<value optimized out>) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/build/shell/textdocument.moc:88
#16 0x0000003c2a55408c in QMetaObject::activate (sender=0x742d970, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fffe1034260) at kernel/qobject.cpp:3112
#17 0x0000003c3ce1d392 in KTextEditor::Document::textChanged (this=<value optimized out>, _t1=0x742d970)
    at /usr/src/debug/kdelibs-4.3.4/x86_64-redhat-linux-gnu/interfaces/ktexteditor/document.moc:156
#18 0x00007f0322774c00 in KateDocument::openFile (this=0x742d970) at /usr/src/debug/kdelibs-4.3.4/kate/document/katedocument.cpp:3196
#19 0x0000003c2d01e8e7 in KParts::ReadOnlyPart::openUrl (this=0x742d970, url=<value optimized out>) at /usr/src/debug/kdelibs-4.3.4/kparts/part.cpp:557
#20 0x00007f034554f115 in KDevelop::TextDocument::createViewWidget (this=0x459cdc0, parent=0x71e8cf0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/shell/textdocument.cpp:239
#21 0x00007f034554e4f7 in KDevelop::TextView::createWidget (this=0x3e63380, parent=0x71e8cf0) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/shell/textdocument.cpp:522
#22 0x00007f0344a04556 in Sublime::View::widget (this=0x3e63380, parent=<value optimized out>) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/view.cpp:82
#23 0x00007f0344a006e8 in Sublime::MainWindowPrivate::ViewCreator::operator() (this=<value optimized out>, index=0x215d6e0)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/mainwindow_p.cpp:244
#24 0x00007f0344a03d68 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0x215cc70, op=..., index=<value optimized out>)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/areawalkers.h:32
#25 0x00007f0344a0101c in walkViews<Sublime::MainWindowPrivate::ViewCreator> (index=<value optimized out>, op=<value optimized out>, this=<value optimized out>)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/areawalkers.h:48
#26 Sublime::MainWindowPrivate::reconstruct (index=<value optimized out>, op=<value optimized out>, this=<value optimized out>)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/mainwindow_p.cpp:270
#27 0x00007f03449f9dd0 in Sublime::MainWindow::setArea (this=0x2118870, area=0x215cc70) at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/mainwindow.cpp:114
#28 0x00007f03449f71a2 in Sublime::Controller::showArea (this=<value optimized out>, areaTypeId=..., mainWindow=0x2118870)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/controller.cpp:163
#29 0x00007f03449fdb36 in Sublime::MainWindowPrivate::toggleArea (this=<value optimized out>, index=<value optimized out>)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/sublime/mainwindow_p.cpp:600
#30 0x00007f0344a03189 in Sublime::MainWindowPrivate::qt_metacall (this=0x214d400, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe1035190)
    at /home/davide/Programmi/Kdevelop4.0/sources/kdevplatform/build/sublime/mainwindow_p.moc:115
#31 0x0000003c2a55408c in QMetaObject::activate (sender=0x21571f0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fffe1035190) at kernel/qobject.cpp:3112
#32 0x0000003c2c99bc9e in QTabBar::currentChanged (this=<value optimized out>, _t1=0) at .moc/release-shared/moc_qtabbar.cpp:201
#33 0x0000003c2c9a251e in QTabBar::mousePressEvent (this=0x21571f0, event=0x7fffe1035600) at widgets/qtabbar.cpp:1707
#34 0x0000003c2c5ddcbe in QWidget::event (this=0x21571f0, event=0x7fffe1035600) at kernel/qwidget.cpp:7550
#35 0x0000003c2c9a25b6 in QTabBar::event (this=0x21571f0, event=0x7fffe1035600) at widgets/qtabbar.cpp:1453
#36 0x0000003c2c58f65c in QApplicationPrivate::notify_helper (this=0x1fce990, receiver=0x21571f0, e=0x7fffe1035600) at kernel/qapplication.cpp:4065
#37 0x0000003c2c596715 in QApplication::notify (this=<value optimized out>, receiver=0x708daf0, e=0x7fffe1035960) at kernel/qapplication.cpp:3767
#38 0x0000003c2f211a66 in KApplication::notify (this=0x7fffe10378f0, receiver=0x708daf0, event=0x7fffe1035960) at /usr/src/debug/kdelibs-4.3.4/kdeui/kernel/kapplication.cpp:302
#39 0x0000003c2a53ee6c in QCoreApplication::notifyInternal (this=0x7fffe10378f0, receiver=0x708daf0, event=0x7fffe1035960) at kernel/qcoreapplication.cpp:610
#40 0x0000003c2c595ff2 in sendSpontaneousEvent (event=0x7fffe1035960, receiver=0x708daf0) at ../../src/corelib/kernel/qcoreapplication.h:216
#41 QApplicationPrivate::sendMouseEvent (event=0x7fffe1035960, receiver=0x708daf0) at kernel/qapplication.cpp:2924
#42 0x0000003c2c5fb9ee in QETWidget::translateMouseEvent (this=0x2118870, event=<value optimized out>) at kernel/qapplication_x11.cpp:4408
#43 0x0000003c2c5faaa8 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffe1037490) at kernel/qapplication_x11.cpp:3549
#44 0x0000003c2c62284c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x0000003c2103922e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#46 0x0000003c2103cc18 in ?? () from /lib64/libglib-2.0.so.0
#47 0x0000003c2103cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#48 0x0000003c2a5671e6 in QEventDispatcherGlib::processEvents (this=0x172c0e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#49 0x0000003c2c621ffe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#50 0x0000003c2a53d772 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x0000003c2a53db44 in QEventLoop::exec (this=0x7fffe10377c0, flags=...) at kernel/qeventloop.cpp:201
#52 0x0000003c2a53fcd9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#53 0x0000000000405e87 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/davide/Programmi/Kdevelop4.0/sources/kdevelop/app/main.cpp:209

Reported using DrKonqi
Comment 1 David Nolden 2010-02-13 15:26:52 UTC
Is this reproducable, or at least happening often?
Comment 2 David Nolden 2010-04-18 12:37:38 UTC
Will probably be fixed using the foreground mutex for KDevelop 4.1.
Comment 3 Andreas Pakulat 2010-06-08 23:32:46 UTC
*** Bug 241101 has been marked as a duplicate of this bug. ***
Comment 4 maciek gajewski 2010-06-17 14:56:50 UTC
Created attachment 48074 [details]
New crash information added by DrKonqi

Crashes when opening/importing CMake-based project. The same project was workign perflectly before, but after some extarnal changes to the CMakeLists.txt (and posiibli other cmake files)
Comment 5 Milian Wolff 2010-08-18 16:18:03 UTC
can you reproduce this with current KDevelop and KDE? If so, please reopen.

Furthermore, it will be fixed for sure once KDevelop 4.2 is released and is using Kate's new MovingRanges.
Comment 6 maciek gajewski 2010-08-18 17:02:11 UTC
Unfortunately, I can't have anything here that doesn't comes from ubuntu repos (work machine). So I don't have the newest version available.
Comment 7 Milian Wolff 2010-08-18 17:20:23 UTC
sure, but back when you reported the error, you used beta 7 which is very outdated. KDevelop 4.0.1 should be in the Ubuntu repositories.
Comment 8 maciek gajewski 2010-08-18 17:41:49 UTC
It is not. There is something wrong with KDevelop on kubuntu.
Comment 9 Andrew Crouthamel 2018-09-20 22:09:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Andrew Crouthamel 2018-10-21 04:58:55 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!