Bug 397808 - Digikam Mac Package crashes after resume when screen configuration changes
Summary: Digikam Mac Package crashes after resume when screen configuration changes
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-MacOS (show other bugs)
Version: 6.0.0
Platform: MacPorts macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-23 21:05 UTC by Jens
Modified: 2020-08-10 10:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2018-08-23 21:05:56 UTC
Digikam crashed when I resumed my Macbook Pro (from hybrid hibernation) and plugged in my external 27" screen (which is configured to extend the desktop).

Backtrace and info:
Process:               digikam [35733]
Path:                  /opt/digikam/*/digikam.app/Contents/MacOS/digikam
Identifier:            digikam
Version:               6.0.0 (6.0.0-beta1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           digikam [35733]
User ID:               501

Date/Time:             2018-08-23 14:54:09.423 +0200
OS Version:            Mac OS X 10.12.6 (16G1510)
Report Version:        12
Anonymous UUID:        55FCBC9B-7323-D609-F9CF-7DEF08F8828F

Sleep/Wake UUID:       6D08BFCB-14C1-441D-BC65-1F594B5631F4

Time Awake Since Boot: 71000 seconds
Time Since Wake:       930 seconds

System Integrity Protection: enabled

Crashed Thread:        14  Digikam::CameraController

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x000070000999a000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Bus error: 10
Termination Reason:    Namespace SIGNAL, Code 0xa
Terminating Process:   exc handler [0]

VM Regions Near 0x70000999a000:
    Stack                  0000700009918000-000070000999a000 [  520K] rw-/rwx SM=COW  thread 14
--> Stack Guard            000070000999a000-000070000999b000 [    4K] ---/rwx SM=NUL  
    Stack                  000070000999b000-0000700009a1d000 [  520K] rw-/rwx SM=COW  

Thread 0:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtGui          	0x0000000109d2e60a 0x109a05000 + 3315210
1   org.qt-project.QtGui          	0x0000000109bedd15 0x109a05000 + 2002197
2   org.qt-project.QtGui          	0x0000000109c0a251 0x109a05000 + 2118225
3   org.qt-project.QtGui          	0x0000000109c087c4 0x109a05000 + 2111428
4   org.qt-project.QtGui          	0x0000000109c2c595 0x109a05000 + 2258325
5   org.qt-project.QtGui          	0x0000000109c2f23b QRasterPaintEngine::fill(QVectorPath const&, QBrush const&) + 1419
6   org.qt-project.QtGui          	0x0000000109c217b0 QPaintEngineEx::draw(QVectorPath const&) + 64
7   org.qt-project.QtSvg          	0x000000010d4cb77f QSvgPath::draw(QPainter*, QSvgExtraStates&) + 149
8   org.qt-project.QtSvg          	0x000000010d4cdb4a 0x10d4c7000 + 27466
9   org.qt-project.QtSvg          	0x000000010d4e7967 QSvgTinyDocument::draw(QPainter*, QRectF const&) + 375
10  org.qt-project.QtSvg          	0x000000010d4e8891 QSvgTinyDocument::draw(QPainter*) + 27
11  libqsvgicon.dylib             	0x00000001144819f7 0x11447d000 + 18935
12  org.qt-project.QtGui          	0x0000000109aab8c4 QIcon::pixmap(QWindow*, QSize const&, QIcon::Mode, QIcon::State) const + 372
13  org.qt-project.QtGui          	0x0000000109aab734 QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const + 36
14  org.qt-project.QtGui          	0x0000000109ab3dac 0x109a05000 + 716204
15  org.qt-project.QtGui          	0x0000000109ab3e0a 0x109a05000 + 716298
16  org.qt-project.QtGui          	0x0000000109aab8c4 QIcon::pixmap(QWindow*, QSize const&, QIcon::Mode, QIcon::State) const + 372
17  org.qt-project.QtGui          	0x0000000109aab734 QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const + 36
18  libdigikamgui.6.0.0.dylib     	0x00000001001c2e95 QIcon::pixmap(int, QIcon::Mode, QIcon::State) const + 85
19  libdigikamgui.6.0.0.dylib     	0x00000001008cd3e9 Digikam::ImportThumbnailModel::data(QModelIndex const&, int) const + 1065
20  org.qt-project.QtCore         	0x000000010a088c19 QSortFilterProxyModel::data(QModelIndex const&, int) const + 105
21  libdigikamgui.6.0.0.dylib     	0x00000001008cef8b Digikam::ImportFilterModel::data(QModelIndex const&, int) const + 811
22  libdigikamgui.6.0.0.dylib     	0x000000010047ff6d QModelIndex::data(int) const + 93
23  libdigikamgui.6.0.0.dylib     	0x00000001008d96f1 Digikam::ImportDelegate::retrieveThumbnailPixmap(QModelIndex const&, int) + 161
24  libdigikamgui.6.0.0.dylib     	0x00000001008d97a4 Digikam::ImportDelegate::thumbnailPixmap(QModelIndex const&) const + 84
25  libdigikamgui.6.0.0.dylib     	0x00000001008d99b1 Digikam::ImportDelegate::paint(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const + 513
26  libdigikamcore.6.0.0.dylib    	0x00000001018d9fe3 Digikam::DCategorizedView::paintEvent(QPaintEvent*) + 2067
27  libdigikamgui.6.0.0.dylib     	0x00000001008e6778 Digikam::ImportCategorizedView::paintEvent(QPaintEvent*) + 40
28  org.qt-project.QtWidgets      	0x00000001082a2cf8 QWidget::event(QEvent*) + 1794
29  org.qt-project.QtWidgets      	0x0000000108365ec3 QFrame::event(QEvent*) + 45
30  org.qt-project.QtWidgets      	0x00000001084621b3 QAbstractItemView::viewportEvent(QEvent*) + 1089
31  libdigikamcore.6.0.0.dylib    	0x00000001018fc90e Digikam::ItemViewCategorized::viewportEvent(QEvent*) + 590
32  org.qt-project.QtCore         	0x000000010a0b57c2 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 210
33  org.qt-project.QtWidgets      	0x000000010826f6c9 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 207
34  org.qt-project.QtWidgets      	0x0000000108270975 QApplication::notify(QObject*, QEvent*) + 383
35  org.qt-project.QtCore         	0x000000010a0b54f8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 168
36  org.qt-project.QtWidgets      	0x000000010829d7a0 QWidgetPrivate::sendPaintEvent(QRegion const&) + 48
37  org.qt-project.QtWidgets      	0x000000010829d59a QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 2144
38  org.qt-project.QtWidgets      	0x000000010827b10d 0x108260000 + 110861
39  org.qt-project.QtWidgets      	0x00000001082a2f1a QWidget::event(QEvent*) + 2340
40  org.qt-project.QtWidgets      	0x000000010837b0fa QMainWindow::event(QEvent*) + 1610
41  libKF5XmlGui.5.dylib          	0x0000000102f9ce5a KMainWindow::event(QEvent*) + 1290
42  libKF5XmlGui.5.dylib          	0x0000000102fe6e6a KXmlGuiWindow::event(QEvent*) + 42
43  org.qt-project.QtWidgets      	0x000000010826f6dd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 227
44  org.qt-project.QtWidgets      	0x0000000108270975 QApplication::notify(QObject*, QEvent*) + 383
45  org.qt-project.QtCore         	0x000000010a0b54f8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 168
46  org.qt-project.QtCore         	0x000000010a0b6568 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 840
47  libqcocoa.dylib               	0x00000001117212c9 0x1116ff000 + 139977
48  libqcocoa.dylib               	0x00000001117219bf 0x1116ff000 + 141759
49  com.apple.CoreFoundation      	0x00007fffcc6723e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
50  com.apple.CoreFoundation      	0x00007fffcc65365c __CFRunLoopDoSources0 + 556
51  com.apple.CoreFoundation      	0x00007fffcc652b46 __CFRunLoopRun + 934
52  com.apple.CoreFoundation      	0x00007fffcc652544 CFRunLoopRunSpecific + 420
53  com.apple.HIToolbox           	0x00007fffcbbb1ebc RunCurrentEventLoopInMode + 240
54  com.apple.HIToolbox           	0x00007fffcbbb1cf1 ReceiveNextEventCommon + 432
55  com.apple.HIToolbox           	0x00007fffcbbb1b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
56  com.apple.AppKit              	0x00007fffca148a54 _DPSNextEvent + 1120
57  com.apple.AppKit              	0x00007fffca8c47ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
58  com.apple.AppKit              	0x00007fffcaa3da29 -[NSWindow(NSEventRouting) trackEventsMatchingMask:timeout:mode:handler:] + 262
59  com.apple.AppKit              	0x00007fffca3a9cd8 -[NSDragEventTracker trackEvent:usingHandler:] + 1701
60  com.apple.AppKit              	0x00007fffca3a9225 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1968
61  com.apple.AppKit              	0x00007fffca3ed272 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 798
62  com.apple.AppKit              	0x00007fffca3a7ddb -[NSControl mouseDown:] + 832
63  com.apple.AppKit              	0x00007fffca447cce -[_NSThemeWidget mouseDown:] + 87
64  com.apple.AppKit              	0x00007fffcaa4224f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 6341
65  com.apple.AppKit              	0x00007fffcaa3ea6c -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1942
66  com.apple.AppKit              	0x00007fffcaa3df0a -[NSWindow(NSEventRouting) sendEvent:] + 541
67  libqcocoa.dylib               	0x000000011170d2fe 0x1116ff000 + 58110
68  libqcocoa.dylib               	0x000000011170cc87 0x1116ff000 + 56455
69  com.apple.AppKit              	0x00007fffca8c2681 -[NSApplication(NSEvent) sendEvent:] + 1145
70  libqcocoa.dylib               	0x0000000111723886 0x1116ff000 + 149638
71  com.apple.AppKit              	0x00007fffca13d427 -[NSApplication run] + 1002
72  libqcocoa.dylib               	0x0000000111720c25 0x1116ff000 + 138277
73  org.qt-project.QtCore         	0x000000010a0b14be QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
74  org.qt-project.QtCore         	0x000000010a0b5b9f QCoreApplication::exec() + 335
75  digikam                       	0x000000010017849f main + 11439
76  libdyld.dylib                 	0x00007fffe2224235 start + 1

Thread 1:: Digikam::ScanController
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtCore         	0x0000000109efbe4b 0x109ecf000 + 183883
3   org.qt-project.QtCore         	0x0000000109efbddc QWaitCondition::wait(QMutex*, unsigned long) + 156
4   libdigikamgui.6.0.0.dylib     	0x00000001001bf822 Digikam::ScanController::run() + 562
5   org.qt-project.QtCore         	0x0000000109efa8f7 0x109ecf000 + 178423
6   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fffe234b34a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fffe234a797 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fffcc653874 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fffcc652cf1 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation      	0x00007fffcc652544 CFRunLoopRunSpecific + 420
5   com.apple.AppKit              	0x00007fffca295f02 _NSEventThread + 205
6   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 3:: QDBusConnectionManager
0   libsystem_kernel.dylib        	0x00007fffe235419e poll + 10
1   org.qt-project.QtCore         	0x000000010a105970 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 528
2   org.qt-project.QtCore         	0x000000010a106fe9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857
3   org.qt-project.QtCore         	0x000000010a0b14be QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
4   org.qt-project.QtCore         	0x0000000109ef6e92 QThread::exec() + 114
5   org.qt-project.QtDBus         	0x000000010612843c 0x106125000 + 13372
6   org.qt-project.QtCore         	0x0000000109efa8f7 0x109ecf000 + 178423
7   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
8   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
9   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 4:: QThread
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtCore         	0x0000000109efbe4b 0x109ecf000 + 183883
3   org.qt-project.QtCore         	0x0000000109efbddc QWaitCondition::wait(QMutex*, unsigned long) + 156
4   libdigikamcore.6.0.0.dylib    	0x0000000101787ee5 Digikam::ParkingThread::run() + 165
5   org.qt-project.QtCore         	0x0000000109efa8f7 0x109ecf000 + 178423
6   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 5:: Qt bearer thread
0   libsystem_kernel.dylib        	0x00007fffe235419e poll + 10
1   org.qt-project.QtCore         	0x000000010a105970 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 528
2   org.qt-project.QtCore         	0x000000010a106fe9 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 857
3   org.qt-project.QtCore         	0x000000010a0b14be QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
4   org.qt-project.QtCore         	0x0000000109ef6e92 QThread::exec() + 114
5   org.qt-project.QtCore         	0x0000000109efa8f7 0x109ecf000 + 178423
6   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 6:: JavaScriptCore::BlockFree
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtWebKit       	0x0000000107483000 0x106734000 + 13955072
3   org.qt-project.QtWebKit       	0x00000001077661df 0x106734000 + 16982495
4   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
5   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
6   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 7:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtWebKit       	0x0000000107483e77 0x106734000 + 13958775
3   org.qt-project.QtWebKit       	0x0000000107483f03 0x106734000 + 13958915
4   org.qt-project.QtWebKit       	0x00000001077661df 0x106734000 + 16982495
5   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
6   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
7   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 8:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtWebKit       	0x0000000107483e77 0x106734000 + 13958775
3   org.qt-project.QtWebKit       	0x0000000107483f03 0x106734000 + 13958915
4   org.qt-project.QtWebKit       	0x00000001077661df 0x106734000 + 16982495
5   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
6   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
7   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 9:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtWebKit       	0x0000000107483e77 0x106734000 + 13958775
3   org.qt-project.QtWebKit       	0x0000000107483f03 0x106734000 + 13958915
4   org.qt-project.QtWebKit       	0x00000001077661df 0x106734000 + 16982495
5   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
6   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
7   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 10:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtWebKit       	0x0000000107483e77 0x106734000 + 13958775
3   org.qt-project.QtWebKit       	0x0000000107483f03 0x106734000 + 13958915
4   org.qt-project.QtWebKit       	0x00000001077661df 0x106734000 + 16982495
5   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
6   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
7   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 11:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtWebKit       	0x0000000107483e77 0x106734000 + 13958775
3   org.qt-project.QtWebKit       	0x0000000107483f03 0x106734000 + 13958915
4   org.qt-project.QtWebKit       	0x00000001077661df 0x106734000 + 16982495
5   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
6   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
7   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 12:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffe243e7fa _pthread_cond_wait + 712
2   org.qt-project.QtWebKit       	0x0000000107483e77 0x106734000 + 13958775
3   org.qt-project.QtWebKit       	0x0000000107483f03 0x106734000 + 13958915
4   org.qt-project.QtWebKit       	0x00000001077661df 0x106734000 + 16982495
5   libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
6   libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
7   libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 13:: CVDisplayLink
0   libsystem_kernel.dylib        	0x00007fffe2352bf2 __psynch_cvwait + 10

Thread 14 Crashed:: Digikam::CameraController
0   libsystem_platform.dylib      	0x00007fffe2432969 _platform_bzero$VARIANT$Ivybridge + 41
1   libdigikamcore.6.0.0.dylib    	0x00000001018366ab LibRaw::LibRaw(unsigned int) + 219
2   libdigikamcore.6.0.0.dylib    	0x00000001017adff1 Digikam::DRawDecoder::rawFileIdentify(Digikam::RawInfo&, QString const&) + 641
3   libdigikamcore.6.0.0.dylib    	0x00000001016ca151 Digikam::DMetadata::loadUsingRawEngine(QString const&) + 65
4   libdigikamcore.6.0.0.dylib    	0x00000001016ca075 Digikam::DMetadata::load(QString const&) + 101
5   libdigikamcore.6.0.0.dylib    	0x00000001016c9dfc Digikam::DMetadata::DMetadata(QString const&) + 76
6   libdigikamcore.6.0.0.dylib    	0x00000001016c9e4d Digikam::DMetadata::DMetadata(QString const&) + 29
7   libdigikamgui.6.0.0.dylib     	0x00000001007c876d Digikam::UMSCamera::getThumbnail(QString const&, QString const&, QImage&) + 157
8   libdigikamgui.6.0.0.dylib     	0x00000001007ab514 Digikam::CameraController::executeCommand(Digikam::CameraCommand*) + 4484
9   libdigikamgui.6.0.0.dylib     	0x00000001007aa2a1 Digikam::CameraController::run() + 433
10  org.qt-project.QtCore         	0x0000000109efa8f7 0x109ecf000 + 178423
11  libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
12  libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
13  libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13

Thread 15:
0   libsystem_kernel.dylib        	0x00007fffe235344e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffe243d48e _pthread_wqthread + 1023
2   libsystem_pthread.dylib       	0x00007fffe243d07d start_wqthread + 13

Thread 14 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000070000998f208  rcx: 0x0000000000049a80  rdx: 0x000070000998f210
  rdi: 0x000070000999a000  rsi: 0x0000000000000000  rbp: 0x000070000998f040  rsp: 0x000070000998f040
   r8: 0x0000000000001000   r9: 0x00007fd756506600  r10: 0x000000000000002e  r11: 0x00007fffe2432940
  r12: 0x00000001018357c0  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x000070000998f210
  rip: 0x00007fffe2432969  rfl: 0x0000000000010202  cr2: 0x000070000999a000
  
Logical CPU:     4
Error Code:      0x00000006
Trap Number:     14

Binary images:
(removed due to maximum comment size)


External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 13
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 67907
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=523.9M resident=0K(0%) swapped_out_or_unallocated=523.9M(100%)
Writable regions: Total=2.1G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.1G(100%)
 
                                  VIRTUAL   REGION 
REGION TYPE                          SIZE    COUNT (non-coalesced) 
===========                       =======  ======= 
Accelerate framework                 512K        5 
Activity Tracing                     256K        2 
CG backing stores                   70.5M       14 
CG image                            4152K        9 
CoreAnimation                        132K        4 
CoreUI image data                   1432K        9 
CoreUI image file                    292K        4 
IOKit                               15.5M        3 
JS JIT generated code              128.0M        5 
JS JIT generated code (reserved)   896.0M        2         reserved VM address space (unallocated)
JS VM register file                 4096K        2 
JS garbage collector                3200K       12 
Kernel Alloc Once                      8K        2 
MALLOC                             984.5M      139 
MALLOC guard page                     48K       10 
Memory Tag 242                        12K        2 
OpenCL                                16K        3 
OpenGL GLSL                          256K        4 
STACK GUARD                         56.1M       16 
Stack                               15.6M       17 
Stack Guard                            4K        2 
VM_ALLOCATE                         1972K      188 
WebKit Malloc                       10.4M       47 
__DATA                              53.3M      477 
__GLSLBUILTINS                      2588K        2 
__IMAGE                              528K        2 
__LINKEDIT                         164.5M      182 
__TEXT                             359.4M      435 
__UNICODE                            556K        2 
mapped file                        610.8M      153 
shared memory                       16.4M       15 
===========                       =======  ======= 
TOTAL                                3.3G     1738 
TOTAL, minus reserved VM space       2.4G     1738 

Model: MacBookPro10,1, BootROM MBP101.00F6.B00, 4 processors, Intel Core i7, 2,7 GHz, 16 GB, SMC 2.3f36
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434314753364D465238432D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (7.21.171.133.1a2)
Bluetooth: Version 5.0.5f3, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: TS480GJDM725, 480,1 GB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: USB5537B
USB Device: USB2137B
USB Device: U2717D_0B2A_15091601
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4
Thunderbolt Device: Thunderbolt to Gigabit Ethernet Adapter, Apple Inc., 1, 5.5
Comment 1 caulier.gilles 2018-09-22 08:50:06 UTC
Any feedback here using the last PKG available here : 

https://files.kde.org/digikam/

Gilles Caulier
Comment 2 Jens 2018-09-22 11:21:50 UTC
I cannot test, because the current 6.0-beta1 already crashes upon startup. I can see the UI for a second then it closes again.

Start of Backtrace:

Process:               digikam [38100]
Path:                  /opt/digikam/*/digikam.app/Contents/MacOS/digikam
Identifier:            digikam
Version:               6.0.0 (6.0.0-beta1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           digikam [38100]
User ID:               501

Date/Time:             2018-09-22 13:17:18.227 +0200
OS Version:            Mac OS X 10.12.6 (16G1510)
Report Version:        12
Anonymous UUID:        55FCBC9B-7323-D609-F9CF-7DEF08F8828F

Sleep/Wake UUID:       E2C42F8C-E25A-47E7-9DDB-BBF992F196B9

Time Awake Since Boot: 220000 seconds
Time Since Wake:       1700 seconds

System Integrity Protection: enabled

Crashed Thread:        8  Digikam::ScanController

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       KERN_PROTECTION_FAILURE at 0x00007000087e7000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Bus error: 10
Termination Reason:    Namespace SIGNAL, Code 0xa
Terminating Process:   exc handler [0]

VM Regions Near 0x7000087e7000:
    Stack                  0000700008765000-00007000087e7000 [  520K] rw-/rwx SM=COW  thread 8
--> Stack Guard            00007000087e7000-00007000087e8000 [    4K] ---/rwx SM=NUL  
    Stack                  00007000087e8000-000070000886a000 [  520K] rw-/rwx SM=COW  

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fffe234b34a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fffe234a797 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fffcc653874 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fffcc652cf1 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation      	0x00007fffcc652544 CFRunLoopRunSpecific + 420
5   com.apple.HIToolbox           	0x00007fffcbbb1ebc RunCurrentEventLoopInMode + 240
6   com.apple.HIToolbox           	0x00007fffcbbb1cf1 ReceiveNextEventCommon + 432
7   com.apple.HIToolbox           	0x00007fffcbbb1b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
8   com.apple.AppKit              	0x00007fffca148a54 _DPSNextEvent + 1120
9   com.apple.AppKit              	0x00007fffca8c47ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
10  com.apple.AppKit              	0x00007fffca13d3db -[NSApplication run] + 926
11  libqcocoa.dylib               	0x0000000114284c25 0x114263000 + 138277
12  org.qt-project.QtCore         	0x000000010c95d4be QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
13  libdigikamgui.6.0.0.dylib     	0x0000000102e7cbc5 Digikam::ScanController::completeCollectionScanCore(bool, bool) + 165
14  libdigikamgui.6.0.0.dylib     	0x0000000102e7cc2a Digikam::ScanController::completeCollectionScanInBackground(bool) + 42
15  libdigikamgui.6.0.0.dylib     	0x00000001032ccc19 Digikam::NewItemsFinder::slotStart() + 409
16  libdigikamgui.6.0.0.dylib     	0x00000001032e71b3 Digikam::NewItemsFinder::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 99
17  org.qt-project.QtCore         	0x000000010c989e21 QObject::event(QEvent*) + 769
18  org.qt-project.QtWidgets      	0x000000010bd256dd QApplicationPrivate::notify_helper(QObject*, QEvent*) + 227
19  org.qt-project.QtWidgets      	0x000000010bd26975 QApplication::notify(QObject*, QEvent*) + 383
20  org.qt-project.QtCore         	0x000000010c9614f8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 168
21  org.qt-project.QtCore         	0x000000010c962568 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 840
22  libqcocoa.dylib               	0x00000001142852c9 0x114263000 + 139977
23  libqcocoa.dylib               	0x00000001142859bf 0x114263000 + 141759
24  com.apple.CoreFoundation      	0x00007fffcc6723e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25  com.apple.CoreFoundation      	0x00007fffcc65365c __CFRunLoopDoSources0 + 556
26  com.apple.CoreFoundation      	0x00007fffcc652b46 __CFRunLoopRun + 934
27  com.apple.CoreFoundation      	0x00007fffcc652544 CFRunLoopRunSpecific + 420
28  com.apple.HIToolbox           	0x00007fffcbbb1ebc RunCurrentEventLoopInMode + 240
29  com.apple.HIToolbox           	0x00007fffcbbb1cf1 ReceiveNextEventCommon + 432
30  com.apple.HIToolbox           	0x00007fffcbbb1b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
31  com.apple.AppKit              	0x00007fffca148a54 _DPSNextEvent + 1120
32  com.apple.AppKit              	0x00007fffca8c47ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
33  com.apple.AppKit              	0x00007fffca13d3db -[NSApplication run] + 926
34  libqcocoa.dylib               	0x0000000114284c25 0x114263000 + 138277
35  org.qt-project.QtCore         	0x000000010c95d4be QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
36  org.qt-project.QtCore         	0x000000010c961b9f QCoreApplication::exec() + 335
37  digikam                       	0x0000000102e374a5 main + 11429
38  libdyld.dylib                 	0x00007fffe2224235 start + 1

...

Thread 8 Crashed:: Digikam::ScanController
0   libsystem_platform.dylib      	0x00007fffe2432969 _platform_bzero$VARIANT$Ivybridge + 41
1   libdigikamcore.6.0.0.dylib    	0x00000001044dbc5b LibRaw::LibRaw(unsigned int) + 219
2   libdigikamcore.6.0.0.dylib    	0x00000001044535a1 Digikam::DRawDecoder::rawFileIdentify(Digikam::RawInfo&, QString const&) + 641
3   libdigikamcore.6.0.0.dylib    	0x00000001040c527f Digikam::RAWLoader::load(QString const&, Digikam::DImgLoaderObserver*) + 143
4   libdigikamcore.6.0.0.dylib    	0x00000001042c3367 Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&) + 4743
5   libdigikamcore.6.0.0.dylib    	0x00000001042c206a Digikam::DImg::loadImageInfo(QString const&, bool, bool, bool, bool) + 298
6   libdigikamdatabase.6.0.0.dylib	0x000000010cd75800 Digikam::ImageScanner::loadFromDisk() + 272
7   libdigikamdatabase.6.0.0.dylib	0x000000010cd768e9 Digikam::ImageScanner::rescan() + 25
8   libdigikamdatabase.6.0.0.dylib	0x000000010cc814eb Digikam::CollectionScanner::rescanFile(QFileInfo const&, Digikam::ItemScanInfo const&) + 123
9   libdigikamdatabase.6.0.0.dylib	0x000000010cc81354 Digikam::CollectionScanner::scanFileNormal(QFileInfo const&, Digikam::ItemScanInfo const&) + 1540
10  libdigikamdatabase.6.0.0.dylib	0x000000010cc7c43b Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) + 2283
11  libdigikamdatabase.6.0.0.dylib	0x000000010cc7c99d Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) + 3661
12  libdigikamdatabase.6.0.0.dylib	0x000000010cc7c99d Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) + 3661
13  libdigikamdatabase.6.0.0.dylib	0x000000010cc7abb4 Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) + 180
14  libdigikamdatabase.6.0.0.dylib	0x000000010cc79f50 Digikam::CollectionScanner::completeScan() + 1136
15  libdigikamgui.6.0.0.dylib     	0x0000000102e7dd98 Digikam::ScanController::run() + 968
16  org.qt-project.QtCore         	0x000000010c7a68f7 0x10c77b000 + 178423
17  libsystem_pthread.dylib       	0x00007fffe243d93b _pthread_body + 180
18  libsystem_pthread.dylib       	0x00007fffe243d887 _pthread_start + 286
19  libsystem_pthread.dylib       	0x00007fffe243d08d thread_start + 13
Comment 3 Maik Qualmann 2018-09-27 10:41:22 UTC
Git commit 031a951f0e9225834e3dfecc4d32389652c7b780 by Maik Qualmann.
Committed on 27/09/2018 at 10:39.
Pushed by mqualmann into branch 'master'.

fix crash in LibRaw with operating systems with low stack size
Related: bug 398479
FIXED-IN: 6.0.0

M  +3    -1    NEWS
M  +67   -51   core/libs/rawengine/drawdecoder.cpp
M  +95   -80   core/libs/rawengine/drawdecoder_p.cpp
M  +2    -2    core/libs/rawengine/drawdecoder_p.h

https://commits.kde.org/digikam/031a951f0e9225834e3dfecc4d32389652c7b780