The code ("MakeJob::item") was just added recently, attempting to fix another bug: https://projects.kde.org/projects/extragear/kdevelop/kdevelop/repository/revisions/45cdc3badce74c28cf9bcd4168dd2c1f186dd0f3 KDevelop::ProjectModel::itemFromIndex seems to be the problem here, probably returning an invalid pointer. BT: #0 0x00007ffff1984173 in QListData::size (this=this@entry=0x7fff0000002a) at /home/krf/devel/build/qt4.8-shared-debug/include/QtCore/../../../../src/qt/src/corelib/tools/qlist.h:98 #1 0x00007ffff1984c35 in QList<KDevelop::ProjectBaseItem*>::length (this=this@entry=0x7fff0000002a) at /home/krf/devel/build/qt4.8-shared-debug/include/QtCore/../../../../src/qt/src/corelib/tools/qlist. h:281 #2 0x00007ffff19801a0 in KDevelop::ProjectBaseItem::child (this=<optimized out>, row=0) at /home/krf/devel/src/kdevplatform/project/projectmodel.cpp:184 #3 0x00007ffff1980241 in KDevelop::ProjectModel::itemFromIndex (this=<optimized out>, index=...) at /home/krf/devel/src/kdevplatform/project/projectmodel.cpp:1009 #4 0x00007fff46cc4b10 in MakeJob::item (this=this@entry=0x6c66760) at /home/krf/devel/src/kdevelop/projectbuilders/makebuilder/makejob.cpp:96 #5 0x00007fff46cc3221 in MakeBuilder::jobFinished (this=0x5ea65c0, job=<optimized out>) at /home/krf/devel/src/kdevelop/projectbuilders/makebuilder/makebuilder.cpp:85 #6 0x00007ffff5b30bd8 in QMetaObject::activate (sender=0x6c66760, m=0x7ffff7dc74a0 <KJob::staticMetaObject>, local_signal_index=0, argv=0x7fffffffc120) at /home/krf/devel/src/qt/src/corelib/kernel/qobje ct.cpp:3539 #7 0x00007ffff7a27c1f in KJob::finished (this=this@entry=0x6c66760, _t1=_t1@entry=0x6c66760) at /home/krf/devel/build/kdelibs/kdecore/kjob.moc:187 #8 0x00007ffff7a27e8a in KJob::emitResult (this=this@entry=0x6c66760) at /home/krf/devel/src/kdelibs/kdecore/jobs/kjob.cpp:316 #9 0x00007ffff7a27f18 in KJob::kill (this=0x6c66760, verbosity=verbosity@entry=KJob::EmitResult) at /home/krf/devel/src/kdelibs/kdecore/jobs/kjob.cpp:117 #10 0x00007ffff74297c1 in KDevelop::RunController::stopAllProcesses (this=0xb0ab90) at /home/krf/devel/src/kdevplatform/shell/runcontroller.cpp:633 Reproducible: Always
This is probably the same, no? Thread 1 (Thread 0x7fe276231780 (LWP 4667)): [KCrash Handler] #6 0x00007fe27041014a in KDevelop::ProjectBaseItem::child(int) const () from /usr/lib64/libkdevplatformproject.so.7 #7 0x00007fe2391ec045 in MakeBuilder::jobFinished (this=0x6e5f270, job=<optimized out>) at /usr/src/debug/kdevelop-4.5.1/projectbuilders/makebuilder/makebuilder.cpp:92 #8 0x00007fe27406b29f in QMetaObject::activate (sender=0xca17050, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb6907df0) at kernel/qobject.cpp:3548 #9 0x00007fe275cd501f in KJob::finished (this=this@entry=0xca17050, _t1=_t1@entry=0xca17050) at /usr/src/debug/kdelibs-4.10.4/build/kdecore/kjob.moc:187 #10 0x00007fe275cd5265 in KJob::emitResult (this=0xca17050) at /usr/src/debug/kdelibs-4.10.4/kdecore/jobs/kjob.cpp:316 #11 0x00007fe269c8b2ba in KDevelop::OutputExecuteJob::childProcessExited(int, QProcess::ExitStatus) () from /usr/lib64/libkdevplatformoutputview.so.7 #12 0x00007fe27406b29f in QMetaObject::activate (sender=0xe58f690, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb6907f80) at kernel/qobject.cpp:3548 #13 0x00007fe273febc1f in QProcess::finished (this=this@entry=0xe58f690, _t1=0, _t2=QProcess::NormalExit) at .moc/release-shared/moc_qprocess.cpp:156 #14 0x00007fe273fefd27 in QProcessPrivate::_q_processDied (this=0xe069c50) at io/qprocess.cpp:1068 #15 0x00007fe273fefdae in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release- shared/moc_qprocess.cpp:92 #16 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release- shared/moc_qprocess.cpp:69 #17 0x00007fe27406b29f in QMetaObject::activate (sender=0x6ddc360, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb6908130) at kernel/qobject.cpp:3548 #18 0x00007fe2740b652e in QSocketNotifier::activated (this=<optimized out>, _t1=119) at .moc/release-shared/moc_qsocketnotifier.cpp:103 #19 0x00007fe274072cfb in QSocketNotifier::event (this=0x6ddc360, e=0x7fffb6908750) at kernel/qsocketnotifier.cpp:317 #20 0x00007fe2733ff86c in QApplicationPrivate::notify_helper (this=this@entry=0x184b9c0, receiver=receiver@entry=0x6ddc360, e=e@entry=0x7fffb6908750) at kernel/qapplication.cpp:4562 #21 0x00007fe273403ceb in QApplication::notify (this=0x7fffb6908d70, receiver=0x6ddc360, e=0x7fffb6908750) at kernel/qapplication.cpp:4423 #22 0x00007fe2745f1146 in KApplication::notify (this=0x7fffb6908d70, receiver=0x6ddc360, event=0x7fffb6908750) at /usr/src/debug/kdelibs-4.10.4/kdeui/kernel/kapplication.cpp:311 #23 0x00007fe274055d8e in QCoreApplication::notifyInternal (this=0x7fffb6908d70, receiver=0x6ddc360, event=0x7fffb6908750) at kernel/qcoreapplication.cpp:946 #24 0x00007fe274083ac8 in sendEvent (event=0x7fffb6908750, receiver=<optimized out>) at kernel/qcoreapplication.h:231 #25 socketNotifierSourceDispatch (source=0x184d140) at kernel/qeventdispatcher_glib.cpp:110 #26 0x00007fe26cbe57d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #27 0x00007fe26cbe5b08 in ?? () from /usr/lib64/libglib-2.0.so.0 #28 0x00007fe26cbe5bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #29 0x00007fe2740842c6 in QEventDispatcherGlib::processEvents (this=0x1792bd0, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #30 0x00007fe27349fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #31 0x00007fe274054adf in QEventLoop::processEvents (this=this@entry=0x7fffb6908990, flags=...) at kernel/qeventloop.cpp:149 #32 0x00007fe274054d68 in QEventLoop::exec (this=0x7fffb6908990, flags=...) at kernel/qeventloop.cpp:204 #33 0x00007fe274059a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #34 0x000000000040e621 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop-4.5.1/app/main.cpp:522
Created attachment 81890 [details] New crash information added by DrKonqi kdevelop (4.5.1) on KDE Platform 4.11.00 using Qt 4.8.5 I opened a new project, selected one target to be build and pressed F8. After one target was build KDevelop crashed. This is the same trace as in comment #1, but with more trace info. -- Backtrace (Reduced): #6 size (this=0x59) at /usr/include/QtCore/qlist.h:98 #7 length (this=0x59) at /usr/include/QtCore/qlist.h:281 #8 KDevelop::ProjectBaseItem::child (this=0x7ffa484ae000, row=0) at /usr/src/debug/kdevplatform-1.5.1/project/projectmodel.cpp:184 #9 0x00007ffb56271035 in MakeBuilder::jobFinished (this=0x609dee0, job=<optimized out>) at /usr/src/debug/kdevelop-4.5.1/projectbuilders/makebuilder/makebuilder.cpp:92 [...] #11 0x00007ffb9145262f in KJob::finished (this=this@entry=0x662b790, _t1=_t1@entry=0x662b790) at /usr/src/debug/kdelibs-4.11.0/build/kdecore/kjob.moc:186
*** Bug 326225 has been marked as a duplicate of this bug. ***
Aleix, since you already fixed some stuff in there, can you have a look?
*** Bug 329993 has been marked as a duplicate of this bug. ***
Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
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 mark the bug 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!
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!