Skip to content

Instantly share code, notes, and snippets.

@tlvince
Created May 23, 2015 11:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlvince/b0714b8fe271efe08d42 to your computer and use it in GitHub Desktop.
Save tlvince/b0714b8fe271efe08d42 to your computer and use it in GitHub Desktop.
Digikam OS X pkg v5: tables view crash
Application: digiKam (digikam), signal: Segmentation fault: 11
(lldb) process attach --pid 3285
Process 3285 stopped
* thread #1: tid = 0x17cf4d, 0x00007fff84c26902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff84c26902 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
-> 0x7fff84c26902 <+10>: jae 0x7fff84c2690c ; <+20>
0x7fff84c26904 <+12>: movq %rax, %rdi
0x7fff84c26907 <+15>: jmp 0x7fff84c21c78 ; cerror
0x7fff84c2690c <+20>: retq
Executable module set to "/opt/digikam/Applications/KDE4/digikam.app/Contents/MacOS/digikam".
Architecture set to: x86_64-apple-macosx.
(lldb) set set term-width 200
(lldb) thread info
thread #1: tid = 0x17cf4d, 0x00007fff84c26902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
(lldb) bt all
* thread #1: tid = 0x17cf4d, 0x00007fff84c26902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff84c26902 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x0000000106f0089e libkdeui.5.dylib`KCrash::startProcess(int, char const**, bool) + 286
frame #2: 0x0000000106eff9c9 libkdeui.5.dylib`KCrash::defaultCrashHandler(int) + 1209
frame #3: 0x00007fff8e1d0f1a libsystem_platform.dylib`_sigtramp + 26
frame #4: 0x0000000103421278 digikam`Digikam::TableViewItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const + 440
frame #5: 0x00000001078c090d QtGui`QTreeViewPrivate::paintAlternatingRowColors(QPainter*, QStyleOptionViewItemV4*, int, int) const + 173
frame #6: 0x00000001078c0473 QtGui`QTreeView::drawTree(QPainter*, QRegion const&) const + 1299
frame #7: 0x00000001078bfe2f QtGui`QTreeView::paintEvent(QPaintEvent*) + 223
frame #8: 0x00000001073f63ce QtGui`QWidget::event(QEvent*) + 1198
frame #9: 0x000000010776bfcd QtGui`QFrame::event(QEvent*) + 45
frame #10: 0x00000001077f30bc QtGui`QAbstractScrollArea::viewportEvent(QEvent*) + 108
frame #11: 0x000000010787caa7 QtGui`QAbstractItemView::viewportEvent(QEvent*) + 983
frame #12: 0x00000001078bfc31 QtGui`QTreeView::viewportEvent(QEvent*) + 225
frame #13: 0x00000001077f38c5 QtGui`QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37
frame #14: 0x00000001084205cc QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 124
frame #15: 0x00000001073a688b QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 235
frame #16: 0x00000001073a9a17 QtGui`QApplication::notify(QObject*, QEvent*) + 7543
frame #17: 0x00000001084202a6 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
frame #18: 0x00000001073f15cf QtGui`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2015
frame #19: 0x00000001073f1dc0 QtGui`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1264
frame #20: 0x00000001073f1c38 QtGui`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 872
frame #21: 0x00000001073f17be QtGui`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2510
frame #22: 0x00000001073f1dc0 QtGui`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1264
frame #23: 0x00000001073f17be QtGui`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2510
frame #24: 0x00000001073f1dc0 QtGui`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1264
frame #25: 0x00000001073f17be QtGui`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2510
frame #26: 0x0000000107346968 QtGui`-[QCocoaView drawRect:] + 2040
frame #27: 0x00007fff83798799 AppKit`-[NSView _drawRect:clip:] + 4238
frame #28: 0x00007fff83796e0a AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1875
frame #29: 0x00007fff8379720e AppKit`-[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2903
frame #30: 0x00007fff83794ca6 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 913
frame #31: 0x00007fff837960b0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
frame #32: 0x00007fff837960b0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
frame #33: 0x00007fff837960b0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
frame #34: 0x00007fff837960b0 AppKit`-[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 6043
frame #35: 0x00007fff83794403 AppKit`-[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 333
frame #36: 0x00007fff8379079b AppKit`-[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2761
frame #37: 0x00007fff837482be AppKit`-[NSView displayIfNeeded] + 1876
frame #38: 0x00007fff83747b19 AppKit`-[NSWindow displayIfNeeded] + 236
frame #39: 0x00007fff83747782 AppKit`_handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 936
frame #40: 0x00007fff83e7d191 AppKit`__83-[NSWindow _postWindowNeedsDisplayOrLayoutOrUpdateConstraintsUnlessPostingDisabled]_block_invoke1540 + 46
frame #41: 0x00007fff8708c127 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
frame #42: 0x00007fff8708c080 CoreFoundation`__CFRunLoopDoObservers + 368
frame #43: 0x00007fff8707e188 CoreFoundation`__CFRunLoopRun + 872
frame #44: 0x00007fff8707dbd8 CoreFoundation`CFRunLoopRunSpecific + 296
frame #45: 0x00007fff883ee56f HIToolbox`RunCurrentEventLoopInMode + 235
frame #46: 0x00007fff883ee1ee HIToolbox`ReceiveNextEventCommon + 179
frame #47: 0x00007fff883ee12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
frame #48: 0x00007fff837449bb AppKit`_DPSNextEvent + 978
frame #49: 0x00007fff83743f68 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
frame #50: 0x00007fff83739bf3 AppKit`-[NSApplication run] + 594
frame #51: 0x000000010735a21b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2027
frame #52: 0x000000010841d61f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
frame #53: 0x0000000108420857 QtCore`QCoreApplication::exec() + 199
frame #54: 0x000000010346a96c digikam`main + 7020
frame #55: 0x00007fff8b0d55c9 libdyld.dylib`start + 1
frame #56: 0x00007fff8b0d55c9 libdyld.dylib`start + 1
thread #2: tid = 0x17cf68, 0x00007fff84c27232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
frame #0: 0x00007fff84c27232 libsystem_kernel.dylib`kevent64 + 10
frame #1: 0x00007fff8ffd7d91 libdispatch.dylib`_dispatch_mgr_invoke + 247
frame #2: 0x00007fff8ffd7a6a libdispatch.dylib`_dispatch_mgr_thread + 52
thread #3: tid = 0x17cf89, 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
frame #0: 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10
frame #1: 0x00007fff870cab7a CoreFoundation`__CFSocketManager + 730
frame #2: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #3: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #4: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #4: tid = 0x17cfd3, 0x00007fff84c214de libsystem_kernel.dylib`mach_msg_trap + 10
frame #0: 0x00007fff84c214de libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fff84c2064f libsystem_kernel.dylib`mach_msg + 55
frame #2: 0x00007fff8707eeb4 CoreFoundation`__CFRunLoopServiceMachPort + 212
frame #3: 0x00007fff8707e37b CoreFoundation`__CFRunLoopRun + 1371
frame #4: 0x00007fff8707dbd8 CoreFoundation`CFRunLoopRunSpecific + 296
frame #5: 0x00007fff8380c66b AppKit`_NSEventThread + 137
frame #6: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #7: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #8: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #5: tid = 0x17d000, 0x00007fff84c2721a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine'
frame #0: 0x00007fff84c2721a libsystem_kernel.dylib`kevent + 10
frame #1: 0x000000010840277a QtCore`QKqueueFileSystemWatcherEngine::run() + 106
frame #2: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #3: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #4: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #5: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #6: tid = 0x17d012, 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10, name = 'QProcessManager'
frame #0: 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10
frame #1: 0x00000001083f3f0f QtCore`QProcessManager::run() + 143
frame #2: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #3: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #4: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #5: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #7: tid = 0x17d095, 0x00007fff84c26136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Digikam::ScanController'
frame #0: 0x00007fff84c26136 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff8b2b8e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
frame #2: 0x000000010831145b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
frame #3: 0x00000001083112bf QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
frame #4: 0x0000000103343591 digikam`Digikam::ScanController::run() + 129
frame #5: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #6: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #7: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #8: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #8: tid = 0x17d0aa, 0x00007fff84c26136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'QThread'
frame #0: 0x00007fff84c26136 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff8b2b8e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
frame #2: 0x000000010831145b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
frame #3: 0x00000001083112bf QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
frame #4: 0x00000001044940a0 libdigikamcore.4.9.0.dylib`Digikam::ParkingThread::run() + 192
frame #5: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #6: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #7: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #8: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #9: tid = 0x17d486, 0x00007fff84c2721a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine'
frame #0: 0x00007fff84c2721a libsystem_kernel.dylib`kevent + 10
frame #1: 0x000000010840277a QtCore`QKqueueFileSystemWatcherEngine::run() + 106
frame #2: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #3: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #4: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #5: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #10: tid = 0x17d488, 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10, name = 'QThread'
frame #0: 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10
frame #1: 0x000000010844d184 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 452
frame #2: 0x00000001084503b1 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
frame #3: 0x0000000108451d43 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
frame #4: 0x000000010841d61f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
frame #5: 0x000000010830e319 QtCore`QThread::exec() + 217
frame #6: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #7: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #8: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #9: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #11: tid = 0x17d4d4, 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10, name = 'QThread'
frame #0: 0x00007fff84c263fa libsystem_kernel.dylib`__select + 10
frame #1: 0x000000010844d025 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 101
frame #2: 0x00000001084503b1 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
frame #3: 0x0000000108451d43 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
frame #4: 0x000000010841d61f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
frame #5: 0x000000010830e319 QtCore`QThread::exec() + 217
frame #6: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #7: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #8: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #9: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
thread #12: tid = 0x17d5d2, 0x00007fff84c26136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Thread (pooled)'
frame #0: 0x00007fff84c26136 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff8b2b8e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
frame #2: 0x0000000108311449 QtCore`QWaitConditionPrivate::wait(unsigned long) + 185
frame #3: 0x00000001083112bf QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
frame #4: 0x0000000108302631 QtCore`QThreadPoolThread::run() + 561
frame #5: 0x000000010830fdb2 QtCore`QThreadPrivate::start(void*) + 418
frame #6: 0x00007fff8b2b8268 libsystem_pthread.dylib`_pthread_body + 131
frame #7: 0x00007fff8b2b81e5 libsystem_pthread.dylib`_pthread_start + 176
frame #8: 0x00007fff8b2b641d libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 3285 detached
(lldb) (lldb) quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment