Bug 258264 - KDevelop crashes on start
Summary: KDevelop crashes on start
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2010-11-29 09:42 UTC by Friedrich W. H. Kossebau
Modified: 2018-10-21 04:52 UTC (History)
0 users

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 Friedrich W. H. Kossebau 2010-11-29 09:42:49 UTC
Application: kdevelop (4.1.0)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I started KDevelop from the K menu, with an existing session which had been open when I closed KDevelop last time. KDevelop showed the splash screen, showed the dialog for an unknown file type (.pro) asking if to load it as text, and then crashed, before I did any input.

Sorry, no time to debug this myself atm :(

The crash can be reproduced every time.

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

Thread 6 (Thread 0xb3788b70 (LWP 6202)):
#0  0x0052d416 in __kernel_vsyscall ()
#1  0x0011a884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x07256e14 in __pthread_cond_timedwait (cond=0x85c7008, mutex=0x85c6ff0, abstime=0xb37882b0) at forward.c:152
#3  0x00ba994f in wait (this=0x85cfd44, mutex=0x85cfd48, time=200000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x85cfd44, mutex=0x85cfd48, time=200000) at thread/qwaitcondition_unix.cpp:160
#5  0x031da425 in ?? () from /usr/lib/libkdevplatformlanguage.so.2
#6  0x00ba8df9 in QThreadPrivate::start (arg=0x85cfd38) at thread/qthread_unix.cpp:266
#7  0x00115cc9 in start_thread (arg=0xb3788b70) at pthread_create.c:304
#8  0x072496be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb1c00b70 (LWP 6212)):
#0  0x0052d416 in __kernel_vsyscall ()
#1  0x0723adf6 in __poll (fds=0x72d2ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x05b47a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x05b3a43c in ?? () from /lib/libglib-2.0.so.0
#4  0x05b3a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00cd959f in QEventDispatcherGlib::processEvents (this=0x8802f98, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00ca9609 in QEventLoop::processEvents (this=0xb1c00290, flags=) at kernel/qeventloop.cpp:149
#7  0x00ca9a8a in QEventLoop::exec (this=0xb1c00290, flags=...) at kernel/qeventloop.cpp:201
#8  0x00ba5b7e in QThread::exec (this=0x8800eb8) at thread/qthread.cpp:490
#9  0x00c8835b in QInotifyFileSystemWatcherEngine::run (this=0x8800eb8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00ba8df9 in QThreadPrivate::start (arg=0x8800eb8) at thread/qthread_unix.cpp:266
#11 0x00115cc9 in start_thread (arg=0xb1c00b70) at pthread_create.c:304
#12 0x072496be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb2401b70 (LWP 6239)):
#0  0x0052d416 in __kernel_vsyscall ()
#1  0x0723adf6 in __poll (fds=0x72d2ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x05b47a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x05b3a43c in ?? () from /lib/libglib-2.0.so.0
#4  0x05b3a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00cd959f in QEventDispatcherGlib::processEvents (this=0x8a92b78, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00ca9609 in QEventLoop::processEvents (this=0xb24012c0, flags=) at kernel/qeventloop.cpp:149
#7  0x00ca9a8a in QEventLoop::exec (this=0xb24012c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00ba5b7e in QThread::exec (this=0x8ab35e8) at thread/qthread.cpp:490
#9  0x032d69a8 in ?? () from /usr/lib/libkdevplatformlanguage.so.2
#10 0x00ba8df9 in QThreadPrivate::start (arg=0x8ab35e8) at thread/qthread_unix.cpp:266
#11 0x00115cc9 in start_thread (arg=0xb2401b70) at pthread_create.c:304
#12 0x072496be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb0026b70 (LWP 6240)):
#0  0x01e0ce36 in clock_gettime (clock_id=31526900, tp=0xb0025fc0) at ../sysdeps/unix/clock_gettime.c:100
#1  0x00c0450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x00cdb6e5 in QTimerInfoList::updateCurrentTime (this=0xb2e073bc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00cdb72a in QTimerInfoList::timerWait (this=0xb2e073bc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00cd97a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb00260ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00cd983d in timerSourcePrepare (source=0x0, timeout=0x1e10ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x05b39e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x05b3a279 in ?? () from /lib/libglib-2.0.so.0
#9  0x05b3a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00cd959f in QEventDispatcherGlib::processEvents (this=0x8a934a8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00ca9609 in QEventLoop::processEvents (this=0xb00262c0, flags=) at kernel/qeventloop.cpp:149
#12 0x00ca9a8a in QEventLoop::exec (this=0xb00262c0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00ba5b7e in QThread::exec (this=0x8ac8e28) at thread/qthread.cpp:490
#14 0x032d69a8 in ?? () from /usr/lib/libkdevplatformlanguage.so.2
#15 0x00ba8df9 in QThreadPrivate::start (arg=0x8ac8e28) at thread/qthread_unix.cpp:266
#16 0x00115cc9 in start_thread (arg=0xb0026b70) at pthread_create.c:304
#17 0x072496be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaeef4b70 (LWP 6241)):
#0  0x0052d416 in __kernel_vsyscall ()
#1  0x0011a884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x07256e14 in __pthread_cond_timedwait (cond=0xaeef4224, mutex=0xaeef4254, abstime=0xaeef42a0) at forward.c:152
#3  0x00ba833e in thread_sleep (ti=0x1) at thread/qthread_unix.cpp:416
#4  0x00ba8493 in QThread::msleep (msecs=30) at thread/qthread_unix.cpp:442
#5  0x0355d10b in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#6  0x00ba8df9 in QThreadPrivate::start (arg=0x8add478) at thread/qthread_unix.cpp:266
#7  0x00115cc9 in start_thread (arg=0xaeef4b70) at pthread_create.c:304
#8  0x072496be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb64db710 (LWP 6200)):
[KCrash Handler]
#7  0x00c56fb9 in QUrl::QUrl (this=0xbf99d834, other=...) at io/qurl.cpp:4158
#8  0x00256359 in KUrl::KUrl (this=0xbf99d834, _u=...) at ../../kdecore/io/kurl.cpp:472
#9  0x00717eff in KDevelop::ProjectBaseItem::url() const () from /usr/lib/libkdevplatformproject.so.2
#10 0x05dc4f73 in ?? () from /usr/lib/kde4/kdevgenericmanager.so
#11 0x05dc5093 in ?? () from /usr/lib/kde4/kdevgenericmanager.so
#12 0x00cb08ca in QMetaObject::metacall (object=0x863b310, cl=QMetaObject::InvokeMetaMethod, idx=-1080436684, argv=0xbf99d834) at kernel/qmetaobject.cpp:237
#13 0x00cbbdf6 in QMetaCallEvent::placeMetaCall (this=0x8bde958, object=0x863b310) at kernel/qobject.cpp:534
#14 0x00cbd6a2 in QObject::event (this=0x863b310, e=0xbf99d834) at kernel/qobject.cpp:1219
#15 0x01032fdc in QApplicationPrivate::notify_helper (this=0x8250920, receiver=0x863b310, e=0x8bde958) at kernel/qapplication.cpp:4396
#16 0x0103904e in QApplication::notify (this=0xbf99f4b0, receiver=0x863b310, e=0x8bde958) at kernel/qapplication.cpp:3798
#17 0x0096801a in KApplication::notify (this=0xbf99f4b0, receiver=0x863b310, event=0x8bde958) at ../../kdeui/kernel/kapplication.cpp:310
#18 0x00caab3b in QCoreApplication::notifyInternal (this=0xbf99f4b0, receiver=0x863b310, event=0x8bde958) at kernel/qcoreapplication.cpp:732
#19 0x00cadd8b in sendEvent (receiver=0x0, event_type=0, data=0x8235de0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8235de0) at kernel/qcoreapplication.cpp:1373
#21 0x00cadf4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#22 0x00cd9a74 in sendPostedEvents (s=0x8252b78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=0x8252b78) at kernel/qeventdispatcher_glib.cpp:277
#24 0x05b36855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x05b3a668 in ?? () from /lib/libglib-2.0.so.0
#26 0x05b3a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00cd9565 in QEventDispatcherGlib::processEvents (this=0x82358c0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#28 0x010f4be5 in QGuiEventDispatcherGlib::processEvents (this=0x82358c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00ca9609 in QEventLoop::processEvents (this=0xbf99e080, flags=) at kernel/qeventloop.cpp:149
#30 0x00ca9a8a in QEventLoop::exec (this=0xbf99e080, flags=...) at kernel/qeventloop.cpp:201
#31 0x0159d873 in QDialog::exec (this=0x8ae1c28) at dialogs/qdialog.cpp:552
#32 0x008c742c in KMessageBox::createKMessageBox (dialog=0x8ae1c28, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbf99e42f, options=..., details=..., notifyType=QMessageBox::Information) at ../../kdeui/dialogs/kmessagebox.cpp:337
#33 0x008c889d in KMessageBox::createKMessageBox (dialog=0x8ae1c28, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0xbf99e42f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:152
#34 0x008c9e94 in KMessageBox::questionYesNoListWId (parent_id=0, text=..., strlist=..., caption=..., buttonYes_=..., buttonNo_=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:479
#35 0x008ca084 in KMessageBox::questionYesNoList (parent=0x0, text=..., strlist=..., caption=..., buttonYes=..., buttonNo=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:439
#36 0x008ca0f6 in KMessageBox::questionYesNo (parent=0x0, text=..., caption=..., buttonYes=..., buttonNo=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:354
#37 0x0045e1b5 in ?? () from /usr/lib/libkdevplatformshell.so.2
#38 0x0045a504 in KDevelop::DocumentController::openDocument(KUrl const&, KTextEditor::Range const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&) () from /usr/lib/libkdevplatformshell.so.2
#39 0x00781539 in KDevelop::IDocumentController::openDocument(KUrl const&, KTextEditor::Cursor const&, QFlags<KDevelop::IDocumentController::DocumentActivation>, QString const&) () from /usr/lib/libkdevplatforminterfaces.so.2
#40 0x0041ff52 in ?? () from /usr/lib/libkdevplatformshell.so.2
#41 0x00420a38 in ?? () from /usr/lib/libkdevplatformshell.so.2
#42 0x00421834 in ?? () from /usr/lib/libkdevplatformshell.so.2
#43 0x004221cc in ?? () from /usr/lib/libkdevplatformshell.so.2
#44 0x00cb08ca in QMetaObject::metacall (object=0x8685600, cl=QMetaObject::InvokeMetaMethod, idx=-1080433184, argv=0x84d2668) at kernel/qmetaobject.cpp:237
#45 0x00cbbdf6 in QMetaCallEvent::placeMetaCall (this=0x8418218, object=0x8685600) at kernel/qobject.cpp:534
#46 0x00cbd6a2 in QObject::event (this=0x8685600, e=0xbf99d834) at kernel/qobject.cpp:1219
#47 0x01032fdc in QApplicationPrivate::notify_helper (this=0x8250920, receiver=0x8685600, e=0x8418218) at kernel/qapplication.cpp:4396
#48 0x0103904e in QApplication::notify (this=0xbf99f4b0, receiver=0x8685600, e=0x8418218) at kernel/qapplication.cpp:3798
#49 0x0096801a in KApplication::notify (this=0xbf99f4b0, receiver=0x8685600, event=0x8418218) at ../../kdeui/kernel/kapplication.cpp:310
#50 0x00caab3b in QCoreApplication::notifyInternal (this=0xbf99f4b0, receiver=0x8685600, event=0x8418218) at kernel/qcoreapplication.cpp:732
#51 0x00cadd8b in sendEvent (receiver=0x0, event_type=0, data=0x8235de0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8235de0) at kernel/qcoreapplication.cpp:1373
#53 0x00cadf4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#54 0x00cd9a74 in sendPostedEvents (s=0x8252b78) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#55 postEventSourceDispatch (s=0x8252b78) at kernel/qeventdispatcher_glib.cpp:277
#56 0x05b36855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#57 0x05b3a668 in ?? () from /lib/libglib-2.0.so.0
#58 0x05b3a848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#59 0x00cd9565 in QEventDispatcherGlib::processEvents (this=0x82358c0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#60 0x010f4be5 in QGuiEventDispatcherGlib::processEvents (this=0x82358c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00ca9609 in QEventLoop::processEvents (this=0xbf99f324, flags=) at kernel/qeventloop.cpp:149
#62 0x00ca9a8a in QEventLoop::exec (this=0xbf99f324, flags=...) at kernel/qeventloop.cpp:201
#63 0x00cae00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#64 0x01031e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#65 0x080509c8 in _start ()

Possible duplicates by query: bug 254261, bug 242461, bug 223664, bug 220962.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-11-29 15:09:19 UTC
Please give me either a way to reproduce this (e.g. attach the file / project) that triggered this behavior. Alternatively run it through valgrind:

valgrind --track-origins=yes --num-callers=50 kdevelop

And show me the log.
Comment 2 Milian Wolff 2010-12-18 13:58:10 UTC
Friedrich, please run it through valgrind if you can reproduce.
Comment 3 Andrew Crouthamel 2018-09-20 21:59:25 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 4 Andrew Crouthamel 2018-10-21 04:52:27 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!