Bug 349903

Summary: crash importing images on OSX
Product: [Applications] digikam Reporter: Geoff King <gsking1>
Component: Import-IconViewAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 4.11.0   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed In: 4.12.0
Sentry Crash Report:

Description Geoff King 2015-07-04 17:32:49 UTC
Tried to import and got a crash.  
I have tried with 2 cameras an iphone 6 ( auto detected as an iphone5 (PTP)) and a Canon S95.  Both crash when trying to import.  The autodetect process and dialog seems to work okay. 



Reproducible: Always

Steps to Reproduce:
1.  Connect iphone
2. Select camera listed ( e.g. Apple iPhone 5 (PTP)
3.  Crash

Actual Results:  
No imported pictures and a crash.

Expected Results:  
Import with no crashes

Application: digiKam (digikam), signal: Segmentation fault: 11
(lldb) process attach --pid 4257
Process 4257 stopped
* thread #1: tid = 0x12c502, 0x00007fff8bdbe902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff8bdbe902 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
->  0x7fff8bdbe902 <+10>: jae    0x7fff8bdbe90c            ; <+20>
    0x7fff8bdbe904 <+12>: movq   %rax, %rdi
    0x7fff8bdbe907 <+15>: jmp    0x7fff8bdb9c78            ; cerror
    0x7fff8bdbe90c <+20>: retq   

Executable module set to "/opt/digikam/Applications/KDE4/digikam.app/Contents/MacOS/digikam".
Architecture set to: x86_64-apple-macosx.
(lldb) set set term-width 200
(lldb) thread info
thread #1: tid = 0x12c502, 0x00007fff8bdbe902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1: tid = 0x12c502, 0x00007fff8bdbe902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff8bdbe902 libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0x0000000110d8289e libkdeui.5.dylib`KCrash::startProcess(int, char const**, bool) + 286
    frame #2: 0x0000000110d819c9 libkdeui.5.dylib`KCrash::defaultCrashHandler(int) + 1209
    frame #3: 0x00007fff8bb1af1a libsystem_platform.dylib`_sigtramp + 26
    frame #4: 0x000000010e4ea6ce libdigikamcore.4.11.0.dylib`Digikam::DCategorizedView::updateDelegateSizes() + 222
    frame #5: 0x000000010e4ed2f8 libdigikamcore.4.11.0.dylib`Digikam::DCategorizedView::viewportEvent(QEvent*) + 104
    frame #6: 0x0000000111612715 QtGui`QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37
    frame #7: 0x00000001122104ac QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 124
    frame #8: 0x00000001111c05db QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 235
    frame #9: 0x00000001111c3767 QtGui`QApplication::notify(QObject*, QEvent*) + 7543
    frame #10: 0x0000000112210186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #11: 0x000000011120df33 QtGui`QWidgetPrivate::updateFont(QFont const&) + 451
    frame #12: 0x000000011120dd14 QtGui`QWidgetPrivate::resolveFont() + 100
    frame #13: 0x000000011120ded1 QtGui`QWidgetPrivate::updateFont(QFont const&) + 353
    frame #14: 0x000000011120dd14 QtGui`QWidgetPrivate::resolveFont() + 100
    frame #15: 0x0000000111214c25 QtGui`QWidget::event(QEvent*) + 1749
    frame #16: 0x000000011158aded QtGui`QFrame::event(QEvent*) + 45
    frame #17: 0x0000000111611e1b QtGui`QAbstractScrollArea::event(QEvent*) + 795
    frame #18: 0x000000011169b5ee QtGui`QAbstractItemView::event(QEvent*) + 510
    frame #19: 0x00000001111c05eb QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #20: 0x00000001111c3767 QtGui`QApplication::notify(QObject*, QEvent*) + 7543
    frame #21: 0x0000000112210186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #22: 0x000000011120ae2f QtGui`QWidget::ensurePolished() const + 95
    frame #23: 0x0000000111213fbe QtGui`QWidget::setVisible(bool) + 270
    frame #24: 0x00000001111fab4d QtGui`QStackedLayout::setCurrentIndex(int) + 349
    frame #25: 0x00000001111fa9d7 QtGui`QStackedLayout::insertWidget(int, QWidget*) + 167
    frame #26: 0x000000010d311b16 digikam`Digikam::ImportStackedView::ImportStackedView(QWidget*) + 630
    frame #27: 0x000000010d31241d digikam`Digikam::ImportStackedView::ImportStackedView(QWidget*) + 29
    frame #28: 0x000000010d3160a9 digikam`Digikam::ImportView::ImportView(Digikam::ImportUI*, Digikam::ImportImageModel*, Digikam::ImportFilterModel*, QWidget*) + 537
    frame #29: 0x000000010d316cb5 digikam`Digikam::ImportView::ImportView(Digikam::ImportUI*, Digikam::ImportImageModel*, Digikam::ImportFilterModel*, QWidget*) + 53
    frame #30: 0x000000010d284746 digikam`Digikam::ImportUI::setupUserArea() + 502
    frame #31: 0x000000010d28fd6a digikam`Digikam::ImportUI::ImportUI(QWidget*, QString const&, QString const&, QString const&, QString const&, int) + 874
    frame #32: 0x000000010cf4dc28 digikam`Digikam::DigikamApp::slotOpenManualCamera(QAction*) + 552
    frame #33: 0x000000010cf4b010 digikam`Digikam::DigikamApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 752
    frame #34: 0x000000011222906b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #35: 0x00000001111b988b QtGui`QActionGroup::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 619
    frame #36: 0x000000011222906b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #37: 0x00000001111b74a9 QtGui`QAction::activate(QAction::ActionEvent) + 233
    frame #38: 0x0000000111169631 QtGui`-[QCocoaMenuLoader qtDispatcherToQAction:] + 65
    frame #39: 0x00007fff8bd9dcd7 libsystem_trace.dylib`_os_activity_initiate + 75
    frame #40: 0x00007fff8afc1eb1 AppKit`-[NSApplication sendAction:to:from:] + 452
    frame #41: 0x00007fff8afc1c4e AppKit`-[NSMenuItem _corePerformAction] + 382
    frame #42: 0x00007fff8afc197c AppKit`-[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
    frame #43: 0x00007fff8bd9dcd7 libsystem_trace.dylib`_os_activity_initiate + 75
    frame #44: 0x00007fff8b088b00 AppKit`-[NSMenu performActionForItemAtIndex:] + 131
    frame #45: 0x00007fff8b088a66 AppKit`-[NSMenu _internalPerformActionForItemAtIndex:] + 35
    frame #46: 0x00007fff8b0888b2 AppKit`-[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107
    frame #47: 0x00007fff8afa9d6b AppKit`NSSLMMenuEventHandler + 724
    frame #48: 0x00007fff805edb6c HIToolbox`DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1260
    frame #49: 0x00007fff805ecfae HIToolbox`SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 386
    frame #50: 0x00007fff80602cb6 HIToolbox`SendEventToEventTarget + 40
    frame #51: 0x00007fff8063cf45 HIToolbox`SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 428
    frame #52: 0x00007fff8067ab8d HIToolbox`SendMenuCommandWithContextAndModifiers + 59
    frame #53: 0x00007fff8067ab30 HIToolbox`SendMenuItemSelectedEvent + 188
    frame #54: 0x00007fff8067aa09 HIToolbox`FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96
    frame #55: 0x00007fff8067b481 HIToolbox`MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 702
    frame #56: 0x00007fff8067b0fe HIToolbox`_HandleMenuSelection2 + 446
    frame #57: 0x00007fff8aec7ce0 AppKit`_NSHandleCarbonMenuEvent + 277
    frame #58: 0x00007fff8adfebfd AppKit`_DPSNextEvent + 1828
    frame #59: 0x00007fff8adfde58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    frame #60: 0x00007fff8adf3af3 AppKit`-[NSApplication run] + 594
    frame #61: 0x0000000111172f6b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2027
    frame #62: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #63: 0x0000000112210737 QtCore`QCoreApplication::exec() + 199
    frame #64: 0x000000010d1593ad digikam`main + 9117
    frame #65: 0x00007fff814ce5c9 libdyld.dylib`start + 1
    frame #66: 0x00007fff814ce5c9 libdyld.dylib`start + 1

  thread #2: tid = 0x12c731, 0x00007fff8bdbf232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff8bdbf232 libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x00007fff8c550d91 libdispatch.dylib`_dispatch_mgr_invoke + 247
    frame #2: 0x00007fff8c550a6a libdispatch.dylib`_dispatch_mgr_thread + 52

  thread #3: tid = 0x12c93c, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff8c225b7a CoreFoundation`__CFSocketManager + 730
    frame #2: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #3: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #4: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #4: tid = 0x12c93d, 0x00007fff8bdbe136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Digikam::ScanController'
    frame #0: 0x00007fff8bdbe136 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff84b54e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
    frame #2: 0x0000000112100e9b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
    frame #3: 0x0000000112100cff QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
    frame #4: 0x000000010cfe1881 digikam`Digikam::ScanController::run() + 641
    frame #5: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #6: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #5: tid = 0x12c951, 0x00007fff8bdb94de libsystem_kernel.dylib`mach_msg_trap + 10
    frame #0: 0x00007fff8bdb94de libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff8bdb864f libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x00007fff8c1d9eb4 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x00007fff8c1d937b CoreFoundation`__CFRunLoopRun + 1371
    frame #4: 0x00007fff8c1d8bd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #5: 0x00007fff8aec656b AppKit`_NSEventThread + 137
    frame #6: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #6: tid = 0x12c960, 0x00007fff8bdbe136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'QThread'
    frame #0: 0x00007fff8bdbe136 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff84b54e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
    frame #2: 0x0000000112100e9b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
    frame #3: 0x0000000112100cff QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
    frame #4: 0x000000010e487ad0 libdigikamcore.4.11.0.dylib`Digikam::ParkingThread::run() + 176
    frame #5: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #6: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #7: tid = 0x12c981, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'Thread (pooled)'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000011223d064 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 452
    frame #2: 0x0000000112240291 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
    frame #3: 0x0000000112241c23 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
    frame #4: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #5: 0x000000010e486d82 libdigikamcore.4.11.0.dylib`Digikam::WorkerObjectRunnable::run() + 258
    frame #6: 0x00000001120f1e6b QtCore`QThreadPoolThread::run() + 203
    frame #7: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #8: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #10: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #8: tid = 0x12c989, 0x00007fff8bdbf21a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine'
    frame #0: 0x00007fff8bdbf21a libsystem_kernel.dylib`kevent + 10
    frame #1: 0x00000001121f265a QtCore`QKqueueFileSystemWatcherEngine::run() + 106
    frame #2: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #3: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #4: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #5: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #9: tid = 0x12c98a, 0x00007fff8bdbf21a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine'
    frame #0: 0x00007fff8bdbf21a libsystem_kernel.dylib`kevent + 10
    frame #1: 0x00000001121f265a QtCore`QKqueueFileSystemWatcherEngine::run() + 106
    frame #2: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #3: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #4: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #5: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #10: tid = 0x12c98b, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'QThread'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000011223cf05 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 101
    frame #2: 0x0000000112240291 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
    frame #3: 0x0000000112241c23 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
    frame #4: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #5: 0x00000001120fdcb9 QtCore`QThread::exec() + 217
    frame #6: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #7: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #8: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #9: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #11: tid = 0x13d03a, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'Thread (pooled)'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000011223d064 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 452
    frame #2: 0x0000000112240291 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
    frame #3: 0x0000000112241c23 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
    frame #4: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #5: 0x000000010e486d82 libdigikamcore.4.11.0.dylib`Digikam::WorkerObjectRunnable::run() + 258
    frame #6: 0x00000001120f1e6b QtCore`QThreadPoolThread::run() + 203
    frame #7: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #8: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #10: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #12: tid = 0x13d94c, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'Thread (pooled)'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000011223d064 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 452
    frame #2: 0x0000000112240291 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
    frame #3: 0x0000000112241c23 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
    frame #4: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #5: 0x000000010e486d82 libdigikamcore.4.11.0.dylib`Digikam::WorkerObjectRunnable::run() + 258
    frame #6: 0x00000001120f1e6b QtCore`QThreadPoolThread::run() + 203
    frame #7: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #8: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #10: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #13: tid = 0x13da27, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'Thread (pooled)'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000011223d064 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 452
    frame #2: 0x0000000112240291 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
    frame #3: 0x0000000112241c23 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
    frame #4: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #5: 0x000000010e486d82 libdigikamcore.4.11.0.dylib`Digikam::WorkerObjectRunnable::run() + 258
    frame #6: 0x00000001120f1e6b QtCore`QThreadPoolThread::run() + 203
    frame #7: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #8: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #10: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #14: tid = 0x13dc8a, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'Thread (pooled)'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000011223d064 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 452
    frame #2: 0x0000000112240291 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
    frame #3: 0x0000000112241c23 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
    frame #4: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #5: 0x000000010e486d82 libdigikamcore.4.11.0.dylib`Digikam::WorkerObjectRunnable::run() + 258
    frame #6: 0x00000001120f1e6b QtCore`QThreadPoolThread::run() + 203
    frame #7: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #8: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #10: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #15: tid = 0x13dce3, 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10, name = 'Thread (pooled)'
    frame #0: 0x00007fff8bdbe3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000011223d064 QtCore`qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) + 452
    frame #2: 0x0000000112240291 QtCore`QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) + 817
    frame #3: 0x0000000112241c23 QtCore`QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 227
    frame #4: 0x000000011220d4ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #5: 0x000000010e486d82 libdigikamcore.4.11.0.dylib`Digikam::WorkerObjectRunnable::run() + 258
    frame #6: 0x00000001120f1e6b QtCore`QThreadPoolThread::run() + 203
    frame #7: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #8: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #10: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #16: tid = 0x15d0fb, 0x00007fff8bdbe136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Digikam::CameraController'
    frame #0: 0x00007fff8bdbe136 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff84b54e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
    frame #2: 0x0000000112100e9b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
    frame #3: 0x0000000112100cff QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
    frame #4: 0x000000010d2a2870 digikam`Digikam::CameraController::run() + 240
    frame #5: 0x00000001120ff802 QtCore`QThreadPrivate::start(void*) + 386
    frame #6: 0x00007fff84b54268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff84b541e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff84b5241d libsystem_pthread.dylib`thread_start + 13

  thread #17: tid = 0x15dbef, 0x00007fff8bdbe94a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff8bdbe94a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff84b546c3 libsystem_pthread.dylib`_pthread_wqthread + 869
    frame #2: 0x00007fff84b5240d libsystem_pthread.dylib`start_wqthread + 13

  thread #18: tid = 0x15dbf0, 0x00007fff8bdbe94a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff8bdbe94a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff84b546c3 libsystem_pthread.dylib`_pthread_wqthread + 869
    frame #2: 0x00007fff84b5240d libsystem_pthread.dylib`start_wqthread + 13

  thread #19: tid = 0x15dbf1, 0x00007fff8bdbe94a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #0: 0x00007fff8bdbe94a libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fff84b546c3 libsystem_pthread.dylib`_pthread_wqthread + 869
    frame #2: 0x00007fff84b5240d libsystem_pthread.dylib`start_wqthread + 13
(lldb) detach
Process 4257 detached
(lldb) (lldb) quit
Comment 1 Geoff King 2015-07-04 17:33:44 UTC
This is with the kde provided binary " digikam-4.11.0-Yosemite.pkg" from June 18, 2015
Comment 2 caulier.gilles 2015-07-04 17:46:12 UTC
I have reproduce the crash on my OSX with my iphone. Typically this is fixed in current implementation (next 4.12.0).

Gilles Caulier
Comment 3 caulier.gilles 2015-07-05 10:27:57 UTC
Git commit ad8538938371ec4152450c661b1857f8441e3af8 by Maik Qualmann.
Committed on 19/06/2015 at 21:01.
Pushed by mqualmann into branch 'master'.

fixes the model initialisation from the icon view and thumb bar of the import
window
Related: bug 349280
FIXED-IN: 4.12.0

M  +3    -1    NEWS
M  +1    -7    utilities/importui/main/importui.cpp
M  +7    -3    utilities/importui/views/importiconview.cpp
M  +0    -2    utilities/importui/views/importiconview.h
M  +11   -20   utilities/importui/views/importstackedview.cpp
M  +0    -1    utilities/importui/views/importstackedview.h
M  +3    -12   utilities/importui/views/importview.cpp
M  +1    -1    utilities/importui/views/importview.h

http://commits.kde.org/digikam/ad8538938371ec4152450c661b1857f8441e3af8