Bug 370836 - Kdevelop crashes when creating project or opening file
Summary: Kdevelop crashes when creating project or opening file
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.0.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-14 20:39 UTC by java3ever
Modified: 2018-11-02 06:52 UTC (History)
1 user (show)

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 java3ever 2016-10-14 20:39:02 UTC
Application: kdevelop (5.0.1)

Qt Version: 5.7.0
Frameworks Version: 5.26.0
Operating System: Linux 4.7.6-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
If I create a project Kdevelop crashes 10/10 times.
Opening a project crashes  Kdevelop10/10 times.
Opening any file crashed Kdevelop 10/10times

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7fb22b0c8700 (LWP 4162)):
#0  0x00007fb26fa9f4ed in read () at /usr/lib/libc.so.6
#1  0x00007fb2673d8a10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb267394235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb267394724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb26739489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fb2703c572b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb27036f23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fb2701920f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fb270196d78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fb26937d454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fb26faac7df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fb234218700 (LWP 4144)):
#0  0x00007fb27018df49 in QMutex::lock() () at /usr/lib/libQt5Core.so.5
#1  0x00007fb2703c5009 in  () at /usr/lib/libQt5Core.so.5
#2  0x00007fb267394179 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb267394724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb26739489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fb2703c572b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb27036f23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fb2701920f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fb270196d78 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fb26937d454 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fb26faac7df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fb233a17700 (LWP 4071)):
#0  0x00007ffe407d6959 in  ()
#1  0x00007ffe407d6c2d in clock_gettime ()
#2  0x00007fb26fab96b6 in clock_gettime () at /usr/lib/libc.so.6
#3  0x00007fb27023c1a1 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fb2703c33a9 in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#5  0x00007fb2703c3955 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb2703c4cfe in  () at /usr/lib/libQt5Core.so.5
#7  0x00007fb267393c89 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#8  0x00007fb2673946ab in  () at /usr/lib/libglib-2.0.so.0
#9  0x00007fb26739489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#10 0x00007fb2703c572b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#11 0x00007fb27036f23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#12 0x00007fb2701920f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#13 0x00007fb2654522d5 in  () at /usr/lib/libQt5Qml.so.5
#14 0x00007fb270196d78 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007fb26937d454 in start_thread () at /usr/lib/libpthread.so.0
#16 0x00007fb26faac7df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fb23fbfc700 (LWP 4065)):
#0  0x00007fb2693834b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fb270197b66 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007fb26db74ad8 in  () at /usr/lib/libKDevPlatformLanguage.so.10
#3  0x00007fb270196d78 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007fb26937d454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fb26faac7df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fb240a00700 (LWP 4064)):
#0  0x00007fb26938310f in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fb248aab4d3 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fb248aaac17 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fb26937d454 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007fb26faac7df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fb24b748700 (LWP 4063)):
#0  0x00007fb26fa9f4ed in read () at /usr/lib/libc.so.6
#1  0x00007fb2673d8a10 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fb267394235 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fb267394724 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fb26739489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fb2703c572b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fb27036f23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fb2701920f3 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fb271ebee55 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007fb270196d78 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fb26937d454 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007fb26faac7df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fb2512c1700 (LWP 4062)):
#0  0x00007fb26faa348d in poll () at /usr/lib/libc.so.6
#1  0x00007fb2626b18e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fb2626b3679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fb253202449 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fb270196d78 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fb26937d454 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fb26faac7df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fb272cc3800 (LWP 4061)):
[KCrash Handler]
#5  0x00007fb27214e9c9 in KDevelop::IPlugin::extensions() const () at /usr/lib/libKDevPlatformInterfaces.so.10
#6  0x00007fb22b33989a in  () at /usr/lib/qt/plugins/kdevplatform/25/kdevcmakemanager.so
#7  0x00007fb22b3393f2 in  () at /usr/lib/qt/plugins/kdevplatform/25/kdevcmakemanager.so
#8  0x00007fb2728a1d69 in KDevelop::Project::open(KDevelop::Path const&) () at /usr/lib/libKDevPlatformShell.so.10
#9  0x00007fb27289b77d in  () at /usr/lib/libKDevPlatformShell.so.10
#10 0x00007fb272893bbd in KDevelop::ProjectController::openProject(QUrl const&) () at /usr/lib/libKDevPlatformShell.so.10
#11 0x00007fb27288d83e in  () at /usr/lib/libKDevPlatformShell.so.10
#12 0x00007fb27039c9ce in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#13 0x00007fb27104a442 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007fb27104ce30 in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007fb2711bae6a in  () at /usr/lib/libQt5Widgets.so.5
#16 0x00007fb2711c105c in  () at /usr/lib/libQt5Widgets.so.5
#17 0x00007fb2711c5050 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007fb271097ef8 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fb2711c5b0b in QMenu::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fb271050e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007fb27105943d in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007fb270370de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007fb271057aed in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007fb2710b2580 in  () at /usr/lib/libQt5Widgets.so.5
#25 0x00007fb2710b4743 in  () at /usr/lib/libQt5Widgets.so.5
#26 0x00007fb271050e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007fb271058581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007fb270370de0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#29 0x00007fb2708bf303 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#30 0x00007fb2708c0e85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#31 0x00007fb27089ecab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#32 0x00007fb2532382f0 in  () at /usr/lib/libQt5XcbQpa.so.5
#33 0x00007fb267394587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#34 0x00007fb2673947f0 in  () at /usr/lib/libglib-2.0.so.0
#35 0x00007fb26739489c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#36 0x00007fb2703c570f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#37 0x00007fb27036f23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#38 0x00007fb27037773c in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#39 0x000000000040baac in  ()
#40 0x00007fb26f9e4291 in __libc_start_main () at /usr/lib/libc.so.6
#41 0x000000000040c0ea in _start ()

Reported using DrKonqi
Comment 1 Sven Brauch 2016-10-14 20:54:15 UTC
Trace looks familiar, can you check you have all of the "cmake", "make" and "ninja" plugins enabled in the settings -> plugins dialog? If any is disabled, can you please enable it and try again?
Comment 2 Sven Brauch 2016-10-15 11:03:52 UTC
Git commit 35477927f7dba97fd178ac662c88af725521e3ce by Sven Brauch.
Committed on 15/10/2016 at 11:03.
Pushed by brauch into branch '5.0'.

CMake manager: correcly document dependency on KDevCMakeBuilder plugin in JSON file

There's an assert or a crash if the plugin is not available at runtime.
This happens if you disable the make and ninja plugins, or if they
cannot be loaded for some reason.
Related: bug 369326

M  +4    -1    projectmanagers/cmake/kdevcmakemanager.json

http://commits.kde.org/kdevelop/35477927f7dba97fd178ac662c88af725521e3ce
Comment 3 Andrew Crouthamel 2018-11-01 13:57:54 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 java3ever 2018-11-02 06:52:36 UTC
As far as I remember, it was fixed when enabling the abovementioned plugins.