https://bugs.kde.org/show_bug.cgi?id=380319

            Bug ID: 380319
           Summary: KDevelop master crashes upon startup when no files are
                    opened
           Product: kdevelop
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: k...@jbev.net
  Target Milestone: ---

Application: kdevelop (5.1.40)

Qt Version: 5.8.0
Frameworks Version: 5.34.0
Operating System: Linux 4.10.5-1-ARCH x86_64
Distribution: "Arch Linux"

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

I could start KDevelop, but once I closed all open files, it crashed and I
couldn't start it again. I deleted all sessions in
~/.local/share/kdevelop/sessions/*, same result.

KDevelop and KDevPlatform are both built from the current master branch.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f34f98f7700 (LWP 25193)):
#0  0x00007f353eae039d in pthread_cond_wait@@GLIBC_2.3.2 () at
/usr/lib/libpthread.so.0
#1  0x00007f354449821b in QWaitCondition::wait(QMutex*, unsigned long) () at
/usr/lib/libQt5Core.so.5
#2  0x00007f354a4aa7a6 in  () at /usr/lib/libQt5Qml.so.5
#3  0x00007f354a47bba2 in  () at /usr/lib/libQt5Qml.so.5
#4  0x00007f354a47d18c in  () at /usr/lib/libQt5Qml.so.5
#5  0x00007f354a47dc46 in  () at /usr/lib/libQt5Qml.so.5
#6  0x00007f354a47de8e in QQmlImports::addLibraryImport(QQmlImportDatabase*,
QString const&, QString const&, int, int, QString const&, QString const&, bool,
QList<QQmlError>*) () at /usr/lib/libQt5Qml.so.5
#7  0x00007f354a4427f9 in
QQmlTypeLoader::Blob::addImport(QV4::CompiledData::Import const*,
QList<QQmlError>*) () at /usr/lib/libQt5Qml.so.5
#8  0x00007f354a44315a in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f354a444445 in  () at /usr/lib/libQt5Qml.so.5
#10 0x00007f354a43c578 in  () at /usr/lib/libQt5Qml.so.5
#11 0x00007f354a43cd32 in  () at /usr/lib/libQt5Qml.so.5
#12 0x00007f354a43dede in  () at /usr/lib/libQt5Qml.so.5
#13 0x00007f354a43df6d in  () at /usr/lib/libQt5Qml.so.5
#14 0x00007f354a4aa3d4 in  () at /usr/lib/libQt5Qml.so.5
#15 0x00007f354a4aaa3a in  () at /usr/lib/libQt5Qml.so.5
#16 0x00007f3545386d7c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#17 0x00007f354538e494 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#18 0x00007f354467bd38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#19 0x00007f354467defd in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f35446d2af3 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007f353aa917b7 in g_main_context_dispatch () at
/usr/lib/libglib-2.0.so.0
#22 0x00007f353aa91a20 in  () at /usr/lib/libglib-2.0.so.0
#23 0x00007f353aa91acc in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#24 0x00007f35446d2f0f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#25 0x00007f354467a3aa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#26 0x00007f354449244a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#27 0x00007f354a4aa085 in  () at /usr/lib/libQt5Qml.so.5
#28 0x00007f3544496e9c in  () at /usr/lib/libQt5Core.so.5
#29 0x00007f353eada297 in start_thread () at /usr/lib/libpthread.so.0
#30 0x00007f354388025f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f34fa9a8700 (LWP 25171)):
#0  0x00007f35438762bd in poll () at /usr/lib/libc.so.6
#1  0x00007f353aa919b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f353aa91acc in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x00007f35446d2f2b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#4  0x00007f354467a3aa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#5  0x00007f354449244a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f3544496e9c in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f353eada297 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f354388025f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f350c69c700 (LWP 24924)):
#0  0x00007f354388d09f in __libc_enable_asynccancel () at /usr/lib/libc.so.6
#1  0x00007f35438762b2 in poll () at /usr/lib/libc.so.6
#2  0x00007f353aa919b6 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f353aa91acc in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#4  0x00007f35446d2f2b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#5  0x00007f354467a3aa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#6  0x00007f354449244a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f35419fa59e in KDevelop::DUChainPrivate::CleanupThread::run() () at
/usr/local/lib64/libKDevPlatformLanguage.so.10
#8  0x00007f3544496e9c in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f353eada297 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f354388025f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f3515ace700 (LWP 24891)):
#0  0x00007f35438762bd in poll () at /usr/lib/libc.so.6
#1  0x00007f353aa919b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f353aa91acc in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#3  0x00007f35446d2f2b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#4  0x00007f354467a3aa in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt5Core.so.5
#5  0x00007f354449244a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f3545d30c45 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f3544496e9c in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f353eada297 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f354388025f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f351d949700 (LWP 24886)):
#0  0x00007f35438762bd in poll () at /usr/lib/libc.so.6
#1  0x00007f35335f28e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f35335f4679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f351fe611d9 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f3544496e9c in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f353eada297 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f354388025f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f354b279d80 (LWP 24877)):
[KCrash Handler]
#6  0x00007f35437c6670 in raise () at /usr/lib/libc.so.6
#7  0x00007f35437c7d00 in abort () at /usr/lib/libc.so.6
#8  0x00007f35444803f7 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f353a5b3c39 in  () at /usr/lib/libQt5QuickWidgets.so.5
#10 0x00007f353a5b3f9a in  () at /usr/lib/libQt5QuickWidgets.so.5
#11 0x00007f353a5b48d0 in QQuickWidget::showEvent(QShowEvent*) () at
/usr/lib/libQt5QuickWidgets.so.5
#12 0x00007f35453cd8b8 in QWidget::event(QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#13 0x00007f3545386d7c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt5Widgets.so.5
#14 0x00007f354538e494 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt5Widgets.so.5
#15 0x00007f354467bd38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt5Core.so.5
#16 0x00007f35453ca728 in QWidgetPrivate::show_helper() () at
/usr/lib/libQt5Widgets.so.5
#17 0x00007f35453cd37b in QWidget::setVisible(bool) () at
/usr/lib/libQt5Widgets.so.5
#18 0x00007f3549faa064 in
Sublime::MainWindowPrivate::setBackgroundCentralWidget(QWidget*) () at
/usr/local/lib64/libKDevPlatformSublime.so.10
#19 0x00007f34f86e4152 in
KDevWelcomePagePlugin::KDevWelcomePagePlugin(QObject*, QList<QVariant> const&)
() at /usr/lib/qt/plugins/kdevplatform/28/kdevwelcomepage.so
#20 0x00007f34f86e43f5 in QObject*
KPluginFactory::createInstance<KDevWelcomePagePlugin, QObject>(QWidget*,
QObject*, QList<QVariant> const&) () at
/usr/lib/qt/plugins/kdevplatform/28/kdevwelcomepage.so
#21 0x00007f3545acaadb in KPluginFactory::create(char const*, QWidget*,
QObject*, QList<QVariant> const&, QString const&) () at
/usr/lib/libKF5CoreAddons.so.5
#22 0x00007f354aeab323 in
KDevelop::PluginController::loadPluginInternal(QString const&) () at
/usr/local/lib64/libKDevPlatformShell.so.10
#23 0x000000000040fda1 in main ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to