https://bugs.kde.org/show_bug.cgi?id=368555
Bug ID: 368555
Summary: KDevelop crashes when you attempt to "Kill All Jobs"
when no jobs are running
Product: kdevelop
Version: 5.0.0
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: kdevelop-bugs-n...@kde.org
Reporter: fredrik.haikarai...@gmail.com
Application: kdevelop (5.0.0)
Qt Version: 5.7.0
Frameworks Version: 5.25.0
Operating System: Linux 4.7.2-1-ARCH x86_64
Distribution (Platform): Archlinux Packages
-- Information about the crash:
- What I was doing when the application crashed:
1. Attempt to install a target
2. It fails with *** Killed process ***
3. No jobs are running, but both "Stop" and "Stop All" buttons are active, and
in the job list the install job is still there.
4. Press Stop All.
Arch Linux x64, using kdesudo for install, works when manually typing in
commandline (kdesudo -- make -j4 install)
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 0x7f8ef7b1e800 (LWP 5459))]
Thread 12 (Thread 0x7f8ea89c5700 (LWP 5559)):
#0 0x7f8eee41f10f in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1 0x7f8ef5016c2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2 0x7f8ee9b401c0 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5
#3 0x7f8ee9b44978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5
#4 0x7f8ee9b3f263 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from
/usr/lib/libKF5ThreadWeaver.so.5
#5 0x7f8ee9b449d2 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5
#6 0x7f8ee9b3f263 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from
/usr/lib/libKF5ThreadWeaver.so.5
#7 0x7f8ee9b421f9 in ThreadWeaver::Thread::run() () from
/usr/lib/libKF5ThreadWeaver.so.5
#8 0x7f8ef5015d78 in ?? () from /usr/lib/libQt5Core.so.5
#9 0x7f8eee419454 in start_thread () from /usr/lib/libpthread.so.0
#10 0x7f8ef492b7df in clone () from /usr/lib/libc.so.6
Thread 11 (Thread 0x7f8ea91c6700 (LWP 5558)):
#0 0x7f8eee41f10f in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1 0x7f8ef5016c2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2 0x7f8ee9b401c0 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5
#3 0x7f8ee9b44978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5
#4 0x7f8ee9b3f263 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from
/usr/lib/libKF5ThreadWeaver.so.5
#5 0x7f8ee9b449d2 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5
#6 0x7f8ee9b3f263 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from
/usr/lib/libKF5ThreadWeaver.so.5
#7 0x7f8ee9b421f9 in ThreadWeaver::Thread::run() () from
/usr/lib/libKF5ThreadWeaver.so.5
#8 0x7f8ef5015d78 in ?? () from /usr/lib/libQt5Core.so.5
#9 0x7f8eee419454 in start_thread () from /usr/lib/libpthread.so.0
#10 0x7f8ef492b7df in clone () from /usr/lib/libc.so.6
Thread 10 (Thread 0x7f8ea99c7700 (LWP 5557)):
#0 0x7f8eee41f10f in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1 0x7f8ef5016c2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2 0x7f8ee9b401c0 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5
#3 0x7f8ee9b44978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5
#4 0x7f8ee9b3f263 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from
/usr/lib/libKF5ThreadWeaver.so.5
#5 0x7f8ee9b421f9 in ThreadWeaver::Thread::run() () from
/usr/lib/libKF5ThreadWeaver.so.5
#6 0x7f8ef5015d78 in ?? () from /usr/lib/libQt5Core.so.5
#7 0x7f8eee419454 in start_thread () from /usr/lib/libpthread.so.0
#8 0x7f8ef492b7df in clone () from /usr/lib/libc.so.6
Thread 9 (Thread 0x7f8eaa1c8700 (LWP 5556)):
#0 0x7f8eee41f10f in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1 0x7f8ef5016c2b in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQt5Core.so.5
#2 0x7f8ee9b401c0 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () from /usr/lib/libKF5ThreadWeaver.so.5
#3 0x7f8ee9b44978 in ?? () from /usr/lib/libKF5ThreadWeaver.so.5
#4 0x7f8ee9b3f263 in
ThreadWeaver::Weaver::applyForWork(Thread