Bug 366847 - KDevelop crashes on exit [KDevelop::ColorCache::updateInternal]
Summary: KDevelop crashes on exit [KDevelop::ColorCache::updateInternal]
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-08-16 16:55 UTC by Ken Roberts
Modified: 2016-08-17 13:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Roberts 2016-08-16 16:55:12 UTC
Application: kdevelop (4.90.92)

Qt Version: 5.6.1
Frameworks Version: 5.25.0
Operating System: Linux 4.6.6-300.fc24.x86_64 x86_64
Distribution: "Fedora release 24 (Twenty Four)"

-- Information about the crash:
- What I was doing when the application crashed:
Running KDevelop on python3 program from bazaar branch.
Fedora 24 with latest upgrades as of 16 August 2016
Crash occurs after opening a file when either closing using window 'X' or selecting
'Session->Quit'
Crash does not appear when I start KDevelop and immediately close without loading/viewing/editing any file in bazaar branch.

- Unusual behavior I noticed:
None during use

- Custom settings of the application:
None that I am aware of

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 0x7f2114f63940 (LWP 2657))]

Thread 4 (Thread 0x7f20f89c9700 (LWP 2663)):
#0  0x00007f2128509f79 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f212faf8ff8 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5
#2  0x00007f212faf592d in QThreadPoolThread::run() () from /lib64/libQt5Core.so.5
#3  0x00007f212faf899a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#4  0x00007f21285045ca in start_thread () from /lib64/libpthread.so.0
#5  0x00007f212eeebead in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f20fabdb700 (LWP 2661)):
#0  0x00007f2128509f79 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f212faf8ff8 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQt5Core.so.5
#2  0x00007f212cfc45f8 in KDevelop::DUChainPrivate::CleanupThread::run() () from /lib64/libKDevPlatformLanguage.so.10
#3  0x00007f212faf899a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#4  0x00007f21285045ca in start_thread () from /lib64/libpthread.so.0
#5  0x00007f212eeebead in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f210a9be700 (LWP 2659)):
#0  0x00007f21259f1b58 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#1  0x00007f21259ac960 in g_main_context_acquire () from /lib64/libglib-2.0.so.0
#2  0x00007f21259ad8f5 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007f21259adb5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f212fce624b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f212fc955ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f212faf4343 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f2135e90559 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#8  0x00007f212faf899a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f21285045ca in start_thread () from /lib64/libpthread.so.0
#10 0x00007f212eeebead in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2114f63940 (LWP 2657)):
[KCrash Handler]
#6  0x00007f212d0f23ba in KDevelop::ColorCache::updateInternal() () from /lib64/libKDevPlatformLanguage.so.10
#7  0x00007f212fcbfbd9 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#8  0x00007f2130529c0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#9  0x00007f213052f0ef in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#10 0x00007f212fc967aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007f212fc9884f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#12 0x00007f212fce61b3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#13 0x00007f21259ad703 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#14 0x00007f21259adab0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#15 0x00007f21259adb5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#16 0x00007f212fce622f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#17 0x00007f212fc955ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#18 0x00007f212fc9d17c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#19 0x000055749b66ab9e in main ()

Possible duplicates by query: bug 310014.

Reported using DrKonqi
Comment 1 Kevin Funk 2016-08-17 08:20:30 UTC
This was probably fixed by:

commit 1a2bab0b861bc0f589d43a9c5bae97f599998856
Author: Sven Brauch <mail@svenbrauch.de>
Date:   Fri Jun 17 10:44:13 2016 +0200

    fix crash on shutdown in ColorCache::updateInternal()


What KDevelop version are you using? Git revison?
Comment 2 Ken Roberts 2016-08-17 13:08:36 UTC
KDevelop 4.90.92

Package information from Fedora 24:
Name        : kdevelop
Arch        : x86_64
Epoch       : 9
Version     : 5.0.0
Release     : 0.2.20160608git.fc24
Size        : 4.3 M
Repo        : @System
From repo   : updates