Bug 368826 - KDevelop crashed when trying to open a CMake project
Summary: KDevelop crashed when trying to open a CMake project
Status: RESOLVED DUPLICATE of bug 369326
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-09-15 01:00 UTC by 0xd34df00d
Modified: 2016-10-15 14:39 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 0xd34df00d 2016-09-15 01:00:31 UTC
Application: kdevelop (5.0.0)
 (Compiled from sources)
Qt Version: 5.7.0
Frameworks Version: 5.26.0
Operating System: Linux 4.7.0-pf2 x86_64
Distribution (Platform): Gentoo Packages

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

I was trying to open a .kdev4 file generated for a CMake-based project when KDevelop crashed.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7fe2421e9700 (LWP 19055)):
#0  0x00007fe276f27210 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fe276f296eb in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe276f2a0eb in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe276f2a2cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe27fa12a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe27f9c4a2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe27f820104 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe27f82436c in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007fe278efe474 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fe27f0d221d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fe24cb21700 (LWP 18976)):
#0  0x00007fe27f0c512d in read () from /lib64/libc.so.6
#1  0x00007fe276f6d5c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe276f29ca4 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe276f2a160 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe276f2a2cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007fe27fa12a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe27f9c4a2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe27f820104 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007fe2758331f5 in ?? () from /usr/lib64/libQt5Qml.so.5
#9  0x00007fe27f82436c in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fe278efe474 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe27f0d221d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe256dc5700 (LWP 18971)):
#0  0x00007fe278f04438 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe27f8249b8 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fe27d1c6388 in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib64/libKDevPlatformLanguage.so.10
#3  0x00007fe27f82436c in ?? () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe278efe474 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fe27f0d221d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe25fdf5700 (LWP 18970)):
#0  0x00007fe27f0c915d in poll () from /lib64/libc.so.6
#1  0x00007fe276f2a1bc in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe276f2a2cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe27fa12a2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe27f9c4a2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe27f820104 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe281a2b885 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fe27f82436c in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007fe278efe474 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fe27f0d221d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe265539700 (LWP 18969)):
#0  0x00007fe27f0c915d in poll () from /lib64/libc.so.6
#1  0x00007fe2731958f2 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fe273197707 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fe267a9ec69 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fe27f82436c in ?? () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe278efe474 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe27f0d221d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe2818ce780 (LWP 18968)):
[KCrash Handler]
#6  0x00007fe280e60929 in KDevelop::IPlugin::extensions() const () from /usr/lib64/libKDevPlatformInterfaces.so.10
#7  0x00007fe24267616a in CMakeManager::builder() const () from /usr/lib64/qt5/plugins/kdevplatform/26/kdevcmakemanager.so
#8  0x00007fe242675e38 in CMakeManager::createImportJob(KDevelop::ProjectFolderItem*) () from /usr/lib64/qt5/plugins/kdevplatform/26/kdevcmakemanager.so
#9  0x00007fe2815a87e5 in KDevelop::Project::open(KDevelop::Path const&) () from /usr/lib64/libKDevPlatformShell.so.10
#10 0x00007fe2815a2c0d in KDevelop::ProjectControllerPrivate::importProject(QUrl const&) () from /usr/lib64/libKDevPlatformShell.so.10
#11 0x00007fe28159b138 in KDevelop::ProjectController::openProject(QUrl const&) () from /usr/lib64/libKDevPlatformShell.so.10
#12 0x00007fe2815951ce in QtPrivate::QFunctorSlotObject<KDevelop::ProjectController::setupActions()::{lambda()#3}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib64/libKDevPlatformShell.so.10
#13 0x00007fe27f9ec012 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#14 0x00007fe2801fb142 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007fe2801fdab0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007fe2803696da in ?? () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007fe28036f8d6 in ?? () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007fe280373920 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007fe2802485b8 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007fe28037439b in QMenu::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007fe280201aac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007fe280209ce5 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007fe27f9c5a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007fe280208a0f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007fe280262757 in ?? () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007fe2802648f3 in ?? () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007fe280201aac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007fe28020944e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007fe27f9c5a7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#30 0x00007fe27fd0092b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#31 0x00007fe27fd027a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#32 0x00007fe27fce370b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#33 0x00007fe267ad4970 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#34 0x00007fe276f29fc7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007fe276f2a220 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007fe276f2a2cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fe27fa12a0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#38 0x00007fe27f9c4a2a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#39 0x00007fe27f9cc43c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#40 0x000000000040bc4f in main ()

Reported using DrKonqi
Comment 1 Milian Wolff 2016-09-21 09:51:45 UTC
potentially related to bug 331227.

@op: can you please reproduce the crashe while running kdevelop through valgrind?

valgrind --smc-check=all-non-file --track-origins=yes kdevelop -s ...
Comment 2 Sven Brauch 2016-10-15 14:39:33 UTC

*** This bug has been marked as a duplicate of bug 369326 ***
Comment 3 Sven Brauch 2016-10-15 14:39:56 UTC
I think bug 331227 is a different issue.