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

            Bug ID: 384723
           Summary: kdevelop/mac 5.1.40 crash in git/commit patchreview
                    mode after using the "Review Patch" contextmenu action
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
                OS: OS X
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

Application: kdevelop (5.1.40)
 (Compiled from sources)
Qt Version: 5.8.0
Frameworks Version: 5.35.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:

1. open contextmenu in modified file (repeat until the "Review Patch" entry
shows)
2. choose "Review Patch"
3. leave the patch review mode with the dedicated button
4. use the contextmenu to activate git/commit
5. Fill in this report.

- Unusual behaviour I noticed:

- the "Review Patch" context menu entry isn't present systematically
- the "Review Patch" mode doesn't show a diff but the file itself
- after leaving this view, the file now shows the project name prepended in
titlebar and the open document drop-down menu
- after quitting KDevelop (without closing the document) it will no longer be
open

This happens on Mac, but not when using the XCB qpa (i.e. X11 mode). It reminds
of crashes we've seen in the past when pending mouse events were delivered to
an already deleted object because `delete` was used instead of `deleteLater()`.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault: 11
(lldb) process attach --pid 69158
Process 69158 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 = 0x182819c, 0x00007fff8fb78e20 libsystem_kernel.dylib`__wait4 +
8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1: tid = 0x182819c, 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: 0x000000010f4c7cde libKF5Crash.5.dylib`KCrash::startProcess(int,
char const**, bool) [inlined] startProcessInternal(argc=<unavailable>,
directly=<unavailable>) + 125 at kcrash.cpp:651
    frame #2: 0x000000010f4c7c61
libKF5Crash.5.dylib`KCrash::startProcess(argc=<unavailable>,
argv=<unavailable>, waitAndExit=<unavailable>) + 17 at kcrash.cpp:633
    frame #3: 0x000000010f4c7aa5
libKF5Crash.5.dylib`KCrash::defaultCrashHandler(sig=11) + 1061 at
kcrash.cpp:530
    frame #4: 0x00007fff929405aa libsystem_platform.dylib`_sigtramp + 26
    frame #5: 0x00000001110f1143
QtWidgets`QWidgetWindow::handleMouseEvent(QMouseEvent*) [inlined]
QPointer<QWidget>::operator->() const + 12 at qwidget.h:750
    frame #6: 0x00000001110f1137
QtWidgets`QWidgetWindow::handleMouseEvent(this=0x00007fa159a07da0,
event=0x00007fff50b661c8) + 2679 at qwidgetwindow.cpp:529
    frame #7: 0x00000001110efbd9
QtWidgets`QWidgetWindow::event(this=0x00007fa159a07da0,
event=0x00007fff50b661c8) + 185 at qwidgetwindow.cpp:239
    frame #8: 0x000000011108ea6d
QtWidgets`QApplicationPrivate::notify_helper(this=<unavailable>,
receiver=0x00007fa159a07da0, e=0x00007fff50b661c8) + 269 at
qapplication.cpp:3745
    frame #9: 0x0000000111091de2
QtWidgets`QApplication::notify(this=<unavailable>, receiver=<unavailable>,
e=<unavailable>) + 8306 at qapplication.cpp:3708
    frame #10: 0x000000011207e717
QtCore`QCoreApplication::notifyInternal2(receiver=0x00007fa159a07da0,
event=0x00007fff50b661c8) + 167 at qcoreapplication.cpp:995
    frame #11: 0x00000001118b5ce5
QtGui`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
[inlined] QCoreApplication::sendSpontaneousEvent(receiver=0x00007fa159a07da0,
event=0x0000000111c06840) + 2581 at qcoreapplication.h:234
    frame #12: 0x00000001118b5ccf
QtGui`QGuiApplicationPrivate::processMouseEvent(e=0x00007fa1589925f0) + 2559 at
qguiapplication.cpp:1931
    frame #13: 0x00000001118b4b5c
QtGui`QGuiApplicationPrivate::processWindowSystemEvent(e=0x00007fa1589925f0) +
124 at qguiapplication.cpp:1715
    frame #14: 0x000000011189d0bb
QtGui`QWindowSystemInterface::sendWindowSystemEvents(flags=<unavailable>) + 171
at qwindowsysteminterface.cpp:710
    frame #15: 0x000000011bb1f0b1
libqaltcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents(this=<unavailable>)
+ 321 at qcocoaeventdispatcher.mm:889
    frame #16: 0x000000011bb1fac3
libqaltcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(info=0x00007fa14a6474f0)
+ 179 at qcocoaeventdispatcher.mm:925
    frame #17: 0x00007fff9a53a5b1
CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #18: 0x00007fff9a52bc62 CoreFoundation`__CFRunLoopDoSources0 + 242
    frame #19: 0x00007fff9a52b3ef CoreFoundation`__CFRunLoopRun + 831
    frame #20: 0x00007fff9a52ae75 CoreFoundation`CFRunLoopRunSpecific + 309
    frame #21: 0x00007fff92a6ba0d HIToolbox`RunCurrentEventLoopInMode + 226
    frame #22: 0x00007fff92a6b685 HIToolbox`ReceiveNextEventCommon + 173
    frame #23: 0x00007fff92a6b5bc
HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 65
    frame #24: 0x00007fff8ee9324e AppKit`_DPSNextEvent + 1434
    frame #25: 0x00007fff8ee9289b AppKit`-[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
    frame #26: 0x00007fff8ee8699c AppKit`-[NSApplication run] + 553
    frame #27: 0x000000011bb1e76e
libqaltcocoa.dylib`QCocoaEventDispatcher::processEvents(this=0x00007fa14a64c6e0,
flags=<unavailable>) + 2846 at qcocoaeventdispatcher.mm:421
    frame #28: 0x000000011207a90e
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at
qeventloop.cpp:134
    frame #29: 0x000000011207a8f4
QtCore`QEventLoop::exec(this=0x00007fff50b67dd0, flags=<unavailable>) + 372 at
qeventloop.cpp:212
    frame #30: 0x000000011207edfa QtCore`QCoreApplication::exec() + 346 at
qcoreapplication.cpp:1268
    frame #31: 0x000000010f0b0766 kdevelop.bin`main(argc=<unavailable>,
argv=0x00007fff50b68108) + 52438 at main.cpp:917
    frame #32: 0x00007fff906e25fd libdyld.dylib`start + 1
    frame #33: 0x00007fff906e25fd libdyld.dylib`start + 1

  thread #2: tid = 0x18281a2, 0x00007fff8fb78e22 libsystem_kernel.dylib`__wait4
+ 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff8fb78e22 libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0x000000010f4c7cde libKF5Crash.5.dylib`KCrash::startProcess(int,
char const**, bool) [inlined] startProcessInternal(argc=<unavailable>,
directly=<unavailable>) + 125 at kcrash.cpp:651
    frame #2: 0x000000010f4c7c61
libKF5Crash.5.dylib`KCrash::startProcess(argc=<unavailable>,
argv=<unavailable>, waitAndExit=<unavailable>) + 17 at kcrash.cpp:633
    frame #3: 0x000000010f4c7aa5
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 = 0x18281c0, 0x00007fff8fb7994a libsystem_kernel.dylib`poll +
10, name = 'QDBusConnectionManager'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001120d0cd0 QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) [inlined] qt_ppoll(fds=0x00007fa14a6742a8, nfds=2) + 528 at
qcore_unix.cpp:83
    frame #2: 0x00000001120d0cbb QtCore`qt_safe_poll(fds=0x00007fa14a6742a8,
nfds=2, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x00000001120d2359
QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>,
flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000011207a90e
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at
qeventloop.cpp:134
    frame #5: 0x000000011207a8f4
QtCore`QEventLoop::exec(this=0x000000011ec9be30, flags=<unavailable>) + 372 at
qeventloop.cpp:212
    frame #6: 0x0000000111ebae62 QtCore`QThread::exec(this=<unavailable>) + 114
at qthread.cpp:507
    frame #7: 0x0000000110cd8783
QtDBus`QDBusConnectionManager::run(this=0x00007fa14a56f510) + 19 at
qdbusconnection.cpp:170
    frame #8: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa14a56f510) + 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 = 0x18281d2, 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 = 0x182829d, 0x00007fff8fb7994a libsystem_kernel.dylib`poll +
10, name = 'QThread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001120d0b30 QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) [inlined] qt_ppoll(fds=0x00007fa14d36e968, nfds=1) + 112 at
qcore_unix.cpp:83
    frame #2: 0x00000001120d0af5 QtCore`qt_safe_poll(fds=0x00007fa14d36e968,
nfds=1, timeout_ts=0x0000000121820d10) + 53 at qcore_unix.cpp:111
    frame #3: 0x00000001120d2359
QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>,
flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000011207a90e
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at
qeventloop.cpp:134
    frame #5: 0x000000011207a8f4
QtCore`QEventLoop::exec(this=0x0000000121820de0, flags=<unavailable>) + 372 at
qeventloop.cpp:212
    frame #6: 0x0000000111ebae62 QtCore`QThread::exec(this=<unavailable>) + 114
at qthread.cpp:507
    frame #7: 0x00000001127c493f
libKDevPlatformLanguage.10.dylib`KDevelop::DUChainPrivate::CleanupThread::run(this=0x00007fa14da2f300)
+ 159 at duchain.cpp:283
    frame #8: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa14da2f300) + 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 = 0x182829e, 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 = 0x18282a5, 0x00007fff8fb7994a libsystem_kernel.dylib`poll +
10, name = 'KDevelop::CompletionWorkerThread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001120d0cd0 QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) [inlined] qt_ppoll(fds=0x00007fa14dbfb218, nfds=1) + 528 at
qcore_unix.cpp:83
    frame #2: 0x00000001120d0cbb QtCore`qt_safe_poll(fds=0x00007fa14dbfb218,
nfds=1, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x00000001120d2359
QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>,
flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000011207a90e
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at
qeventloop.cpp:134
    frame #5: 0x000000011207a8f4
QtCore`QEventLoop::exec(this=0x000000012b5a0db0, flags=<unavailable>) + 372 at
qeventloop.cpp:212
    frame #6: 0x0000000111ebae62 QtCore`QThread::exec(this=<unavailable>) + 114
at qthread.cpp:507
    frame #7: 0x00000001128b0cb4
libKDevPlatformLanguage.10.dylib`KDevelop::CompletionWorkerThread::run(this=0x00007fa14d6bcd50)
+ 388 at codecompletionmodel.cpp:79
    frame #8: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa14d6bcd50) + 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 #8: tid = 0x18282b8, 0x00007fff8fb7994a libsystem_kernel.dylib`poll +
10, name = 'Qt bearer thread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001120d0cd0 QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) [inlined] qt_ppoll(fds=0x00007fa14fc490a8, nfds=1) + 528 at
qcore_unix.cpp:83
    frame #2: 0x00000001120d0cbb QtCore`qt_safe_poll(fds=0x00007fa14fc490a8,
nfds=1, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x00000001120d2359
QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>,
flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000011207a90e
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at
qeventloop.cpp:134
    frame #5: 0x000000011207a8f4
QtCore`QEventLoop::exec(this=0x000000012c3e9e60, flags=<unavailable>) + 372 at
qeventloop.cpp:212
    frame #6: 0x0000000111ebae62 QtCore`QThread::exec(this=<unavailable>) + 114
at qthread.cpp:507
    frame #7: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa150226e60) + 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 = 0x18283d2, 0x00007fff8fb78716
libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Queue(0x7fa14d472870)[01]'
    frame #0: 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8dc7fc3b libsystem_pthread.dylib`_pthread_cond_wait +
727
    frame #2: 0x0000000111ebfdbb
QtCore`QWaitConditionPrivate::wait(this=0x00007fa14d1dd3c0, time=<unavailable>)
+ 75 at qwaitcondition_unix.cpp:143
    frame #3: 0x0000000111ebfd4c
QtCore`QWaitCondition::wait(this=0x00007fa14d1dd330, mutex=0x00007fa14d4728a0,
time=18446744073709551615) + 156 at qwaitcondition_unix.cpp:215
    frame #4: 0x000000011374f604
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) [inlined]
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(this=<unavailable>,
th=<unavailable>) + 804 at weaver.cpp:594
    frame #5: 0x000000011374f5ed
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(this=<unavailable>,
th=0x00007fa14ffeca70, threadWasBusy=<unavailable>,
suspendIfInactive=<unavailable>, justReturning=<unavailable>) + 781 at
weaver.cpp:554
    frame #6: 0x0000000113753ff0
libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=0x00007fa14d46d550,
th=0x00007fa14ffeca70, wasBusy=true) + 64 at workinghardstate.cpp:66
    frame #7: 0x00000001137540f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk
to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #8: 0x000000011374f902
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=true) + 50 at weaver.cpp:568
    frame #9: 0x0000000113751a66
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Thread::run(this=0x00007fa14ffeca70) +
118 at thread.cpp:103
    frame #10: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa14ffeca70) + 359 at
qthread_unix.cpp:368
    frame #11: 0x00007fff8dc7d899 libsystem_pthread.dylib`_pthread_body + 138
    frame #12: 0x00007fff8dc7d72a libsystem_pthread.dylib`_pthread_start + 137
    frame #13: 0x00007fff8dc81fc9 libsystem_pthread.dylib`thread_start + 13

  thread #10: tid = 0x18283d3, 0x00007fff8fb78716
libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Queue(0x7fa14d472870)[02]'
    frame #0: 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8dc7fc3b libsystem_pthread.dylib`_pthread_cond_wait +
727
    frame #2: 0x0000000111ebfdbb
QtCore`QWaitConditionPrivate::wait(this=0x00007fa14d1dd3c0, time=<unavailable>)
+ 75 at qwaitcondition_unix.cpp:143
    frame #3: 0x0000000111ebfd4c
QtCore`QWaitCondition::wait(this=0x00007fa14d1dd330, mutex=0x00007fa14d4728a0,
time=18446744073709551615) + 156 at qwaitcondition_unix.cpp:215
    frame #4: 0x000000011374f604
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) [inlined]
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(this=<unavailable>,
th=<unavailable>) + 804 at weaver.cpp:594
    frame #5: 0x000000011374f5ed
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(this=<unavailable>,
th=0x00007fa14d6e5dc0, threadWasBusy=<unavailable>,
suspendIfInactive=<unavailable>, justReturning=<unavailable>) + 781 at
weaver.cpp:554
    frame #6: 0x0000000113753ff0
libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=0x00007fa14d46d550,
th=0x00007fa14d6e5dc0, wasBusy=false) + 64 at workinghardstate.cpp:66
    frame #7: 0x00000001137540f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk
to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #8: 0x000000011374f902
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #9: 0x0000000113754035
libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #10: 0x00000001137540f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk
to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #11: 0x000000011374f902
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #12: 0x0000000113754035
libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #13: 0x00000001137540f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk
to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #14: 0x000000011374f902
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=true) + 50 at weaver.cpp:568
    frame #15: 0x0000000113751a66
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Thread::run(this=0x00007fa14d6e5dc0) +
118 at thread.cpp:103
    frame #16: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa14d6e5dc0) + 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 = 0x18283d4, 0x00007fff8fb78716
libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Queue(0x7fa14d472870)[03]'
    frame #0: 0x00007fff8fb78716 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8dc7fc3b libsystem_pthread.dylib`_pthread_cond_wait +
727
    frame #2: 0x0000000111ebfdbb
QtCore`QWaitConditionPrivate::wait(this=0x00007fa14d1dd3c0, time=<unavailable>)
+ 75 at qwaitcondition_unix.cpp:143
    frame #3: 0x0000000111ebfd4c
QtCore`QWaitCondition::wait(this=0x00007fa14d1dd330, mutex=0x00007fa14d4728a0,
time=18446744073709551615) + 156 at qwaitcondition_unix.cpp:215
    frame #4: 0x000000011374f604
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) [inlined]
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(this=<unavailable>,
th=<unavailable>) + 804 at weaver.cpp:594
    frame #5: 0x000000011374f5ed
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(this=<unavailable>,
th=0x00007fa14d058430, threadWasBusy=<unavailable>,
suspendIfInactive=<unavailable>, justReturning=<unavailable>) + 781 at
weaver.cpp:554
    frame #6: 0x0000000113753ff0
libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=0x00007fa14d46d550,
th=0x00007fa14d058430, wasBusy=false) + 64 at workinghardstate.cpp:66
    frame #7: 0x00000001137540f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk
to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #8: 0x000000011374f902
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=false) + 50 at weaver.cpp:568
    frame #9: 0x0000000113754035
libKF5ThreadWeaver.5.dylib`ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 133 at workinghardstate.cpp:73
    frame #10: 0x00000001137540f5 libKF5ThreadWeaver.5.dylib`non-virtual thunk
to ThreadWeaver::WorkingHardState::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=<unavailable>) + 21 at workinghardstate.cpp:75
    frame #11: 0x000000011374f902
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Weaver::applyForWork(this=<unavailable>,
th=<unavailable>, wasBusy=true) + 50 at weaver.cpp:568
    frame #12: 0x0000000113751a66
libKF5ThreadWeaver.5.dylib`ThreadWeaver::Thread::run(this=0x00007fa14d058430) +
118 at thread.cpp:103
    frame #13: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa14d058430) + 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 = 0x18283de, 0x00007fff8fb7994a libsystem_kernel.dylib`poll +
10, name = 'OutputFilterThread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001120d0cd0 QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) [inlined] qt_ppoll(fds=0x00007fa15291db38, nfds=1) + 528 at
qcore_unix.cpp:83
    frame #2: 0x00000001120d0cbb QtCore`qt_safe_poll(fds=0x00007fa15291db38,
nfds=1, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x00000001120d2359
QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>,
flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000011207a90e
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at
qeventloop.cpp:134
    frame #5: 0x000000011207a8f4
QtCore`QEventLoop::exec(this=0x000000012dd17e60, flags=<unavailable>) + 372 at
qeventloop.cpp:212
    frame #6: 0x0000000111ebae62 QtCore`QThread::exec(this=<unavailable>) + 114
at qthread.cpp:507
    frame #7: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa15291b788) + 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 #13: tid = 0x1828c92, 0x00007fff8fb7994a libsystem_kernel.dylib`poll +
10, name = 'QQmlThread'
    frame #0: 0x00007fff8fb7994a libsystem_kernel.dylib`poll + 10
    frame #1: 0x00000001120d0cd0 QtCore`qt_safe_poll(pollfd*, unsigned int,
timespec const*) [inlined] qt_ppoll(fds=0x00007fa158c46558, nfds=1) + 528 at
qcore_unix.cpp:83
    frame #2: 0x00000001120d0cbb QtCore`qt_safe_poll(fds=0x00007fa158c46558,
nfds=1, timeout_ts=0x0000000000000000) + 507 at qcore_unix.cpp:102
    frame #3: 0x00000001120d2359
QtCore`QEventDispatcherUNIX::processEvents(this=<unavailable>,
flags=<unavailable>) + 857 at qeventdispatcher_unix.cpp:500
    frame #4: 0x000000011207a90e
QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [inlined]
QEventLoop::processEvents(this=<unavailable>, flags=<unavailable>) + 398 at
qeventloop.cpp:134
    frame #5: 0x000000011207a8f4
QtCore`QEventLoop::exec(this=0x000000012587be40, flags=<unavailable>) + 372 at
qeventloop.cpp:212
    frame #6: 0x0000000111ebae62 QtCore`QThread::exec(this=<unavailable>) + 114
at qthread.cpp:507
    frame #7: 0x000000010f77d159
QtQml`QQmlThreadPrivate::run(this=0x00007fa1589a12d0) + 57 at
qqmlthread.cpp:147
    frame #8: 0x0000000111ebe867
QtCore`QThreadPrivate::start(arg=0x00007fa1589a12d0) + 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 #14: tid = 0x182b35c, 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

  thread #15: tid = 0x182b35f, 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

  thread #16: tid = 0x182b7ba, 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 69158 detached

Possible duplicates by query: bug 384557, bug 384429, bug 384419, bug 384272,
bug 384252.

Reported using DrKonqi

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

Reply via email to