Bug 261004

Summary: kdevelop crash at launch
Product: [Applications] kdevelop Reporter: Ioannis <ioannis.nousias>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: investigated, triaged
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: 4.2.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ioannis 2010-12-22 21:35:18 UTC
Application: kdevelop (4.1.1)
KDE Platform Version: 4.5.4 (KDE 4.5.4)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
starting Kdevelop via synapse (or menu, or gnome-do etc). Kdevelop seems to work when launched via CLI (without setsid or &)

-- Backtrace:
Application: KDevelop (kdevelop), signal: Floating point exception
[Current thread is 1 (Thread 0x7f027d8f0760 (LWP 3864))]

Thread 5 (Thread 0x7f026cf5f700 (LWP 3877)):
#0  0x00007f027ad71203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0274dae009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0274dae7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f026d6963c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f0274dd37e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f027aa81971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f027ad7d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f025ab1d700 (LWP 3924)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f027c07dda2 in wait (this=<value optimized out>, mutex=0x17c5e40, time=200000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x17c5e40, time=200000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f02781cd9de in KDevelop::DUChainPrivate::CleanupThread::run (this=0x17c5e20) at ../../language/duchain/duchain.cpp:286
#4  0x00007f027c07d27e in QThreadPrivate::start (arg=0x17c5e20) at thread/qthread_unix.cpp:266
#5  0x00007f027aa81971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f027ad7d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f025378d700 (LWP 4175)):
#0  0x00007fffc8b96904 in clock_gettime ()
#1  0x00007f02750500bf in clock_gettime (clock_id=1, tp=0x7f025378cb20) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f027c0d294f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f027c19f1fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f027c19f225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f027c19d3dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f025378cc5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f027c19d485 in timerSourcePrepare (source=0x1, timeout=0x7f025378cb20) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f0274dada11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f0274dade78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f0274dae45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f027c19d1e6 in QEventDispatcherGlib::processEvents (this=0x7f024c0196f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f027c16fa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f027c16fdec in QEventLoop::exec (this=0x7f025378cdf0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f027c07a2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f027c07d27e in QThreadPrivate::start (arg=0x2947790) at thread/qthread_unix.cpp:266
#16 0x00007f027aa81971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007f027ad7d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0253f8e700 (LWP 4176)):
#0  0x00007fffc8b96904 in clock_gettime ()
#1  0x00007f02750500bf in clock_gettime (clock_id=1, tp=0x7f0253f8db20) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f027c0d294f in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#4  0x00007f027c19f1fd in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f027c19f225 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f027c19d3dd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f0253f8dc5c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f027c19d485 in timerSourcePrepare (source=0x1, timeout=0x7f0253f8db20) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f0274dada11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f0274dade78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f0274dae45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f027c19d1e6 in QEventDispatcherGlib::processEvents (this=0x17e0c40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#12 0x00007f027c16fa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#13 0x00007f027c16fdec in QEventLoop::exec (this=0x7f0253f8ddf0, flags=) at kernel/qeventloop.cpp:201
#14 0x00007f027c07a2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#15 0x00007f027c07d27e in QThreadPrivate::start (arg=0x292dc00) at thread/qthread_unix.cpp:266
#16 0x00007f027aa81971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#17 0x00007f027ad7d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f027d8f0760 (LWP 3864)):
[KCrash Handler]
#6  0x00007f02782e8410 in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x3676fa0, context=<value optimized out>, colorsForDeclarations=) at ../../language/highlighting/codehighlighting.cpp:262
#7  0x00007f02782e93ef in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x3676fa0, context=0x2debc60) at ../../language/highlighting/codehighlighting.cpp:224
#8  0x00007f02782e9302 in KDevelop::CodeHighlightingInstance::highlightDUChainSimple (this=0x3676fa0, context=0x2dc4dd0) at ../../language/highlighting/codehighlighting.cpp:236
#9  0x00007f02782e953b in KDevelop::CodeHighlightingInstance::highlightDUChain (this=0x3676fa0, context=0x2dc4dd0) at ../../language/highlighting/codehighlighting.cpp:204
#10 0x00007f02782e97c1 in KDevelop::CodeHighlighting::highlightDUChain (this=<value optimized out>, context=0x2dc4dd0) at ../../language/highlighting/codehighlighting.cpp:173
#11 0x00007f02781b3635 in KDevelop::DUChain::documentLoadedPrepare (this=<value optimized out>, doc=0x2dd0640) at ../../language/duchain/duchain.cpp:1562
#12 0x00007f02781b6175 in KDevelop::DUChain::qt_metacall (this=0x17c8a10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc8a82920) at ./duchain.moc:168
#13 0x00007f027c188b27 in QMetaObject::activate (sender=0x16e7db0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#14 0x00007f027d03e882 in KDevelop::IDocumentController::documentLoadedPrepare (this=0x293de00, _t1=0x2dd0640) at ./idocumentcontroller.moc:279
#15 0x00007f027d03c4d0 in KDevelop::IDocument::notifyLoaded (this=0x2dd0640) at ../../interfaces/idocument.cpp:119
#16 0x00007f027cdaf880 in slotDocumentLoaded (this=0x2dd0620, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffc8a82b40) at ../../shell/textdocument.cpp:174
#17 KDevelop::TextDocument::qt_metacall (this=0x2dd0620, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffc8a82b40) at ./textdocument.moc:94
#18 0x00007f027c188b27 in QMetaObject::activate (sender=0x364da60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#19 0x00007f027cb07ee2 in KTextEditor::Document::textChanged (this=0x293de00, _t1=0x364da60) at ./document.moc:177
#20 0x00007f025ae1a845 in KateDocument::openFile (this=0x364da60) at ../../kate/document/katedocument.cpp:2040
#21 0x00007f0279354987 in KParts::ReadOnlyPart::openUrl (this=0x364da60, url=<value optimized out>) at ../../kparts/part.cpp:557
#22 0x00007f027cdae68d in KDevelop::TextDocument::createViewWidget (this=0x2dd0620, parent=0x2e3f600) at ../../shell/textdocument.cpp:261
#23 0x00007f027cdadd47 in KDevelop::TextView::createWidget (this=0x2dda040, parent=0x2e3f600) at ../../shell/textdocument.cpp:532
#24 0x00007f0277ef4906 in Sublime::View::widget (this=0x2dda040, parent=0x1) at ../../sublime/view.cpp:82
#25 0x00007f0277eeeacf in Sublime::MainWindowPrivate::ViewCreator::operator() (this=0x7fffc8a83890, index=0x157da00) at ../../sublime/mainwindow_p.cpp:248
#26 0x00007f0277ef3eb8 in Sublime::Area::walkViewsInternal<Sublime::MainWindowPrivate::ViewCreator> (this=0x1583f30, op=..., index=0x157da00) at ../../sublime/areawalkers.h:32
#27 0x00007f0277ef2157 in walkViews<Sublime::MainWindowPrivate::ViewCreator> (this=0x1567b30) at ../../sublime/areawalkers.h:48
#28 Sublime::MainWindowPrivate::reconstruct (this=0x1567b30) at ../../sublime/mainwindow_p.cpp:275
#29 0x00007f0277ee8c40 in Sublime::MainWindow::setArea (this=0x156fd00, area=0x1583f30) at ../../sublime/mainwindow.cpp:143
#30 0x00007f027cd7e163 in KDevelop::WorkingSet::loadToArea (this=<value optimized out>, area=0x1583f30, areaIndex=<value optimized out>, clear=<value optimized out>) at ../../shell/workingsetcontroller.cpp:366
#31 0x00007f027cd7e903 in KDevelop::WorkingSet::changedWorkingSet (this=0x17b9f50, area=0x1583f30, from=<value optimized out>, to=) at ../../shell/workingsetcontroller.cpp:682
#32 0x00007f027cd7f29f in KDevelop::WorkingSet::qt_metacall (this=0x17b9f50, _c=<value optimized out>, _id=<value optimized out>, _a=0x157df00) at ./workingsetcontroller.moc:90
#33 0x00007f027c182bde in QObject::event (this=0x17b9f50, e=0x293de00) at kernel/qobject.cpp:1219
#34 0x00007f027b4d7fdc in QApplicationPrivate::notify_helper (this=0x12bd060, receiver=0x17b9f50, e=0x20b6b90) at kernel/qapplication.cpp:4396
#35 0x00007f027b4ddaed in QApplication::notify (this=0x7fffc8a84930, receiver=0x17b9f50, e=0x20b6b90) at kernel/qapplication.cpp:4277
#36 0x00007f027c6c7576 in KApplication::notify (this=0x7fffc8a84930, receiver=0x17b9f50, event=0x20b6b90) at ../../kdeui/kernel/kapplication.cpp:310
#37 0x00007f027c170cdc in QCoreApplication::notifyInternal (this=0x7fffc8a84930, receiver=0x17b9f50, event=0x20b6b90) at kernel/qcoreapplication.cpp:732
#38 0x00007f027c173c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x129be70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x129be70) at kernel/qcoreapplication.cpp:1373
#40 0x00007f027c19d653 in sendPostedEvents (s=0x12c0c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x12c0c30) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007f0274daa342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x00007f0274dae2a8 in ?? () from /lib/libglib-2.0.so.0
#44 0x00007f0274dae45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x00007f027c19d193 in QEventDispatcherGlib::processEvents (this=0x129b5b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#46 0x00007f027b58aa4e in QGuiEventDispatcherGlib::processEvents (this=0x293de00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f027c16fa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#48 0x00007f027c16fdec in QEventLoop::exec (this=0x7fffc8a84700, flags=) at kernel/qeventloop.cpp:201
#49 0x00007f027c173ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#50 0x0000000000408f01 in _start ()

Possible duplicates by query: bug 257586, bug 256132, bug 255487, bug 254761, bug 254620.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-12-22 21:44:43 UTC
*sigh*, as I told you this alone is not enough...

could you maybe try to edit your menu entry to not launch kdevelop but instead valgrind which saves the log to some file?


valgrind --log-file=/tmp/kdev-valgrind.log --track-origins=yes --num-callers=25 kdevelop

something like that should do.
Comment 2 Andrew Crouthamel 2018-09-20 22:16:02 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 3 Andrew Crouthamel 2018-10-21 05:25:49 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!