Bug 372575 - Crash when starting KDevelop
Summary: Crash when starting KDevelop
Status: RESOLVED DUPLICATE of bug 363269
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.0.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-17 09:16 UTC by Thomas Murach
Modified: 2016-11-17 09:36 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 Thomas Murach 2016-11-17 09:16:20 UTC
Application: kdevelop (5.0.1)

Qt Version: 5.7.0
Frameworks Version: 5.28.0
Operating System: Linux 4.1.34-33-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
KDevelop crashes very often when I start it; for example after starting it for the first time after booting my machine in the morning, it will always crash. When starting it again after a crash I'm asked whether I want to delete the cache. If I remember correctly, not clearing the cache will always lead to another crash at some point. Clearing the cache at least increases the chance of a successful startup, although also in this case it crashes often.
From my experience crashes occur at a stage where something on the order of 1-20% of the files in the project folder have been scanned, I've rarely seen crashes at much higher percentages, but maybe I'm just lacking statistics here.

I'm happy to provide more info if needed.

The crash can be reproduced every time.

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

Thread 11 (Thread 0x7f42b4560700 (LWP 5290)):
#0  0x00007f431b172cf9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f431b1304b9 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f431b130d80 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f431b130f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f43240c3f4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f432407389b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f4323eba02a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f43219df5d3 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#8  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 10 (Thread 0x7f42d9b49700 (LWP 5289)):
#0  0x00007f431d2a903f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4323ebf4cb in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f43188973ff in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#3  0x00007f431889adca in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#4  0x00007f431889542b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#5  0x00007f431889ae12 in  () at /usr/lib64/libKF5ThreadWeaver.so.5
#6  0x00007f431889542b in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib64/libKF5ThreadWeaver.so.5
#7  0x00007f4318898a26 in ThreadWeaver::Thread::run() () at /usr/lib64/libKF5ThreadWeaver.so.5
#8  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7f42da34a700 (LWP 5288)):
[KCrash Handler]
#6  0x00007f43237170c7 in raise () at /lib64/libc.so.6
#7  0x00007f4323718478 in abort () at /lib64/libc.so.6
#8  0x00007f4323754784 in  () at /lib64/libc.so.6
#9  0x00007f432375a026 in malloc_printerr () at /lib64/libc.so.6
#10 0x00007f432375ad53 in _int_free () at /lib64/libc.so.6
#11 0x00007f42e876a615 in  () at /usr/lib64/libkdevcmakecommon.so
#12 0x00007f42e876b247 in  () at /usr/lib64/libkdevcmakecommon.so
#13 0x00007f42e876c047 in  () at /usr/lib64/libkdevcmakecommon.so
#14 0x00007f42e876cf08 in CMakeListsParser::readCMakeFile(QString const&) () at /usr/lib64/libkdevcmakecommon.so
#15 0x00007f42e518679d in  () at /usr/lib64/qt5/plugins/kdevplatform/25/kdevcmakemanager.so
#16 0x00007f431889a1aa in ThreadWeaver::IdDecorator::run(QSharedPointer<ThreadWeaver::JobInterface>, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#17 0x00007f431889a567 in ThreadWeaver::Executor::run(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#18 0x00007f43188993b0 in ThreadWeaver::Job::execute(QSharedPointer<ThreadWeaver::JobInterface> const&, ThreadWeaver::Thread*) () at /usr/lib64/libKF5ThreadWeaver.so.5
#19 0x00007f4318898ad7 in ThreadWeaver::Thread::run() () at /usr/lib64/libKF5ThreadWeaver.so.5
#20 0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#22 0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f42dadaf700 (LWP 5285)):
#0  0x00007f431b12ff26 in g_main_context_acquire () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f431b130d25 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f431b130f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f43240c3f4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f432407389b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f4323eba02a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f43219df5d3 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#7  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f42db96c700 (LWP 5284)):
#0  0x00007f431d2a93e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4323ebf418 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f4323ebb910 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f42e736a700 (LWP 5269)):
#0  0x00007f431d2a93e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4323ebf418 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f4323ebb910 in  () at /usr/lib64/libQt5Core.so.5
#3  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f42e7b6b700 (LWP 5096)):
#0  0x00007f431b130463 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f431b130d80 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f431b130f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f43240c3f4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f432407389b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f4323eba02a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f431922eae8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f42f210b700 (LWP 4973)):
#0  0x00007f431d2a93e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4323ebf418 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007f432190cd73 in  () at /usr/lib64/libKDevPlatformLanguage.so.10
#3  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f4304be5700 (LWP 4972)):
#0  0x00007f431b172cf9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f431b130a46 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f431b130ed8 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f431b130f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f43240c3f4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f432407389b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f4323eba02a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f4325b70aa5 in  () at /usr/lib64/libQt5DBus.so.5
#8  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f4306573700 (LWP 4971)):
#0  0x00007f43237bebfd in poll () at /lib64/libc.so.6
#1  0x00007f4316720422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f431672200f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f4308acd469 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f4323ebe859 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f431d2a50a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f43237c702d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f432699e7c0 (LWP 4969)):
#0  0x00007f431d2a903f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f4316720669 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f4316721d5f in  () at /usr/lib64/libxcb.so.1
#3  0x00007f4316721e72 in xcb_wait_for_reply () at /usr/lib64/libxcb.so.1
#4  0x00007f4308ac839a in QXcbConnection::sync() () at /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007f4308ae5980 in  () at /usr/lib64/libQt5XcbQpa.so.5
#6  0x00007f4308ae5a4a in  () at /usr/lib64/libQt5XcbQpa.so.5
#7  0x00007f432473c7bc in QBackingStore::beginPaint(QRegion const&) () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f4324d3b2f7 in  () at /usr/lib64/libQt5Widgets.so.5
#9  0x00007f4324d3c6f1 in  () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f4324d5af2f in QWidgetPrivate::syncBackingStore() () at /usr/lib64/libQt5Widgets.so.5
#11 0x00007f4324d6fd15 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f4324e65b2b in QMainWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f431ff59ed7 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#14 0x00007f431ff95ac5 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5
#15 0x00007f4324d2ca9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f4324d33a20 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f43240755c5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f4324077623 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f43240c46e3 in  () at /usr/lib64/libQt5Core.so.5
#20 0x00007f431b130c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f431b130ed8 in  () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f431b130f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f43240c3f2c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#24 0x00007f432407389b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f432407b696 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#26 0x000000000040c64c in  ()
#27 0x00007f4323703b25 in __libc_start_main () at /lib64/libc.so.6
#28 0x000000000040caaa in _start ()

Reported using DrKonqi
Comment 1 Kevin Funk 2016-11-17 09:36:32 UTC
This looks related to bug 363269, which got fixed in 5.0.2

Please ask your distro to upgrade to 5.0.2 or install the KDevelop AppImage yourself: https://www.kdevelop.org/download

*** This bug has been marked as a duplicate of bug 363269 ***