Bug 386193 - drkonqi invoked twice when KDevelop crashes
Summary: drkonqi invoked twice when KDevelop crashes
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kcrash
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.38.0
Platform: Compiled Sources macOS
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-10-25 23:17 UTC by RJVB
Modified: 2021-01-16 04:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2017-10-25 23:17:13 UTC
Application: kdevelop (5.1.80-43-g4dd897a)
 (Compiled from sources)
Qt Version: 5.8.0
Frameworks Version: 5.38.0
Operating System: Darwin 13.4.0 x86_64
Distribution (Platform): MacPorts Packages

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

Anything that crashes KDevelop or causes it to abort. In this case, I quit it with a patch review open after having used the Purpose Phabricator plugin.

- Unusual behaviour I noticed:

DrKonqi is started twice. Usually there is only one instance that can get a usable backtrace, and in this case that backtrace shows where those 2 invocations come from.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault: 11
(lldb) process attach --pid 77841
Process 77841 stopped
Executable module set to "/Applications/MacPorts/KF5/kdevelop.app/Contents/MacOS/kdevelop.bin".
Architecture set to: x86_64-apple-macosx.
(lldb) set term-width 200
(lldb) thread info
thread #1: tid = 0x2dbaf87, 0x00007fff8fb78e20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1: tid = 0x2dbaf87, 0x00007fff8fb78e20 libsystem_kernel.dylib`__wait4 + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff8fb78e20 libsystem_kernel.dylib`__wait4 + 8
    frame #1: 0x0000000108328cde libKF5Crash.5.dylib`KCrash::startProcess(int, char const**, bool) [inlined] startProcessInternal(argc=<unavailable>, directly=<unavailable>) + 125 at kcrash.cpp:651
    frame #2: 0x0000000108328c61 libKF5Crash.5.dylib`KCrash::startProcess(argc=<unavailable>, argv=<unavailable>, waitAndExit=<unavailable>) + 17 at kcrash.cpp:633
    frame #3: 0x0000000108328aa5 libKF5Crash.5.dylib`KCrash::defaultCrashHandler(sig=11) + 1061 at kcrash.cpp:530
    frame #4: 0x00007fff929405aa libsystem_platform.dylib`_sigtramp + 26
    frame #5: 0x0000000108ba8bac QtQml`QQmlApplicationEngine::~QQmlApplicationEngine() [inlined] void qDeleteAll<QList<QObject*>::const_iterator>(QList<QObject*>::const_iterator, QList<QObject*>::const_iterator) + 30 at qalgorithms.h:320
    frame #6: 0x0000000108ba8b8e QtQml`QQmlApplicationEngine::~QQmlApplicationEngine() [inlined] void qDeleteAll<QList<QObject*> >(QList<QObject*> const&) + 29 at qalgorithms.h:328
    frame #7: 0x0000000108ba8b71 QtQml`QQmlApplicationEngine::~QQmlApplicationEngine() [inlined] QQmlApplicationEnginePrivate::cleanUp() at qqmlapplicationengine.cpp:60
    frame #8: 0x0000000108ba8b71 QtQml`QQmlApplicationEngine::~QQmlApplicationEngine(this=0x00007fb5c1d9bbf0) + 33 at qqmlapplicationengine.cpp:240
    frame #9: 0x0000000108ba8c2e QtQml`QQmlApplicationEngine::~QQmlApplicationEngine() [inlined] QQmlApplicationEngine::~QQmlApplicationEngine(this=0x00007fb5c1d9bbf0) + 14 at qqmlapplicationengine.cpp:237
    frame #10: 0x0000000108ba8c29 QtQml`QQmlApplicationEngine::~QQmlApplicationEngine(this=0x00007fb5c1d9bbf0) + 9 at qqmlapplicationengine.cpp:237
    frame #11: 0x000000010af19878 QtCore`QObject::event(QEvent*) [inlined] qDeleteInEventHandler(o=0x00007fb5c1d9bbf0) + 14 at qobject.cpp:4557
    frame #12: 0x000000010af1986a QtCore`QObject::event(this=0x00007fb5c1d9bbf0, e=<unavailable>) + 826 at qobject.cpp:1254
    frame #13: 0x0000000109efca6d QtWidgets`QApplicationPrivate::notify_helper(this=<unavailable>, receiver=0x00007fb5c1d9bbf0, e=0x00007fb5d5e61530) + 269 at qapplication.cpp:3745
    frame #14: 0x0000000109effde2 QtWidgets`QApplication::notify(this=<unavailable>, receiver=<unavailable>, e=<unavailable>) + 8306 at qapplication.cpp:3708
    frame #15: 0x000000010aef0717 QtCore`QCoreApplication::notifyInternal2(receiver=0x00007fb5c1d9bbf0, event=0x00007fb5d5e61530) + 167 at qcoreapplication.cpp:995
    frame #16: 0x000000010aef13ef QtCore`QCoreApplicationPrivate::sendPostedEvents(receiver=0x0000000000000000, event_type=0, data=0x00007fb5d1e00940) + 591 at qcoreapplication.h:231
    frame #17: 0x000000010aef0e52 QtCore`QCoreApplication::exec() + 434 at qcoreapplication.cpp:1289
    frame #18: 0x0000000107f15776 kdevelop.bin`main(argc=<unavailable>, argv=0x00007fff57d030d8) + 52438 at main.cpp:920
    frame #19: 0x00007fff906e25fd libdyld.dylib`start + 1
    frame #20: 0x00007fff906e25fd libdyld.dylib`start + 1

  thread #2: tid = 0x2dbaf8a, 0x00007fff8fb78e22 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff8fb78e22 libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0x0000000108328cde libKF5Crash.5.dylib`KCrash::startProcess(int, char const**, bool) [inlined] startProcessInternal(argc=<unavailable>, directly=<unavailable>) + 125 at kcrash.cpp:651
    frame #2: 0x0000000108328c61 libKF5Crash.5.dylib`KCrash::startProcess(argc=<unavailable>, argv=<unavailable>, waitAndExit=<unavailable>) + 17 at kcrash.cpp:633
    frame #3: 0x0000000108328aa5 libKF5Crash.5.dylib`KCrash::defaultCrashHandler(sig=11) + 1061 at kcrash.cpp:530
    frame #4: 0x00007fff929405aa libsystem_platform.dylib`_sigtramp + 26
    frame #5: 0x00007fff8fb79663 libsystem_kernel.dylib`kevent64 + 11
    frame #6: 0x00007fff93ec8136 libdispatch.dylib`_dispatch_mgr_thread + 52

  thread #3: tid = 0x2dbaf93, 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10, name = 'QDBusConnectionManager'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010af42cd0 QtCore`qt_safe_poll(pollfd*, unsigned int, timespec const*) [inlined] qt_ppoll(fds=0x00007fb5d1d1c188, nfds=2) + 528 at qcore_unix.cpp:83
    frame #2: 0x000000010af42cbb QtCore`qt_safe_poll(fds=0x00007fb5d1d1c188, nfds=2, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x000000010af44359 QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>, flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000010aeec90e QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at qeventloop.cpp:134
    frame #5: 0x000000010aeec8f4 QtCore`QEventLoop::exec(this=0x000000011515fe30, flags=<unavailable>) + 372 at qeventloop.cpp:212
    frame #6: 0x000000010ad2ce62 QtCore`QThread::exec(this=<unavailable>) + 114 at qthread.cpp:507
    frame #7: 0x0000000109906783 QtDBus`QDBusConnectionManager::run(this=0x00007fb5d1f10ac0) + 19 at qdbusconnection.cpp:170
    frame #8: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5d1f10ac0) + 359 at qthread_unix.cpp:368
    frame #9: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #10: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #11: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #4: tid = 0x2dbaf9d, 0x00007fff8fb74a1a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #0: 0x00007fff8fb74a1a libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff8fb73d18 libsystem_kernel.dylib`mach_msg + 64
    frame #2: 0x00007fff9a52bf15 CoreFoundation`__CFRunLoopServiceMachPort + 181
    frame #3: 0x00007fff9a52b539 CoreFoundation`__CFRunLoopRun + 1161
    frame #4: 0x00007fff9a52ae75 CoreFoundation`CFRunLoopRunSpecific + 309
    frame #5: 0x00007fff8f03305e AppKit`_NSEventThread + 144
    frame #6: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #7: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #8: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #5: tid = 0x2dbafcf, 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10, name = 'QThread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010af42b30 QtCore`qt_safe_poll(pollfd*, unsigned int, timespec const*) [inlined] qt_ppoll(fds=0x00007fb5d47ed498, nfds=1) + 112 at qcore_unix.cpp:83
    frame #2: 0x000000010af42af5 QtCore`qt_safe_poll(fds=0x00007fb5d47ed498, nfds=1, timeout_ts=0x000000011f626d10) + 53 at qcore_unix.cpp:111
    frame #3: 0x000000010af44359 QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>, flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000010aeec90e QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at qeventloop.cpp:134
    frame #5: 0x000000010aeec8f4 QtCore`QEventLoop::exec(this=0x000000011f626de0, flags=<unavailable>) + 372 at qeventloop.cpp:212
    frame #6: 0x000000010ad2ce62 QtCore`QThread::exec(this=<unavailable>) + 114 at qthread.cpp:507
    frame #7: 0x000000010b6399ff libKDevPlatformLanguage.52.dylib`KDevelop::DUChainPrivate::CleanupThread::run(this=0x00007fb5d4d99fa0) + 159 at duchain.cpp:283
    frame #8: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5d4d99fa0) + 359 at qthread_unix.cpp:368
    frame #9: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #10: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #11: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #6: tid = 0x2dbafd2, 0x00007fff8fb789aa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff8fb789aa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff9a577a03 CoreFoundation`__CFSocketManager + 867
    frame #2: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #3: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #4: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #7: tid = 0x2dbafda, 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10, name = 'Qt bearer thread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010af42cd0 QtCore`qt_safe_poll(pollfd*, unsigned int, timespec const*) [inlined] qt_ppoll(fds=0x00007fb5d1cf7b78, nfds=1) + 528 at qcore_unix.cpp:83
    frame #2: 0x000000010af42cbb QtCore`qt_safe_poll(fds=0x00007fb5d1cf7b78, nfds=1, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x000000010af44359 QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>, flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000010aeec90e QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at qeventloop.cpp:134
    frame #5: 0x000000010aeec8f4 QtCore`QEventLoop::exec(this=0x0000000120bf6e60, flags=<unavailable>) + 372 at qeventloop.cpp:212
    frame #6: 0x000000010ad2ce62 QtCore`QThread::exec(this=<unavailable>) + 114 at qthread.cpp:507
    frame #7: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5d4cae030) + 359 at qthread_unix.cpp:368
    frame #8: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #9: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #10: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #8: tid = 0x2dbb121, 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10, name = 'OutputFilterThread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010af42cd0 QtCore`qt_safe_poll(pollfd*, unsigned int, timespec const*) [inlined] qt_ppoll(fds=0x00007fb5d1dc83a8, nfds=1) + 528 at qcore_unix.cpp:83
    frame #2: 0x000000010af42cbb QtCore`qt_safe_poll(fds=0x00007fb5d1dc83a8, nfds=1, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x000000010af44359 QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>, flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000010aeec90e QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at qeventloop.cpp:134
    frame #5: 0x000000010aeec8f4 QtCore`QEventLoop::exec(this=0x0000000118ec9e60, flags=<unavailable>) + 372 at qeventloop.cpp:212
    frame #6: 0x000000010ad2ce62 QtCore`QThread::exec(this=<unavailable>) + 114 at qthread.cpp:507
    frame #7: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5d63f0818) + 359 at qthread_unix.cpp:368
    frame #8: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #9: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #10: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #9: tid = 0x2dbb263, 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Queue(0x7fb5d4934360)[01]'
    frame #0: 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8dc7fc3b libsystem_pthread.dylib`_pthread_cond_wait + 727
    frame #2: 0x000000010ad31dbb QtCore`QWaitConditionPrivate::wait(this=0x00007fb5d49566e0, time=<unavailable>) + 75 at qwaitcondition_unix.cpp:143
    frame #3: 0x000000010ad31d4c QtCore`QWaitCondition::wait(this=0x00007fb5d4956650, mutex=0x00007fb5d49567e0, time=18446744073709551615) + 156 at qwaitcondition_unix.cpp:215
    frame #4: 0x000000010c5dca20 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) [inlined] ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(this=<unavailable>, th=<unavailable>) + 96 at weaver.cpp:594
    frame #5: 0x000000010c5dca09 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(this=<unavailable>, th=<unavailable>) + 73 at weaver.cpp:581
    frame #6: 0x000000010c5e12cd libKF5ThreadWeaver.5.dylib`ThreadWeaver::SuspendingState::applyForWork(this=0x00007fb5d490e370, th=0x00007fb5d617ce10, wasBusy=<unavailable>) + 157 at suspendingstate.cpp:61
    frame #7: 0x000000010c5e1325 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::SuspendingState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at suspendingstate.cpp:63
    frame #8: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #9: 0x000000010c5e1035 libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #10: 0x000000010c5e10f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #11: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #12: 0x000000010c5e1035 libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #13: 0x000000010c5e10f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #14: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #15: 0x000000010c5e1035 libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #16: 0x000000010c5e10f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #17: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=true) + 50 at weaver.cpp:568
    frame #18: 0x000000010c5dea66 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Thread::run(this=0x00007fb5d617ce10) + 118 at thread.cpp:103
    frame #19: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5d617ce10) + 359 at qthread_unix.cpp:368
    frame #20: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #21: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #22: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #10: tid = 0x2dbb264, 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Queue(0x7fb5d4934360)[02]'
    frame #0: 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8dc7fc3b libsystem_pthread.dylib`_pthread_cond_wait + 727
    frame #2: 0x000000010ad31dbb QtCore`QWaitConditionPrivate::wait(this=0x00007fb5d49566e0, time=<unavailable>) + 75 at qwaitcondition_unix.cpp:143
    frame #3: 0x000000010ad31d4c QtCore`QWaitCondition::wait(this=0x00007fb5d4956650, mutex=0x00007fb5d49567e0, time=18446744073709551615) + 156 at qwaitcondition_unix.cpp:215
    frame #4: 0x000000010c5dca20 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) [inlined] ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(this=<unavailable>, th=<unavailable>) + 96 at weaver.cpp:594
    frame #5: 0x000000010c5dca09 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(this=<unavailable>, th=<unavailable>) + 73 at weaver.cpp:581
    frame #6: 0x000000010c5e12cd libKF5ThreadWeaver.5.dylib`ThreadWeaver::SuspendingState::applyForWork(this=0x00007fb5d490e370, th=0x00007fb5d56e20e0, wasBusy=<unavailable>) + 157 at suspendingstate.cpp:61
    frame #7: 0x000000010c5e1325 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::SuspendingState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at suspendingstate.cpp:63
    frame #8: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #9: 0x000000010c5e1035 libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #10: 0x000000010c5e10f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #11: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #12: 0x000000010c5e1035 libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #13: 0x000000010c5e10f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #14: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=true) + 50 at weaver.cpp:568
    frame #15: 0x000000010c5dea66 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Thread::run(this=0x00007fb5d56e20e0) + 118 at thread.cpp:103
    frame #16: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5d56e20e0) + 359 at qthread_unix.cpp:368
    frame #17: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #18: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #19: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #11: tid = 0x2dbb265, 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Queue(0x7fb5d4934360)[03]'
    frame #0: 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8dc7fc3b libsystem_pthread.dylib`_pthread_cond_wait + 727
    frame #2: 0x000000010ad31dbb QtCore`QWaitConditionPrivate::wait(this=0x00007fb5d49566e0, time=<unavailable>) + 75 at qwaitcondition_unix.cpp:143
    frame #3: 0x000000010ad31d4c QtCore`QWaitCondition::wait(this=0x00007fb5d4956650, mutex=0x00007fb5d49567e0, time=18446744073709551615) + 156 at qwaitcondition_unix.cpp:215
    frame #4: 0x000000010c5dca20 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(ThreadWeaver::Thread*) [inlined] ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(this=<unavailable>, th=<unavailable>) + 96 at weaver.cpp:594
    frame #5: 0x000000010c5dca09 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned(this=<unavailable>, th=<unavailable>) + 73 at weaver.cpp:581
    frame #6: 0x000000010c5e14da libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::SuspendedState::applyForWork(ThreadWeaver::Thread*, bool) [inlined] ThreadWeaver::SuspendedState::applyForWork(th=0x00007fb5d6169ee0) + 28 at suspendedstate.cpp:56
    frame #7: 0x000000010c5e14be libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::SuspendedState::applyForWork(this=0x00007fb5d4925c08, th=0x00007fb5d6169ee0, wasBusy=false) + 30 at suspendedstate.cpp:58
    frame #8: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #9: 0x000000010c5e1035 libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #10: 0x000000010c5e10f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #11: 0x000000010c5dc902 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>, th=<unavailable>, wasBusy=true) + 50 at weaver.cpp:568
    frame #12: 0x000000010c5dea66 libKF5ThreadWeaver.5.dylib`ThreadWeaver::Thread::run(this=0x00007fb5d6169ee0) + 118 at thread.cpp:103
    frame #13: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5d6169ee0) + 359 at qthread_unix.cpp:368
    frame #14: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #15: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #16: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #12: tid = 0x2dc7d51, 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10, name = 'QQmlThread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x000000010af42cd0 QtCore`qt_safe_poll(pollfd*, unsigned int, timespec const*) [inlined] qt_ppoll(fds=0x00007fb5d5bef6f8, nfds=1) + 528 at qcore_unix.cpp:83
    frame #2: 0x000000010af42cbb QtCore`qt_safe_poll(fds=0x00007fb5d5bef6f8, nfds=1, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x000000010af44359 QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>, flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000010aeec90e QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined] QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at qeventloop.cpp:134
    frame #5: 0x000000010aeec8f4 QtCore`QEventLoop::exec(this=0x000000011462ee40, flags=<unavailable>) + 372 at qeventloop.cpp:212
    frame #6: 0x000000010ad2ce62 QtCore`QThread::exec(this=<unavailable>) + 114 at qthread.cpp:507
    frame #7: 0x0000000108bbd159 QtQml`QQmlThreadPrivate::run(this=0x00007fb5c315b500) + 57 at qqmlthread.cpp:147
    frame #8: 0x000000010ad30867 QtCore`QThreadPrivate::start(arg=0x00007fb5c315b500) + 359 at qthread_unix.cpp:368
    frame #9: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #10: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #11: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #13: tid = 0x2dc877e, 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'NSOperationQueue Serial Queue'
    frame #0: 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8dc7fc3b libsystem_pthread.dylib`_pthread_cond_wait + 727
    frame #2: 0x00007fff98e390b9 Foundation`-[NSCondition wait] + 237
    frame #3: 0x00007fff98e0589e Foundation`-[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 749
    frame #4: 0x00007fff98e054ef Foundation`-[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 134
    frame #5: 0x00007fff8f22e401 AppKit`____NSAppKitFinalizeThreadData_block_invoke_2 + 89
    frame #6: 0x00007fff98dfd6d5 Foundation`-[NSBlockOperation main] + 75
    frame #7: 0x00007fff98ddcec1 Foundation`-[__NSOperationInternal _start:] + 631
    frame #8: 0x00007fff98ddcb6b Foundation`__NSOQSchedule_f + 64
    frame #9: 0x00007fff93ec628d libdispatch.dylib`_dispatch_client_callout + 8
    frame #10: 0x00007fff93ec8673 libdispatch.dylib`_dispatch_queue_drain + 451
    frame #11: 0x00007fff93ec99c1 libdispatch.dylib`_dispatch_queue_invoke + 110
    frame #12: 0x00007fff93ec7f87 libdispatch.dylib`_dispatch_root_queue_drain + 75
    frame #13: 0x00007fff93ec9177 libdispatch.dylib`_dispatch_worker_thread2 + 40
    frame #14: 0x00007fff8dc7eef8 libsystem_pthread.dylib`_pthread_wqthread + 314
    frame #15: 0x00007fff8dc81fb9 libsystem_pthread.dylib`start_wqthread + 13

  thread #14: tid = 0x2dc8a2c, 0x00007fff8fb78e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff8fb78e6a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff8dc7ef08 libsystem_pthread.dylib`_pthread_wqthread + 330
    frame #2: 0x00007fff8dc81fb9 libsystem_pthread.dylib`start_wqthread + 13
(lldb) detach
Process 77841 detached

Possible duplicates by query: bug 386071, bug 385895, bug 385854, bug 385848, bug 385826.

Reported using DrKonqi
Comment 1 RJVB 2017-10-25 23:21:54 UTC
The terminal output around the time of the KDevelop crash:

qrc:/JobDialog.qml:66: TypeError: Cannot read property 'Layout' of null
qrc:/JobDialog.qml:67: TypeError: Cannot read property 'Layout' of null
KCrash: Application 'kdevelop.bin' crashing...
KCrash: Application 'kdevelop.bin' crashing...
KCrash: Attempting to start /opt/local/libexec/kde5/drkonqi directly
KCrash: Attempting to start /opt/local/libexec/kde5/drkonqi directly


It's normal on Mac that DrKonqi is started directly. Maybe the code handling the direct launch should use a mutex (and a once-only construct)?
Comment 2 RJVB 2018-06-28 14:17:14 UTC
Kdevelop is the only application where I keep seeing this, and on Mac only.

I have a hunch this has to do with an additional background thread that somehow also picks up the exception.
Comment 3 Justin Zobel 2020-12-17 05:38:58 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 4 Bug Janitor Service 2021-01-01 04:37:41 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-01-16 04:36:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!