Bug 365684 - Tags Manager : Crash when deleting a tag from the list of tags
Summary: Tags Manager : Crash when deleting a tag from the list of tags
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Manager (show other bugs)
Version: 5.0.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-14 16:52 UTC by Olli Lupton
Modified: 2022-01-02 08:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Lupton 2016-07-14 16:52:22 UTC
Digikam consistently crashes if I remove (right click, "Delete Tag") a tag in the tag manager (2nd tab, left hand side of screen). This happens regardless of whether or not the tag is applied to any images.



Reproducible: Always

Steps to Reproduce:
1. Install http://download.kde.org/stable/digikam/digiKam-5.0.0-MacOS-x86-64.pkg
2. Go to tag manager (2nd tab on left hand side of screen)
3. Right click on a tag and click "Delete Tag"

Actual Results:  
Crash.

Expected Results:  
Tag should be removed from all files it is applied to, and the tag should be removed from the list.

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

Date/Time:             2016-07-14 12:34:46.147 -0400
OS Version:            Mac OS X 10.11.4 (15E65)
Report Version:        11
Anonymous UUID:        583E6AEC-FDCB-24D8-BCA5-AE7A115F5214

Sleep/Wake UUID:       7E6C8FA9-F1AA-4223-B792-0CF9182515E1

Time Awake Since Boot: 260000 seconds
Time Since Wake:       15000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtCore         	0x000000010b292042 QSortFilterProxyModel::parent(QModelIndex const&) const + 82
1   org.qt-project.QtWidgets      	0x000000010a70b9c7 QTreeView::isIndexHidden(QModelIndex const&) const + 71
2   org.qt-project.QtWidgets      	0x000000010a6fff31 QTreeView::visualRect(QModelIndex const&) const + 97
3   org.qt-project.QtWidgets      	0x000000010a6a78fc QAccessibleTableCell::rect() const + 44
4   org.qt-project.QtWidgets      	0x000000010a6a76b9 QAccessibleTableCell::state() const + 169
5   libqcocoa.dylib               	0x0000000114d4c6ca QCocoaAccessible::hasValueAttribute(QAccessibleInterface*) + 58
6   libqcocoa.dylib               	0x0000000114d48e3f -[QMacAccessibilityElement accessibilityAttributeNames] + 431
7   com.apple.AppKit              	0x00007fff945d6e1a NSAccessibilityEntryPointAttributeNames + 124
8   com.apple.AppKit              	0x00007fff94845552 -[NSObject(NSAccessibilityInternal) _accessibilityAttributeNamesClientError:] + 56
9   com.apple.AppKit              	0x00007fff94848976 CopyAttributeNames + 216
10  com.apple.HIServices          	0x00007fff90d2923b _AXXMIGCopyAttributeNames + 245
11  com.apple.HIServices          	0x00007fff90d32823 _XCopyAttributeNames + 367
12  com.apple.HIServices          	0x00007fff90d0d012 mshMIGPerform + 199
13  com.apple.CoreFoundation      	0x00007fff90588019 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14  com.apple.CoreFoundation      	0x00007fff90587f89 __CFRunLoopDoSource1 + 473
15  com.apple.CoreFoundation      	0x00007fff9057f9bb __CFRunLoopRun + 2171
16  com.apple.CoreFoundation      	0x00007fff9057eed8 CFRunLoopRunSpecific + 296
17  com.apple.HIToolbox           	0x00007fff80b2c935 RunCurrentEventLoopInMode + 235
18  com.apple.HIToolbox           	0x00007fff80b2c76f ReceiveNextEventCommon + 432
19  com.apple.HIToolbox           	0x00007fff80b2c5af _BlockUntilNextEventMatchingListInModeWithFilter + 71
20  com.apple.AppKit              	0x00007fff94411efa _DPSNextEvent + 1067
21  com.apple.AppKit              	0x00007fff9441132a -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
22  com.apple.AppKit              	0x00007fff94405e84 -[NSApplication run] + 682
23  libqcocoa.dylib               	0x0000000114d3734f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
24  org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
25  org.qt-project.QtCore         	0x000000010b2c3885 QCoreApplication::exec() + 341
26  digikam                       	0x00000001044de1dc main + 9084
27  libdyld.dylib                 	0x00007fff874ca5ad start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff81511efa kevent_qos + 10
1   libdispatch.dylib             	0x00007fff8e769165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib             	0x00007fff8e768dcd _dispatch_mgr_thread + 52

Thread 2:: Digikam::ScanController
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x000000010b0fbd0b QWaitConditionPrivate::wait(unsigned long) + 75
3   org.qt-project.QtCore         	0x000000010b0fbbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
4   libdigikamgui.5.0.0.dylib     	0x0000000104516d62 Digikam::ScanController::run() + 562
5   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
6   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 3:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff8150af72 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff8150a3b3 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff905801c4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff9057f68c __CFRunLoopRun + 1356
4   com.apple.CoreFoundation      	0x00007fff9057eed8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit              	0x00007fff94567e99 _NSEventThread + 149
6   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 4:: QDBusConnectionManager
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   org.qt-project.QtCore         	0x000000010b0f6c43 QThread::exec() + 115
6   org.qt-project.QtDBus         	0x0000000109493e33 QDBusConnectionManager::run() + 19
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 5:: QThread
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x000000010b0fbd0b QWaitConditionPrivate::wait(unsigned long) + 75
3   org.qt-project.QtCore         	0x000000010b0fbbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
4   libdigikamcore.5.0.0.dylib    	0x00000001053e1875 Digikam::ParkingThread::run() + 165
5   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
6   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 6:: Qt bearer thread
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   org.qt-project.QtCore         	0x000000010b0f6c43 QThread::exec() + 115
6   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 7:: JavaScriptCore::BlockFree
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x00000001077e4a08 JSC::BlockAllocator::blockFreeingThreadMain() + 280
3   org.qt-project.QtWebKit       	0x0000000107ae46ef WTF::wtfThreadEntryPoint(void*) + 15
4   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
5   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
6   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 8:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x00000001077e5887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x00000001077e5913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x0000000107ae46ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 9:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x00000001077e5887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x00000001077e5913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x0000000107ae46ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 10:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x00000001077e5887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x00000001077e5913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x0000000107ae46ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 11:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x00000001077e5887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x00000001077e5913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x0000000107ae46ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 12:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x00000001077e5887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x00000001077e5913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x0000000107ae46ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 13:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x00000001077e5887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x00000001077e5913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x0000000107ae46ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 14:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 15:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 16:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 17:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 18:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 19:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 20:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 21:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 22:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff8151107a __select + 10
1   org.qt-project.QtCore         	0x000000010b31a3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x000000010b31b2d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x000000010b31c717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x000000010b2bf3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x00000001053e0557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000010b0f7497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 23:
0   libsystem_kernel.dylib        	0x00007fff815115e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80e89578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80e87341 start_wqthread + 13

Thread 24:
0   libsystem_kernel.dylib        	0x00007fff815115e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80e89578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80e87341 start_wqthread + 13

Thread 25:
0   libsystem_kernel.dylib        	0x00007fff815115e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80e89578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80e87341 start_wqthread + 13

Thread 26:
0   libsystem_kernel.dylib        	0x00007fff815115e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80e89578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80e87341 start_wqthread + 13

Thread 27:
0   libsystem_kernel.dylib        	0x00007fff815115e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80e89578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80e87341 start_wqthread + 13

Thread 28:
0   libsystem_kernel.dylib        	0x00007fff815115e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80e89578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80e87341 start_wqthread + 13

Thread 29:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x000000010b0fbec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x000000010b0fbceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x000000010b0fbbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000010b0f766d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 30:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x000000010b0fbec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x000000010b0fbceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x000000010b0fbbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000010b0f766d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 31:
0   libsystem_kernel.dylib        	0x00007fff815115e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80e89578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80e87341 start_wqthread + 13

Thread 32:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x000000010b0fbec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x000000010b0fbceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x000000010b0fbbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000010b0f766d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 33:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x000000010b0fbec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x000000010b0fbceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x000000010b0fbbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000010b0f766d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 34:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff81510db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80e8a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x000000010b0fbec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x000000010b0fbceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x000000010b0fbbc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000010b0f766d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000010b0fa6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80e8999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80e8991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80e87351 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00037f89d86b5b10  rbx: 0x00007fff5b72f2e0  rcx: 0x00007f89d3c99580  rdx: 0x00007f89d6fa2c18
  rdi: 0x00007fff5b72f2e0  rsi: 0x00007f89d3c99580  rbp: 0x00007fff5b72f2d0  rsp: 0x00007fff5b72f290
   r8: 0x000000000000002d   r9: 0x0000000000000033  r10: 0x0000000000000000  r11: 0x00007fff73ad35c8
  r12: 0x00007f89d3c94fb0  r13: 0xffffffffffffffff  r14: 0x00007f89d3c94fb0  r15: 0x000000000000008c
  rip: 0x000000010b292042  rfl: 0x0000000000010246  cr2: 0x00000001089d7000
  
Logical CPU:     4
Error Code:      0x00000000
Trap Number:     13
Comment 1 Olli Lupton 2016-07-14 17:05:38 UTC
Two further comments:

1. The operation does seem to succeed (i.e. the tag is removed), despite the crash.
2. I see a similar crash if, in the tag manager, I try and move a tag (e.g. SomeName -> People/SomeName).
Comment 2 caulier.gilles 2016-07-16 05:34:10 UTC
Which database type do you use ?
Where is stored your database file (in case of Sqlite) ?
Where is stored your collection ?
Can you run digiKam from a console to see all debug statements printed before to crash ? digiKam executable is installed in /opt/digikam/Applications/KF5/digikam.app/Contents/MacOS/digikam

Gilles Caulier
Comment 3 caulier.gilles 2016-07-16 05:35:56 UTC
Note : I cannot reproduce the crash here. I can play with tags in tree view as well (move, remove, create, rename, etc...)
Comment 4 caulier.gilles 2016-07-16 14:01:33 UTC
Also which type of database you use ? sqlite or mysql ?

I tried with both and i cannot reproduce the problem...

Gilles Caulier
Comment 5 Olli Lupton 2016-07-16 17:24:59 UTC
Thanks for looking into this!

Database type: SQLite (created with digikam 4.X)
Database location: local SSD
Collection location: local HDD (machine has 1 SSD, 1 HDD)

I ran in a terminal as you suggested. The only output triggered by deleting a tag is:

digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Stacked View Mode :  0
digikam.general: Delete Shortcut assigned to tag  610
digikam.geoiface: ----
Segmentation fault: 11

Which doesn't seem that informative to me. In case it helps, here are the first few lines printed by digikam after startup. Let me know if there's anything else I can try?

$ /opt/digikam/Applications/KF5/digikam.app/Contents/MacOS/digikam
digikam.general: AlbumWatch use QFileSystemWatcher
QFileSystemWatcher::removePaths: list is empty
digikam.general: Database Parameters:
   Type:                     "QSQLITE"
   DB Core Name:             "/Users/oliver/DigikamDatabases/digikam4.db"
   DB Thumbs Name:           "/Users/oliver/DigikamDatabases/thumbnails-digikam.db"
   DB Face Name:             "/Users/oliver/DigikamDatabases/recognition.db"
   Connect Options:          ""
   Host Name:                ""
   Host port:                -1
   Internal Server:          false
   Internal Server Path:     ""
   Internal Server Serv Cmd: ""
   Internal Server Init Cmd: ""
   Username:                 ""
   Password:                 ""

digikam.dbengine: Loading SQL code from config file "/opt/digikam/Applications/KF5/digikam.app/Contents/Resources//digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  8
digikam.coredb: Core database: makeUpdates  8  to  8
digikam.database: Creating new Location  "/"  uuid  "volumeid:?path=/Volumes/Data Disk/Pictures/Photos"
digikam.database: Creating new Location  "/"  uuid  "volumeid:?path=/Volumes/Data Disk/Pictures/Archive"
digikam.database: location for  "/Volumes/Data Disk/Pictures/Photos"  is available  true
digikam.database: location for  "/Volumes/Data Disk/Pictures/Archive"  is available  true
KMemoryInfo: Platform identified :  "Unknown"
KMemoryInfo: TotalRam:  -1
digikam.general: Allowing a cache size of 60 MB
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: Thumbs database: have a structure version  "3"
digikam.general: Thumbnails database ready for use
digikam.database: Complete scan (file scanning deferred) took: 16711 msecs.
Comment 6 caulier.gilles 2016-07-16 19:34:04 UTC
I suspect something wrong with old sqlite  database files.

Please rename these files es *.old, and recreate the database from scratch.

Gilles Caulier
Comment 7 Olli Lupton 2016-07-18 17:29:27 UTC
Hi,

I just tried as you suggested, re-naming the database files and letting it rebuild them.

This does not fix the problem. I removed a tag and it crashed again, see below.

Is there another way of running the OS X packaged build in some debug mode that would provide more useful information?

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Global Trace Buffer (reverse chronological seconds):
2867.649195  libextension.dylib        	0x00007fff8bd44533 tearing down extension request for pid 35499
2877.727496  libextension.dylib        	0x00007fff8bd44533 tearing down extension request for pid 35499

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtCore         	0x0000000113ac7042 QSortFilterProxyModel::parent(QModelIndex const&) const + 82
1   org.qt-project.QtWidgets      	0x0000000112f3e9c7 QTreeView::isIndexHidden(QModelIndex const&) const + 71
2   org.qt-project.QtWidgets      	0x0000000112f32f31 QTreeView::visualRect(QModelIndex const&) const + 97
3   org.qt-project.QtWidgets      	0x0000000112eda8fc QAccessibleTableCell::rect() const + 44
4   org.qt-project.QtWidgets      	0x0000000112eda6b9 QAccessibleTableCell::state() const + 169
5   libqcocoa.dylib               	0x000000011d58c6ca QCocoaAccessible::hasValueAttribute(QAccessibleInterface*) + 58
6   libqcocoa.dylib               	0x000000011d588e3f -[QMacAccessibilityElement accessibilityAttributeNames] + 431
7   com.apple.AppKit              	0x00007fff942c3e1a NSAccessibilityEntryPointAttributeNames + 124
8   com.apple.AppKit              	0x00007fff94532552 -[NSObject(NSAccessibilityInternal) _accessibilityAttributeNamesClientError:] + 56
9   com.apple.AppKit              	0x00007fff94535976 CopyAttributeNames + 216
10  com.apple.HIServices          	0x00007fff90a1623b _AXXMIGCopyAttributeNames + 245
11  com.apple.HIServices          	0x00007fff90a1f823 _XCopyAttributeNames + 367
12  com.apple.HIServices          	0x00007fff909fa012 mshMIGPerform + 199
13  com.apple.CoreFoundation      	0x00007fff90275019 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
14  com.apple.CoreFoundation      	0x00007fff90274f89 __CFRunLoopDoSource1 + 473
15  com.apple.CoreFoundation      	0x00007fff9026c9bb __CFRunLoopRun + 2171
16  com.apple.CoreFoundation      	0x00007fff9026bed8 CFRunLoopRunSpecific + 296
17  com.apple.HIToolbox           	0x00007fff80819935 RunCurrentEventLoopInMode + 235
18  com.apple.HIToolbox           	0x00007fff8081976f ReceiveNextEventCommon + 432
19  com.apple.HIToolbox           	0x00007fff808195af _BlockUntilNextEventMatchingListInModeWithFilter + 71
20  com.apple.AppKit              	0x00007fff940feefa _DPSNextEvent + 1067
21  com.apple.AppKit              	0x00007fff940fe32a -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
22  com.apple.AppKit              	0x00007fff940f2e84 -[NSApplication run] + 682
23  libqcocoa.dylib               	0x000000011d57734f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
24  org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
25  org.qt-project.QtCore         	0x0000000113af8885 QCoreApplication::exec() + 341
26  digikam                       	0x000000010cd0b1dc main + 9084
27  libdyld.dylib                 	0x00007fff871b75ad start + 1

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff811feefa kevent_qos + 10
1   libdispatch.dylib             	0x00007fff8e456165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib             	0x00007fff8e455dcd _dispatch_mgr_thread + 52

Thread 2:: Digikam::ScanController
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930d0b QWaitConditionPrivate::wait(unsigned long) + 75
3   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
4   libdigikamgui.5.0.0.dylib     	0x000000010cd41d62 Digikam::ScanController::run() + 562
5   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
6   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 3:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff811f7f72 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff811f73b3 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff9026d1c4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff9026c68c __CFRunLoopRun + 1356
4   com.apple.CoreFoundation      	0x00007fff9026bed8 CFRunLoopRunSpecific + 296
5   com.apple.AppKit              	0x00007fff94254e99 _NSEventThread + 149
6   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   com.apple.CoreFoundation      	0x00007fff902aa4fa __CFSocketManager + 762
2   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
3   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
4   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 5:: QThread
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930d0b QWaitConditionPrivate::wait(unsigned long) + 75
3   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
4   libdigikamcore.5.0.0.dylib    	0x000000010dc0d875 Digikam::ParkingThread::run() + 165
5   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
6   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
7   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
8   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 6:: QDBusConnectionManager
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   org.qt-project.QtCore         	0x0000000113b4f3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x0000000113b502d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x0000000113b51717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   org.qt-project.QtCore         	0x000000011392bc43 QThread::exec() + 115
6   org.qt-project.QtDBus         	0x0000000111cb3e33 QDBusConnectionManager::run() + 19
7   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 7:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   org.qt-project.QtCore         	0x0000000113b4f3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x0000000113b502d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x0000000113b51717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x000000010dc0c557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000011392c497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 8:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   org.qt-project.QtCore         	0x0000000113b4f3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x0000000113b502d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x0000000113b51717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x000000010dc0c557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000011392c497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 9:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   org.qt-project.QtCore         	0x0000000113b4f3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x0000000113b502d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x0000000113b51717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x000000010dc0c557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000011392c497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 10:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   org.qt-project.QtCore         	0x0000000113b4f3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x0000000113b502d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x0000000113b51717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x000000010dc0c557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000011392c497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 11:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 12:: Qt bearer thread
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   org.qt-project.QtCore         	0x0000000113b4f3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x0000000113b502d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x0000000113b51717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   org.qt-project.QtCore         	0x000000011392bc43 QThread::exec() + 115
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 13:: JavaScriptCore::BlockFree
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x0000000110006a08 JSC::BlockAllocator::blockFreeingThreadMain() + 280
3   org.qt-project.QtWebKit       	0x00000001103066ef WTF::wtfThreadEntryPoint(void*) + 15
4   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
5   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
6   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 14:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x0000000110007887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x0000000110007913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x00000001103066ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 15:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x0000000110007887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x0000000110007913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x00000001103066ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 16:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x0000000110007887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x0000000110007913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x00000001103066ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 17:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x0000000110007887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x0000000110007913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x00000001103066ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 18:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x0000000110007887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x0000000110007913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x00000001103066ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 19:: JavaScriptCore::Marking
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtWebKit       	0x0000000110007887 JSC::GCThread::waitForNextPhase() + 119
3   org.qt-project.QtWebKit       	0x0000000110007913 JSC::GCThread::gcThreadMain() + 83
4   org.qt-project.QtWebKit       	0x00000001103066ef WTF::wtfThreadEntryPoint(void*) + 15
5   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
6   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
7   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 20:
0   libsystem_kernel.dylib        	0x00007fff811fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80b76578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 21:
0   libsystem_kernel.dylib        	0x00007fff811fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80b76578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 22:: Dispatch queue: NSCGSDisableUpdates
0   libsystem_kernel.dylib        	0x00007fff811f7f72 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff811f73b3 mach_msg + 55
2   com.apple.CoreGraphics        	0x00007fff813db371 _CGSReenableUpdateForConnection + 92
3   com.apple.CoreGraphics        	0x00007fff813db051 CGSReenableUpdateToken + 469
4   libdispatch.dylib             	0x00007fff8e45b93d _dispatch_call_block_and_release + 12
5   libdispatch.dylib             	0x00007fff8e45040b _dispatch_client_callout + 8
6   libdispatch.dylib             	0x00007fff8e45503b _dispatch_queue_drain + 754
7   libdispatch.dylib             	0x00007fff8e45b707 _dispatch_queue_invoke + 549
8   libdispatch.dylib             	0x00007fff8e45040b _dispatch_client_callout + 8
9   libdispatch.dylib             	0x00007fff8e45429b _dispatch_root_queue_drain + 1890
10  libdispatch.dylib             	0x00007fff8e453b00 _dispatch_worker_thread3 + 91
11  libsystem_pthread.dylib       	0x00007fff80b764de _pthread_wqthread + 1129
12  libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 23:
0   libsystem_kernel.dylib        	0x00007fff811fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80b76578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 24:
0   libsystem_kernel.dylib        	0x00007fff811fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80b76578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 25:
0   libsystem_kernel.dylib        	0x00007fff811fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80b76578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 26:
0   libsystem_kernel.dylib        	0x00007fff811fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80b76578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 27:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 28:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 29:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 30:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 31:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 32:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 33:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 34:
0   libsystem_kernel.dylib        	0x00007fff811fe5e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff80b76578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff80b74341 start_wqthread + 13

Thread 35:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fe07a __select + 10
1   org.qt-project.QtCore         	0x0000000113b4f3a3 qt_safe_select(int, fd_set*, fd_set*, fd_set*, timespec const*) + 547
2   org.qt-project.QtCore         	0x0000000113b502d5 QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timespec*) + 709
3   org.qt-project.QtCore         	0x0000000113b51717 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 231
4   org.qt-project.QtCore         	0x0000000113af43d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
5   libdigikamcore.5.0.0.dylib    	0x000000010dc0c557 Digikam::WorkerObjectRunnable::run() + 247
6   org.qt-project.QtCore         	0x000000011392c497 QThreadPoolThread::run() + 103
7   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
8   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
9   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
10  libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 36:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 37:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 38:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff811fddb6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff80b77728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000113930ec0 QWaitConditionPrivate::wait_relative(unsigned long) + 288
3   org.qt-project.QtCore         	0x0000000113930ceb QWaitConditionPrivate::wait(unsigned long) + 43
4   org.qt-project.QtCore         	0x0000000113930bc2 QWaitCondition::wait(QMutex*, unsigned long) + 162
5   org.qt-project.QtCore         	0x000000011392c66d QThreadPoolThread::run() + 573
6   org.qt-project.QtCore         	0x000000011392f6ea QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff80b7699d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff80b7691a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff80b74351 thread_start + 13

Thread 39:

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x4030000000000000  rbx: 0x00007fff52f022e0  rcx: 0x00007fc55e7c5020  rdx: 0x00007fc55dcccb88
  rdi: 0x00007fff52f022e0  rsi: 0x00007fc55e7c5020  rbp: 0x00007fff52f022d0  rsp: 0x00007fff52f02290
   r8: 0x000000000000002d   r9: 0x0000000000000033  r10: 0x0000000000000000  r11: 0x00007fff737c05c8
  r12: 0x00007fc55e3297e0  r13: 0xffffffffffffffff  r14: 0x00007fc55e3297e0  r15: 0x00000000000000b2
  rip: 0x0000000113ac7042  rfl: 0x0000000000010246  cr2: 0x000000013fb15000
Comment 8 caulier.gilles 2016-07-18 18:27:56 UTC
Debuging under OSX is not too simple as Linux or Windows.

I tried, as Windows version, to include GDB, but it prohibited to attached process to debugger without to sign GDB to Apple service. It's for security reason (as Apple said).

Alternative is to patch internal settings from OSX and restart it. But it's not sure that it work with last OSX version.

The most simpler way, is to use a debugger already signed and available in AppStore.

Here i use XCode, I start digiKam, and i attched the process to Xcode debugger. There are few command in Xcode menu to use. It's simple. After that, you use digiKam until it crash. XCode will indicate where process is stopped in code with the call backtrace.

The problem is that XCode is a huge package to install. I don't yet tried to check if a small debugger exists in AppStore.

Gilles Caulier
Comment 9 Olli Lupton 2016-07-18 20:25:33 UTC
I tried catching the crash with Xcode, but there is very little information there.
Are the precompiled bundles on http://download.kde.org/stable/digikam/ supposed to have debug symbols?  Xcode just shows the instructions, which are rather unhelpful.

QtCore`QSortFilterProxyModel::parent:
    0x10da90ff0 <+0>:   pushq  %rbp
    0x10da90ff1 <+1>:   movq   %rsp, %rbp
    0x10da90ff4 <+4>:   pushq  %rbx
    0x10da90ff5 <+5>:   subq   $0x38, %rsp
    0x10da90ff9 <+9>:   movq   %rdi, %rbx
    0x10da90ffc <+12>:  movq   (%rdx), %rax
    0x10da90fff <+15>:  testl  %eax, %eax
    0x10da91001 <+17>:  js     0x10da91019               ; <+41>
    0x10da91003 <+19>:  shrq   $0x20, %rax
    0x10da91007 <+23>:  testl  %eax, %eax
    0x10da91009 <+25>:  js     0x10da91019               ; <+41>
    0x10da9100b <+27>:  movq   0x8(%rsi), %rax
    0x10da9100f <+31>:  movq   0x10(%rdx), %rcx
    0x10da91013 <+35>:  cmpq   0x8(%rax), %rcx
    0x10da91017 <+39>:  je     0x10da9103a               ; <+74>
    0x10da91019 <+41>:  movq   $-0x1, (%rbx)
    0x10da91020 <+48>:  movq   $0x0, 0x10(%rbx)
    0x10da91028 <+56>:  movq   $0x0, 0x8(%rbx)
    0x10da91030 <+64>:  movq   %rbx, %rax
    0x10da91033 <+67>:  addq   $0x38, %rsp
    0x10da91037 <+71>:  popq   %rbx
    0x10da91038 <+72>:  popq   %rbp
    0x10da91039 <+73>:  retq   
    0x10da9103a <+74>:  movq   0x8(%rdx), %rax
    0x10da9103e <+78>:  movq   0x28(%rax), %rax
->  0x10da91042 <+82>:  movq   0x20(%rax), %rcx
    0x10da91046 <+86>:  movq   %rcx, -0x10(%rbp)
    0x10da9104a <+90>:  movq   0x10(%rax), %rcx
    0x10da9104e <+94>:  movq   0x18(%rax), %rax
    0x10da91052 <+98>:  movq   %rax, -0x18(%rbp)
    0x10da91056 <+102>: movq   %rcx, -0x20(%rbp)
    0x10da9105a <+106>: movq   (%rsi), %rax
    0x10da9105d <+109>: leaq   -0x38(%rbp), %rdi
    0x10da91061 <+113>: leaq   -0x20(%rbp), %rdx
    0x10da91065 <+117>: callq  *0x180(%rax)
    0x10da9106b <+123>: movq   -0x28(%rbp), %rax
    0x10da9106f <+127>: movq   %rax, 0x10(%rbx)
    0x10da91073 <+131>: movq   -0x38(%rbp), %rax
    0x10da91077 <+135>: movq   -0x30(%rbp), %rcx
    0x10da9107b <+139>: movq   %rcx, 0x8(%rbx)
    0x10da9107f <+143>: movq   %rax, (%rbx)
    0x10da91082 <+146>: jmp    0x10da91030               ; <+64>
    0x10da91084 <+148>: nopw   %cs:(%rax,%rax)
Comment 10 caulier.gilles 2016-07-18 20:45:49 UTC
yes digiKam bundle must have debug symbols.
Comment 11 caulier.gilles 2016-07-19 05:09:26 UTC
Which OSX version do you use ?

Give me more information about your collection. Where are stored your images ? Which kind of images do you use ? JPEG, RAW, TIFF ?

Gilles Caulier
Comment 12 caulier.gilles 2016-07-19 05:10:06 UTC
Which OSX version do you use ?

Give me more information about your collection. Where are stored your images ? Which kind of images do you use ? JPEG, RAW, TIFF ?

Gilles Caulier
Comment 13 Olli Lupton 2016-07-19 12:33:41 UTC
Hi,

I'm using OS X 10.11.4.
Images are stored on a local HDD (/Volumes/Data Disk/), mostly JPEG but with a few others. Here are the database statistics:

digikam version 5.0.0
Images: 
JPG: 52906
PNG: 43
RAW-ARW: 61
TIFF: 197
XCF: 3
total: 53210
: 
Videos: 
3GP: 5
AVI: 27
MOV: 66
MP4: 147
MPEG: 26
total: 271
: 
Total Items: 53481
Albums: 315
Tags: 748
: 
Database backend: QSQLITE
Database Path: /Users/oliver/DigikamDatabases/
Comment 14 caulier.gilles 2016-07-19 17:47:43 UTC
10.11.5 here, but i have a VM with 10.11.4 to test and no crash.

Can you check if crash also appear using Album GUI right sidebar in Caption & Tags. Just go to tags tree view and delete a tag.

Gilles Caulier
Comment 15 Olli Lupton 2016-07-19 19:14:34 UTC
Hi,

I just tried, I get the same crash using the GUI on the right-hand-side as well.

I have tried experimenting with a clean database + 1 blank-white JPG created in an image editor (=> no tags initially)

Remove DB files -> start digikam -> choose collection location -> add tag (Test) to file (gives 'Tag name already exists' error but apparently succeeds) -> Apply -> close digikam -> restart digikam -> (tags list now shows 'People' in addition to 'Test') -> delete 'Test' -> crash

This crashes reliably for my main user account.
I tried to replicate in a 'clean' user account on the same machine, but there the same prescription does not crash. I am, therefore, wondering if there is some bit of old configuration lurking somewhere that I am failing to clean up, and that is causing the problem (somehow).

Currently to make a 'fresh' start I am deleting the three .db files, and removing ~/Library/Preferences/digikam*
Is there some other configuration or cache hidden somewhere else?
Comment 16 caulier.gilles 2016-07-19 19:32:02 UTC
Hey, you have completely right.

Older settings has already crashed digiKam for other users while beta stage.

This is why we have not yet backported older settings in new version. Typically, older settings are in separated place, so no conflicts are possible, at least under Linux. But under OSX, sound like different.

Look my comment here where i explain where are stored digiKam settings files :

https://bugs.kde.org/show_bug.cgi?id=364258#c9

Gilles Caulier
Comment 17 Olli Lupton 2016-07-20 13:25:32 UTC
Hi,

I made sure all of those locations were removed, but it doesn't stop the crashes using my main user account. I also tried removing:
~/Library/Saved\ Application\ State/digikam.savedState/
~/Library/Caches/digikam/
~/Library/Application\ Support/digikam/
along with re-removing the .db files, and I still get crashes.
Can you think of any other possible persistent configuration or caches?
Comment 18 caulier.gilles 2016-07-22 06:44:44 UTC
No, i think you have all the files listed here. The most important is digikamrc file.

But i suspect that the digikam4.db file has something wrong. Here i have an iMac with digiKam 4.12 installed where i upgraded to 5.0.0. After migration, using older sqlite DB, i see the path of main collection with strange characters in Setup/Collection page. Do you have the same problem ?

Gilles Caulier
Comment 19 caulier.gilles 2016-07-25 08:55:51 UTC
Olli,

Do you seen my previous comment ?

Gilles Caulier
Comment 20 Olli Lupton 2016-07-25 09:37:32 UTC
Hi,

Sorry for the delay.
I also saw strange characters in the collection paths when I migrated by 4.X database to 5.X, and had to re-add the collections to fix this.

However, this does not explain the crashes I have seen. I was able to reproduce the crash in a fresh 5.X session (having deleted the .db files and all the configuration files I know about).

The fact I am not able to reproduce the crash using a different user account on the same system suggests to me that the problem is either that there is some other old configuration file I don't know about, or digikam is somehow being affected by environment of one of the user accounts (PATH,DYLD_LIBRARY_PATH etc.).
Comment 21 caulier.gilles 2016-07-25 21:18:02 UTC
>or digikam is somehow being affected by environment of one of the user accounts
>(PATH,DYLD_LIBRARY_PATH etc.).

None of them. digiKam is packaged as a stand alone bundle application.

when you said that it do not crash with a new account, do you point the same collection and the same DB files than with suspicious account ?

What's about right access to DB file with the problematic account ? User is in the right group with the the right than good ones ?
The DB file/dir can be open in RW by problematic account ?
What's happen when you create the DB in another place with problematic account ?

Gilles Caulier
Comment 22 caulier.gilles 2016-11-29 11:08:56 UTC
Olli,

Do you seen my previous comment ?

Gilles Caulier
Comment 23 caulier.gilles 2017-04-16 20:30:16 UTC
new 5.6.0 pre-release as bundle is available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Please check if this problem still reproducible with these versions.

Thanks in advance

Gilles Caulier
Comment 24 caulier.gilles 2017-06-22 21:42:49 UTC
digiKam 5.6.0 is now released and available as bundle for Linux, MacOS and Windows.

https://www.digikam.org/news/2017-06-21-5.6.0-release-announcement/

Can you check if problem still exists with this version ?

Thanks in advance

Gilles Caulier
Comment 25 caulier.gilles 2017-07-23 18:27:07 UTC
New digiKam 5.7.0 are built with current implementation as pre-release bundles:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Problem still reproducible ?
Comment 26 Olli Lupton 2017-07-24 18:53:12 UTC
Apologies for not following up with this.

I am now on 3.6.0 and no longer see this bug.

Since I could reproduce it I had to rebuild my library from scratch, so it's not clear whether the newer digikam version actually fixed the problem, or if was due to funny state of the database.