Bug 385346 - Kdevelop crashes on launch
Summary: Kdevelop crashes on launch
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.1.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-04 05:22 UTC by Raghavendra kamath
Modified: 2017-10-04 08:23 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 Raghavendra kamath 2017-10-04 05:22:34 UTC
I am a novice and not a programmer, just wanted to try kdevelop.
I installed it from arch linux repo.

When I launched kdevelop, it crashed and i can reproduce it everytime.

Drkonqi gave the backtrace below

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

Thread 6 (Thread 0x7f7a00b5e700 (LWP 3873)):
#0  0x00007f7a352b338d in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f7a3bfba5cc in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f7a30fb3b1f in  () at /usr/lib/libQt5Qml.so.5
#3  0x00007f7a30f85598 in  () at /usr/lib/libQt5Qml.so.5
#4  0x00007f7a30f866c1 in  () at /usr/lib/libQt5Qml.so.5
#5  0x00007f7a30f872fe in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f7a30f8758f in QQmlImports::addLibraryImport(QQmlImportDatabase*, QString const&, QString const&, int, int, QString const&, QString const&, bool, QList<QQmlError>*) () at /usr/lib/libQt5Qml.so.5
#7  0x00007f7a30f46d97 in QQmlTypeLoader::Blob::addImport(QV4::CompiledData::Import const*, QList<QQmlError>*) () at /usr/lib/libQt5Qml.so.5
#8  0x00007f7a30f47520 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f7a30f497e6 in  () at /usr/lib/libQt5Qml.so.5
#10 0x00007f7a30f4084a in  () at /usr/lib/libQt5Qml.so.5
#11 0x00007f7a30f4106a in  () at /usr/lib/libQt5Qml.so.5
#12 0x00007f7a30f41fbe in  () at /usr/lib/libQt5Qml.so.5
#13 0x00007f7a30f4214d in  () at /usr/lib/libQt5Qml.so.5
#14 0x00007f7a30fb3736 in  () at /usr/lib/libQt5Qml.so.5
#15 0x00007f7a30fb3dea in  () at /usr/lib/libQt5Qml.so.5
#16 0x00007f7a3ceb8e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f7a3cec0906 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f7a3c19cbb0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f7a3c19f406 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f7a3c1f7a54 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f7a32d7ca57 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#22 0x00007f7a32d7cc88 in  () at /usr/lib/libglib-2.0.so.0
#23 0x00007f7a32d7cd1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#24 0x00007f7a3c1f7041 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f7a3c19afdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007f7a3bfb43ee in QThread::exec() () at /usr/lib/libQt5Core.so.5
#27 0x00007f7a30fb33d9 in  () at /usr/lib/libQt5Qml.so.5
#28 0x00007f7a3bfb913b in  () at /usr/lib/libQt5Core.so.5
#29 0x00007f7a352ad08a in start_thread () at /usr/lib/libpthread.so.0
#30 0x00007f7a3b8c51bf in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f7a11e98700 (LWP 3862)):
#0  0x00007f7a352b36cd in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f7a3bfba481 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f7a399ad0da in  () at /usr/lib/libKDevPlatformLanguage.so.10
#3  0x00007f7a3bfb913b in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f7a352ad08a in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f7a3b8c51bf in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7a18bfe700 (LWP 3861)):
#0  0x00007f7a3b8bacbb in poll () at /usr/lib/libc.so.6
#1  0x00007f7a32d7cc09 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f7a32d7cd1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f7a3c1f7064 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f7a3c19afdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f7a3bfb43ee in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f7a3dd1f376 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f7a3bfb913b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f7a352ad08a in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f7a3b8c51bf in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f7a1ac10700 (LWP 3860)):
#0  0x00007f7a3b8bacbb in poll () at /usr/lib/libc.so.6
#1  0x00007f7a2af358e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f7a2af37679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f7a1d39574a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f7a3bfb913b in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f7a352ad08a in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f7a3b8c51bf in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f7a1e4c4700 (LWP 3859)):
#0  0x00007f7a352b338d in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f7a3bc3948d in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:864
#2  0x00007f7a3bc3948d in std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
#3  0x00007f7a2f6123f7 in  () at /usr/lib/libQt5WebKit.so.5
#4  0x00007f7a2f612539 in  () at /usr/lib/libQt5WebKit.so.5
#5  0x00007f7a3bc3fa6f in std::execute_native_thread_routine(void*) (__p=0x5619460ba360) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:83
#6  0x00007f7a352ad08a in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f7a3b8c51bf in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f7a3eb69880 (LWP 3858)):
[KCrash Handler]
#5  0x00007f7a3b8038a0 in raise () at /usr/lib/libc.so.6
#6  0x00007f7a3b804f09 in abort () at /usr/lib/libc.so.6
#7  0x00007f7a3bfa3988 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f7a31b3c844 in  () at /usr/lib/libQt5QuickWidgets.so.5
#9  0x00007f7a31b3cbdc in  () at /usr/lib/libQt5QuickWidgets.so.5
#10 0x00007f7a31b3ee6e in QQuickWidget::resizeEvent(QResizeEvent*) () at /usr/lib/libQt5QuickWidgets.so.5
#11 0x00007f7a3cefb922 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f7a3ceb8e2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f7a3cec0906 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007f7a3c19cbb0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f7a3cef3afd in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f7a3cef7aa4 in QWidgetPrivate::show_helper() () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f7a3cefa8d9 in QWidget::setVisible(bool) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f7a3949d640 in  () at /usr/lib/libKDevPlatformSublime.so.10
#19 0x00007f7a0014c1f0 in  () at /usr/lib/qt/plugins/kdevplatform/27/kdevwelcomepage.so
#20 0x00007f7a0014c4fb in  () at /usr/lib/qt/plugins/kdevplatform/27/kdevwelcomepage.so
#21 0x00007f7a3d5feb4f in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib/libKF5CoreAddons.so.5
#22 0x00007f7a3e6cf04b in KDevelop::PluginController::loadPluginInternal(QString const&) () at /usr/lib/libKDevPlatformShell.so.10
#23 0x0000561944acc077 in  ()
#24 0x00007f7a3b7eff6a in __libc_start_main () at /usr/lib/libc.so.6
#25 0x0000561944acd41a in _start ()


It can be that there is some library mismatch or may be the QT version in arch linux. I am just making a guess. please let me know if this helps. or if you need amy more details

thank you
Comment 1 Raghavendra kamath 2017-10-04 07:42:24 UTC
This was mostly due to arch update, I cleaned the system and it started working, sorry for the false alarm. closing this bug report
Comment 2 Kevin Funk 2017-10-04 08:23:15 UTC
Thanks for the feedback!