Bug 342751 - KDevelop crashed after the base folder of an open project was deleted
Summary: KDevelop crashed after the base folder of an open project was deleted
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2015-01-11 21:57 UTC by Lasse Liehu
Modified: 2018-10-27 03:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Output of valgrind (123.60 KB, text/plain)
2015-01-17 18:17 UTC, Lasse Liehu
Details
New crash information added by DrKonqi (23.37 KB, text/plain)
2016-06-10 07:52 UTC, Toni Homedes i Saun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lasse Liehu 2015-01-11 21:57:53 UTC
Application: kdevelop (4.90.90)
 (Compiled from sources)
Qt Version: 5.4.0
Operating System: Linux 3.17.6-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
1. I had a CMake project open in KDevelop.
2. I deleted its base directory.
3. KDevelop showed a message box informing that the directory was deleted. The message was:

The base folder of project <b>%1</b> got deleted or moved outside of KDevelop.\n
The project has to be closed.

4. I clicked Ok.
5. After that, KDevelop crashed.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f706cb3c840 (LWP 17635))]

Thread 7 (Thread 0x7f705bfff700 (LWP 17638)):
#0  0x00007f707b7158cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f707f01a124 in ?? () from /usr/lib/libQt5Script.so.5
#2  0x00007f707f01a169 in ?? () from /usr/lib/libQt5Script.so.5
#3  0x00007f707b710314 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f7081df824d in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f6fda101700 (LWP 17640)):
#0  0x00007f707b715c78 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f7082981f58 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f70804af9f4 in KDevelop::DUChainPrivate::CleanupThread::run() () from /home/larso/kf5/lib64/libKDevPlatformLanguage.so.9
#3  0x00007f7082980ece in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f707b710314 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f7081df824d in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f6fd3925700 (LWP 17642)):
#0  0x00007f7078fc7462 in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#1  0x00007f7078fc7c0a in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f7078fc7dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f7082bc2cbc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f7082b69162 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f708297bf44 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f7082980ece in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f707b710314 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f7081df824d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f6fdb7fe700 (LWP 17762)):
#0  0x00007f7081def44d in poll () from /usr/lib/libc.so.6
#1  0x00007f7078fc7c94 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f7078fc7dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f7082bc2cbc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f7082b69162 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f708297bf44 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f70805c08dd in KDevelop::CompletionWorkerThread::run() () from /home/larso/kf5/lib64/libKDevPlatformLanguage.so.9
#7  0x00007f7082980ece in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f707b710314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f7081df824d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f7068c78700 (LWP 17763)):
#0  0x00007f707b7158cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f708298201b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707ec747e2 in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=0x15fc2e0, th=0x197a750) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:594
#3  0x00007f707ec744bb in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x15fc2e0, th=0x197a750, threadWasBusy=true, suspendIfInactive=false, justReturning=false) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:554
#4  0x00007f707ec7c6bd in ThreadWeaver::WorkingHardState::applyForWork (this=0x14bbee0, th=0x197a750, wasBusy=true) at /joukko/devel/kf5/src/frameworks/threadweaver/src/workinghardstate.cpp:66
#5  0x00007f707ec745fc in ThreadWeaver::Weaver::applyForWork (this=0x15fc2e0, th=0x197a750, wasBusy=true) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:568
#6  0x00007f707ec78ad6 in ThreadWeaver::Thread::run (this=0x197a750) at /joukko/devel/kf5/src/frameworks/threadweaver/src/thread.cpp:103
#7  0x00007f7082980ece in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f707b710314 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f7081df824d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f6fbc3cf700 (LWP 17764)):
#0  0x00007f707b7158cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f708298201b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f707ec747e2 in ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked (this=0x15fc2e0, th=0x7f705c090660) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:594
#3  0x00007f707ec744bb in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait (this=0x15fc2e0, th=0x7f705c090660, threadWasBusy=false, suspendIfInactive=false, justReturning=false) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:554
#4  0x00007f707ec7c6bd in ThreadWeaver::WorkingHardState::applyForWork (this=0x14bbee0, th=0x7f705c090660, wasBusy=false) at /joukko/devel/kf5/src/frameworks/threadweaver/src/workinghardstate.cpp:66
#5  0x00007f707ec745fc in ThreadWeaver::Weaver::applyForWork (this=0x15fc2e0, th=0x7f705c090660, wasBusy=false) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:568
#6  0x00007f707ec7c7c0 in ThreadWeaver::WorkingHardState::applyForWork (this=0x14bbee0, th=0x7f705c090660, wasBusy=false) at /joukko/devel/kf5/src/frameworks/threadweaver/src/workinghardstate.cpp:73
#7  0x00007f707ec745fc in ThreadWeaver::Weaver::applyForWork (this=0x15fc2e0, th=0x7f705c090660, wasBusy=false) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:568
#8  0x00007f707ec7c7c0 in ThreadWeaver::WorkingHardState::applyForWork (this=0x14bbee0, th=0x7f705c090660, wasBusy=true) at /joukko/devel/kf5/src/frameworks/threadweaver/src/workinghardstate.cpp:73
#9  0x00007f707ec745fc in ThreadWeaver::Weaver::applyForWork (this=0x15fc2e0, th=0x7f705c090660, wasBusy=true) at /joukko/devel/kf5/src/frameworks/threadweaver/src/weaver.cpp:568
#10 0x00007f707ec78ad6 in ThreadWeaver::Thread::run (this=0x7f705c090660) at /joukko/devel/kf5/src/frameworks/threadweaver/src/thread.cpp:103
#11 0x00007f7082980ece in ?? () from /usr/lib/libQt5Core.so.5
#12 0x00007f707b710314 in start_thread () from /usr/lib/libpthread.so.0
#13 0x00007f7081df824d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f706cb3c840 (LWP 17635)):
[KCrash Handler]
#6  0x00007f7081d43a97 in raise () from /usr/lib/libc.so.6
#7  0x00007f7081d44e6a in abort () from /usr/lib/libc.so.6
#8  0x00007f7081d832b3 in __libc_message () from /usr/lib/libc.so.6
#9  0x00007f7081d8872e in malloc_printerr () from /usr/lib/libc.so.6
#10 0x00007f7081d88eeb in _int_free () from /usr/lib/libc.so.6
#11 0x00007f70883fc6c8 in KateModOnHdPrompt::~KateModOnHdPrompt (this=0x7fff344546a0, __in_chrg=<optimized out>) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/dialogs/katedialogs.cpp:1423
#12 0x00007f7082b9976c in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#13 0x00007f708349320a in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f7088551d14 in KTextEditor::View::~View (this=0x2dc3700, __in_chrg=<optimized out>) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/utils/ktexteditor.cpp:136
#15 0x00007f70884d12ae in KTextEditor::ViewPrivate::~ViewPrivate (this=0x2dc3700, __in_chrg=<optimized out>) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/view/kateview.cpp:244
#16 0x00007f70884d1318 in KTextEditor::ViewPrivate::~ViewPrivate (this=0x2dc3700, __in_chrg=<optimized out>) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/view/kateview.cpp:270
#17 0x00007f70884367a3 in qDeleteAll<QList<KTextEditor::View*>::const_iterator> (begin=..., end=...) at /usr/include/qt/QtCore/qalgorithms.h:315
#18 0x00007f70884319c1 in qDeleteAll<QList<KTextEditor::View*> > (c=...) at /usr/include/qt/QtCore/qalgorithms.h:323
#19 0x00007f7088410afe in KTextEditor::DocumentPrivate::~DocumentPrivate (this=0x2f26ab0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/document/katedocument.cpp:296
#20 0x00007f7088410e4e in KTextEditor::DocumentPrivate::~DocumentPrivate (this=0x2f26ab0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/document/katedocument.cpp:307
#21 0x00007f708a2f39b8 in KDevelop::TextDocument::close(KDevelop::IDocument::DocumentSaveMode) () from /home/larso/kf5/lib64/libKDevPlatformShell.so.9
#22 0x00007f708a2d82b1 in KDevelop::ProjectController::closeAllOpenedFiles(KDevelop::IProject*) () from /home/larso/kf5/lib64/libKDevPlatformShell.so.9
#23 0x00007f708a2d84ed in KDevelop::ProjectController::closeProject(KDevelop::IProject*) () from /home/larso/kf5/lib64/libKDevPlatformShell.so.9
#24 0x00007f707ff972bc in KDevelop::AbstractFileManagerPlugin::Private::deleted(QString const&) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#25 0x00007f707ff98624 in KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}::operator()(QString const&) const () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#26 0x00007f707ff9ae9c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}>::call({lambda(QString const&)#2}, void**) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#27 0x00007f707ff9ad35 in void QtPrivate::Functor<KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}, 1>::call<QtPrivate::List<QString const&>, void>({lambda(QString const&)#2}&, void*, {lambda(QString const&)#2}&*) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#28 0x00007f707ff9ac59 in QtPrivate::QFunctorSlotObject<KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}, 1, QtPrivate::List<QString const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#29 0x00007f7082b9a8fa in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#30 0x00007f7083d53e47 in KDirWatch::deleted (this=0x2da03f0, _t1=...) at /joukko/devel/kf5/build/frameworks/kcoreaddons/src/lib/moc_kdirwatch.cpp:175
#31 0x00007f7083d539e1 in KDirWatch::setDeleted (this=0x2da03f0, _file=...) at /joukko/devel/kf5/src/frameworks/kcoreaddons/src/lib/io/kdirwatch.cpp:2030
#32 0x00007f7083d53b83 in KDirWatch::qt_static_metacall (_o=0x2da03f0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x12c6ec0) at /joukko/devel/kf5/build/frameworks/kcoreaddons/src/lib/moc_kdirwatch.cpp:94
#33 0x00007f7082b9c0ea in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#34 0x00007f7083453d5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#35 0x00007f7083459340 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#36 0x00007f7082b6b6cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#37 0x00007f7082b6d70b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#38 0x00007f7082bc28b3 in ?? () from /usr/lib/libQt5Core.so.5
#39 0x00007f7078fc7a0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007f7078fc7cf8 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007f7078fc7dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007f7082bc2ca7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#43 0x00007f7082b69162 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#44 0x00007f7083651085 in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#45 0x00007f7083a63914 in KMessageBox::createKMessageBox (dialog=0x131a590, buttons=0x158c300, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at /joukko/devel/kf5/src/frameworks/kwidgetsaddons/src/kmessagebox.cpp:402
#46 0x00007f7083a6239d in KMessageBox::createKMessageBox (dialog=0x131a590, buttons=0x158c300, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at /joukko/devel/kf5/src/frameworks/kwidgetsaddons/src/kmessagebox.cpp:206
#47 0x00007f7083a65a80 in KMessageBox::errorListInternal (dialog=0x131a590, text=..., strlist=..., caption=..., options=...) at /joukko/devel/kf5/src/frameworks/kwidgetsaddons/src/kmessagebox.cpp:807
#48 0x00007f7083a65b0e in KMessageBox::errorList (parent=0x7fff344546a0, text=..., strlist=..., caption=..., options=...) at /joukko/devel/kf5/src/frameworks/kwidgetsaddons/src/kmessagebox.cpp:813
#49 0x00007f7083a658e2 in KMessageBox::error (parent=0x7fff344546a0, text=..., caption=..., options=...) at /joukko/devel/kf5/src/frameworks/kwidgetsaddons/src/kmessagebox.cpp:793
#50 0x00007f707ff9726b in KDevelop::AbstractFileManagerPlugin::Private::deleted(QString const&) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#51 0x00007f707ff98624 in KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}::operator()(QString const&) const () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#52 0x00007f707ff9ae9c in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}>::call({lambda(QString const&)#2}, void**) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#53 0x00007f707ff9ad35 in void QtPrivate::Functor<KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}, 1>::call<QtPrivate::List<QString const&>, void>({lambda(QString const&)#2}&, void*, {lambda(QString const&)#2}&*) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#54 0x00007f707ff9ac59 in QtPrivate::QFunctorSlotObject<KDevelop::AbstractFileManagerPlugin::import(KDevelop::IProject*)::{lambda(QString const&)#2}, 1, QtPrivate::List<QString const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /home/larso/kf5/lib64/libKDevPlatformProject.so.9
#55 0x00007f7082b9a8fa in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#56 0x00007f7083d53e47 in KDirWatch::deleted (this=0x16441c0, _t1=...) at /joukko/devel/kf5/build/frameworks/kcoreaddons/src/lib/moc_kdirwatch.cpp:175
#57 0x00007f7083d539e1 in KDirWatch::setDeleted (this=0x16441c0, _file=...) at /joukko/devel/kf5/src/frameworks/kcoreaddons/src/lib/io/kdirwatch.cpp:2030
#58 0x00007f7083d53b83 in KDirWatch::qt_static_metacall (_o=0x16441c0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x2b50f50) at /joukko/devel/kf5/build/frameworks/kcoreaddons/src/lib/moc_kdirwatch.cpp:94
#59 0x00007f7082b9c0ea in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#60 0x00007f7083453d5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#61 0x00007f7083459340 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#62 0x00007f7082b6b6cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#63 0x00007f7082b6d70b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#64 0x00007f7082bc28b3 in ?? () from /usr/lib/libQt5Core.so.5
#65 0x00007f7078fc7a0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#66 0x00007f7078fc7cf8 in ?? () from /usr/lib/libglib-2.0.so.0
#67 0x00007f7078fc7dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#68 0x00007f7082bc2ca7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#69 0x00007f7082b69162 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#70 0x00007f7083651085 in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#71 0x00007f7088423b2d in KTextEditor::DocumentPrivate::slotModifiedOnDisk (this=0x2f26ab0) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/document/katedocument.cpp:3966
#72 0x00007f70885f2461 in KTextEditor::DocumentPrivate::qt_static_metacall (_o=0x2f26ab0, _c=QMetaObject::InvokeMetaMethod, _id=54, _a=0x7fff34454970) at /joukko/devel/kf5/build/frameworks/ktexteditor/src/moc_katedocument.cpp:476
#73 0x00007f7082b9af69 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#74 0x00007f70885f7093 in KTextEditor::View::focusIn (this=0x2dc3700, _t1=0x2dc3700) at /joukko/devel/kf5/build/frameworks/ktexteditor/src/moc_view.cpp:347
#75 0x00007f70884dc530 in KTextEditor::ViewPrivate::slotGotFocus (this=0x2dc3700) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/view/kateview.cpp:1340
#76 0x00007f70884f751c in KateViewInternal::focusInEvent (this=0x32d5140) at /joukko/devel/kf5/src/frameworks/ktexteditor/src/view/kateviewinternal.cpp:3140
#77 0x00007f7083497627 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#78 0x00007f7083453d5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#79 0x00007f7083459340 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#80 0x00007f7082b6b6cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#81 0x00007f708345685a in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () from /usr/lib/libQt5Widgets.so.5
#82 0x00007f7083491b98 in QWidget::setFocus(Qt::FocusReason) () from /usr/lib/libQt5Widgets.so.5
#83 0x00007f7083456d92 in QApplication::setActiveWindow(QWidget*) () from /usr/lib/libQt5Widgets.so.5
#84 0x00007f7083456ea3 in QApplicationPrivate::notifyActiveWindowChange(QWindow*) () from /usr/lib/libQt5Widgets.so.5
#85 0x00007f7082e9c5c5 in QGuiApplicationPrivate::processActivatedEvent(QWindowSystemInterfacePrivate::ActivatedWindowEvent*) () from /usr/lib/libQt5Gui.so.5
#86 0x00007f7082e9c86d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#87 0x00007f7082e81f1f in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#88 0x00007f706c3e6160 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so
#89 0x00007f7078fc7a0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#90 0x00007f7078fc7cf8 in ?? () from /usr/lib/libglib-2.0.so.0
#91 0x00007f7078fc7dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#92 0x00007f7082bc2ca7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#93 0x00007f7082b69162 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#94 0x00007f7082b70b3c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#95 0x0000000000418dea in main ()

Reported using DrKonqi
Comment 1 Kevin Funk 2015-01-11 22:34:59 UTC
Is this reproducible? If yes it would help a lot if you could run kdevelop through valgrind (will be slow, sorry), reproduce the crash and then attach the log.

Run:
$ valgrind --smc-check=all-non-file kdevelop --ps
Comment 2 Lasse Liehu 2015-01-17 18:17:28 UTC
Created attachment 90483 [details]
Output of valgrind

The crash is reproducible, but not when run with Valgrind. Without Valgrind the crash occurs before the following line is printed:

kdevelop(3113)/default unknown: Unknown Project subclass found!

With Valgrind KDevelop instead crashed only after closing its main window. I have been getting that crash for some time now but with quite useless stack trace.
Comment 3 Christoph Feck 2015-02-15 01:15:37 UTC
I see multiple nested event loops...
Comment 4 Toni Homedes i Saun 2016-06-10 07:52:23 UTC
Created attachment 99435 [details]
New crash information added by DrKonqi

kdevelop (4.6.0) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:

Delete the base folder for an open project (Makefile)

-- Backtrace (Reduced):
#6  0x00007fdbf4be27be in KDevelop::ProjectController::closeProject(KDevelop::IProject*) () from /usr/lib/libkdevplatformshell.so.7
#7  0x00007fdbef925093 in KDevelop::AbstractFileManagerPlugin::Private::deleted(QString const&) () from /usr/lib/libkdevplatformproject.so.7
[...]
#9  0x00007fdbf51ab845 in KDirWatch::deleted(QString const&) () from /usr/lib/libkdecore.so.5
#10 0x00007fdbf51ae462 in KDirWatch::setDeleted(QString const&) () from /usr/lib/libkdecore.so.5
#11 0x00007fdbf330bc1e in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
Comment 5 Andrew Crouthamel 2018-09-26 22:09:19 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 6 Andrew Crouthamel 2018-10-27 03:40:47 UTC
Dear Bug Submitter,

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!