Bug 349155 - digikam does not work properly on OSX Yosemite
Summary: digikam does not work properly on OSX Yosemite
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 4.9.0
Platform: MacPorts macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-14 17:18 UTC by abhijin
Modified: 2017-08-07 07:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abhijin 2015-06-14 17:18:52 UTC
Application: digikam (4.9.0)
KDE Platform Version: 4.14.3
Qt Version: 4.8.7
Operating System: Darwin 14.1.0 x86_64
Distribution (Platform): MacPorts Packages

-- Information about the crash:
There are two problems observed:
1. In the image editor, the "aspect ratio" tool does not work at all.
2. digikam crashes while using image editor frequently.

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault: 11
(lldb) process attach --pid 391
Process 391 stopped
Executable module set to "/Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam".
Architecture set to: x86_64h-apple-macosx.
(lldb) set set term-width 200
(lldb) thread info
thread #1: tid = 0x102d, 0x00007fff92c9a902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1: tid = 0x102d, 0x00007fff92c9a902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff92c9a902 libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0x00000001077909ae libkdeui.5.dylib`KCrash::startProcess(int, char const**, bool) + 286
    frame #2: 0x000000010778fad9 libkdeui.5.dylib`KCrash::defaultCrashHandler(int) + 1209
    frame #3: 0x00007fff92bf1f1a libsystem_platform.dylib`_sigtramp + 26
    frame #4: 0x00007fff92bf1fca libsystem_platform.dylib`_platform_memmove$VARIANT$Unknown + 42
    frame #5: 0x0000000104b48f0e libdigikamcore.4.9.0.dylib`Digikam::DImg::putImageData(unsigned int, unsigned int, bool, bool, unsigned char*, bool) + 174
    frame #6: 0x0000000104b48df7 libdigikamcore.4.9.0.dylib`Digikam::DImg::DImg(unsigned int, unsigned int, bool, bool, unsigned char*, bool) + 103
    frame #7: 0x0000000104b48f7b libdigikamcore.4.9.0.dylib`Digikam::DImg::DImg(unsigned int, unsigned int, bool, bool, unsigned char*, bool) + 27
    frame #8: 0x0000000104e402d2 libdigikamcore.4.9.0.dylib`Digikam::ImageIface::setPreviewSize(QSize const&) const + 146
    frame #9: 0x0000000104d84578 libdigikamcore.4.9.0.dylib`Digikam::ImageGuideWidget::resizeEvent(QResizeEvent*) + 168
    frame #10: 0x0000000107c88a28 QtGui`QWidget::event(QEvent*) + 1240
    frame #11: 0x0000000107c345eb QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #12: 0x0000000107c37767 QtGui`QApplication::notify(QObject*, QEvent*) + 7543
    frame #13: 0x0000000108cb3186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #14: 0x0000000107bce9f2 QtGui`QWidgetPrivate::setGeometry_sys_helper(int, int, int, int, bool) + 882
    frame #15: 0x0000000107bce352 QtGui`QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 162
    frame #16: 0x0000000107c86733 QtGui`QWidget::setGeometry(QRect const&) + 163
    frame #17: 0x0000000107c637e9 QtGui`QLayoutPrivate::doResize(QSize const&) + 217
    frame #18: 0x0000000107c345cd QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 221
    frame #19: 0x0000000107c37767 QtGui`QApplication::notify(QObject*, QEvent*) + 7543
    frame #20: 0x0000000108cb3186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #21: 0x0000000107bce9f2 QtGui`QWidgetPrivate::setGeometry_sys_helper(int, int, int, int, bool) + 882
    frame #22: 0x0000000107bce352 QtGui`QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 162
    frame #23: 0x0000000107c86733 QtGui`QWidget::setGeometry(QRect const&) + 163
    frame #24: 0x0000000107c8d532 QtGui`QWidget::qt_metacall(QMetaObject::Call, int, void**) + 658
    frame #25: 0x0000000108277f28 QtGui`QFrame::qt_metacall(QMetaObject::Call, int, void**) + 24
    frame #26: 0x000000010827ac38 QtGui`QStackedWidget::qt_metacall(QMetaObject::Call, int, void**) + 24
    frame #27: 0x0000000104e20989 libdigikamcore.4.9.0.dylib`Digikam::EditorStackView::qt_metacall(QMetaObject::Call, int, void**) + 25
    frame #28: 0x0000000108b89233 QtCore`QPropertyAnimationPrivate::updateProperty(QVariant const&) + 163
    frame #29: 0x0000000108b86b70 QtCore`QVariantAnimationPrivate::setCurrentValueForProgress(double) + 160
    frame #30: 0x0000000108b869ad QtCore`QVariantAnimationPrivate::recalculateCurrentInterval(bool) + 685
    frame #31: 0x0000000108b899eb QtCore`QPropertyAnimation::updateState(QAbstractAnimation::State, QAbstractAnimation::State) + 555
    frame #32: 0x0000000108b84aef QtCore`QAbstractAnimationPrivate::setState(QAbstractAnimation::State) + 367
    frame #33: 0x0000000108098a5d QtGui`QWidgetAnimator::animate(QWidget*, QRect const&, bool) + 637
    frame #34: 0x0000000107ff854f QtGui`QDockAreaLayout::apply(bool) + 143
    frame #35: 0x000000010801e6e2 QtGui`QMainWindowLayout::applyState(QMainWindowLayoutState&, bool) + 1058
    frame #36: 0x000000010801e2a4 QtGui`QMainWindowLayout::setGeometry(QRect const&) + 324
    frame #37: 0x0000000107c637e9 QtGui`QLayoutPrivate::doResize(QSize const&) + 217
    frame #38: 0x0000000107c345cd QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 221
    frame #39: 0x0000000107c37767 QtGui`QApplication::notify(QObject*, QEvent*) + 7543
    frame #40: 0x0000000108cb3186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #41: 0x0000000107bce9f2 QtGui`QWidgetPrivate::setGeometry_sys_helper(int, int, int, int, bool) + 882
    frame #42: 0x0000000107bce352 QtGui`QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) + 162
    frame #43: 0x0000000107c86733 QtGui`QWidget::setGeometry(QRect const&) + 163
    frame #44: 0x0000000108059b73 QtGui`QSplitterPrivate::setGeo(QSplitterLayoutStruct*, int, int, bool) + 355
    frame #45: 0x0000000108059985 QtGui`QSplitterPrivate::doResize() + 1445
    frame #46: 0x0000000104d63de7 libdigikamcore.4.9.0.dylib`Digikam::SidebarSplitter::setSize(QWidget*, int) + 151
    frame #47: 0x0000000104d63c79 libdigikamcore.4.9.0.dylib`Digikam::Sidebar::expand() + 169
    frame #48: 0x0000000104d642e6 libdigikamcore.4.9.0.dylib`Digikam::Sidebar::setActiveTab(QWidget*) + 134
    frame #49: 0x0000000104e1fc69 libdigikamcore.4.9.0.dylib`Digikam::EditorToolIface::loadTool(Digikam::EditorTool*) + 281
    frame #50: 0x0000000104e41660 libdigikamcore.4.9.0.dylib`Digikam::ImagePlugin::loadTool(Digikam::EditorTool*) + 32
    frame #51: 0x0000000108ccc06b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #52: 0x0000000107c2b4a9 QtGui`QAction::activate(QAction::ActionEvent) + 233
    frame #53: 0x0000000108ccc06b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #54: 0x0000000108111186 QtGui`QAbstractItemView::mouseReleaseEvent(QMouseEvent*) + 646
    frame #55: 0x00000001081319ea QtGui`QListView::mouseReleaseEvent(QMouseEvent*) + 26
    frame #56: 0x00000001076e91fc libkdeui.5.dylib`KCategorizedView::mouseReleaseEvent(QMouseEvent*) + 556
    frame #57: 0x0000000107c8881c QtGui`QWidget::event(QEvent*) + 716
    frame #58: 0x0000000107ffeded QtGui`QFrame::event(QEvent*) + 45
    frame #59: 0x0000000108085f0c QtGui`QAbstractScrollArea::viewportEvent(QEvent*) + 108
    frame #60: 0x000000010810fb07 QtGui`QAbstractItemView::viewportEvent(QEvent*) + 983
    frame #61: 0x0000000108086715 QtGui`QAbstractScrollAreaFilter::eventFilter(QObject*, QEvent*) + 37
    frame #62: 0x0000000108cb34ac QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 124
    frame #63: 0x0000000107c345db QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 235
    frame #64: 0x0000000107c36575 QtGui`QApplication::notify(QObject*, QEvent*) + 2949
    frame #65: 0x0000000108cb3186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #66: 0x0000000107c34ffb QtGui`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 475
    frame #67: 0x0000000107be1702 QtGui`qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 1298
    frame #68: 0x00007fff871b4b5b AppKit`-[NSWindow _reallySendEvent:] + 756
    frame #69: 0x00007fff86c3e16e AppKit`-[NSWindow sendEvent:] + 446
    frame #70: 0x0000000107bd1161 QtGui`-[QCocoaPanel sendEvent:] + 113
    frame #71: 0x00007fff86bf0451 AppKit`-[NSApplication sendEvent:] + 4183
    frame #72: 0x0000000107bddb21 QtGui`-[QNSApplication sendEvent:] + 97
    frame #73: 0x00007fff86a7c608 AppKit`-[NSApplication run] + 711
    frame #74: 0x0000000107be6f6b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2027
    frame #75: 0x0000000108cb04ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #76: 0x000000010803f727 QtGui`QMenu::exec(QPoint const&, QAction*) + 103
    frame #77: 0x000000010808113b QtGui`QToolButtonPrivate::popupTimerDone() + 1435
    frame #78: 0x0000000108081bc0 QtGui`QToolButton::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 128
    frame #79: 0x0000000108ccc06b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #80: 0x0000000107fb5136 QtGui`QAbstractButtonPrivate::emitPressed() + 38
    frame #81: 0x0000000107fb5b89 QtGui`QAbstractButton::mousePressEvent(QMouseEvent*) + 89
    frame #82: 0x00000001080813e2 QtGui`QToolButton::mousePressEvent(QMouseEvent*) + 242
    frame #83: 0x0000000107c88807 QtGui`QWidget::event(QEvent*) + 695
    frame #84: 0x0000000107fb5b03 QtGui`QAbstractButton::event(QEvent*) + 179
    frame #85: 0x0000000108081a8b QtGui`QToolButton::event(QEvent*) + 171
    frame #86: 0x0000000107c345eb QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #87: 0x0000000107c36575 QtGui`QApplication::notify(QObject*, QEvent*) + 2949
    frame #88: 0x0000000108cb3186 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #89: 0x0000000107c34ffb QtGui`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 475
    frame #90: 0x0000000107be1702 QtGui`qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 1298
    frame #91: 0x00007fff871b7a18 AppKit`-[NSWindow _reallySendEvent:] + 12721
    frame #92: 0x00007fff86c3e16e AppKit`-[NSWindow sendEvent:] + 446
    frame #93: 0x0000000107bd8be1 QtGui`-[QCocoaWindow sendEvent:] + 113
    frame #94: 0x00007fff86bf0451 AppKit`-[NSApplication sendEvent:] + 4183
    frame #95: 0x0000000107bddb21 QtGui`-[QNSApplication sendEvent:] + 97
    frame #96: 0x00007fff86a7c608 AppKit`-[NSApplication run] + 711
    frame #97: 0x0000000107be6f6b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2027
    frame #98: 0x0000000108cb04ff QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #99: 0x0000000108cb3737 QtCore`QCoreApplication::exec() + 199
    frame #100: 0x0000000103d4352c digikam`main + 7020
    frame #101: 0x00007fff937fa5c9 libdyld.dylib`start + 1
    frame #102: 0x00007fff937fa5c9 libdyld.dylib`start + 1

  thread #2: tid = 0x103d, 0x00007fff92c9b232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff92c9b232 libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x00007fff866fcd91 libdispatch.dylib`_dispatch_mgr_invoke + 247
    frame #2: 0x00007fff866fca6a libdispatch.dylib`_dispatch_mgr_thread + 52

  thread #3: tid = 0x1057, 0x00007fff92c9a3fa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff92c9a3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff8d6c1405 CoreFoundation`__CFSocketManager + 741
    frame #2: 0x00007fff8edb1268 libsystem_pthread.dylib`_pthread_body + 131
    frame #3: 0x00007fff8edb11e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #4: 0x00007fff8edaf41d libsystem_pthread.dylib`thread_start + 13

  thread #4: tid = 0x1058, 0x00007fff92c9a136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Digikam::ScanController'
    frame #0: 0x00007fff92c9a136 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8edb1e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
    frame #2: 0x0000000108ba3e9b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
    frame #3: 0x0000000108ba3cff QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
    frame #4: 0x0000000103c1ca81 digikam`Digikam::ScanController::run() + 129
    frame #5: 0x0000000108ba2802 QtCore`QThreadPrivate::start(void*) + 386
    frame #6: 0x00007fff8edb1268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff8edb11e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff8edaf41d libsystem_pthread.dylib`thread_start + 13

  thread #5: tid = 0x1061, 0x00007fff92c954de libsystem_kernel.dylib`mach_msg_trap + 10
    frame #0: 0x00007fff92c954de libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff92c9464f libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x00007fff8d676b34 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x00007fff8d675ffb CoreFoundation`__CFRunLoopRun + 1371
    frame #4: 0x00007fff8d675858 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #5: 0x00007fff86bec33b AppKit`_NSEventThread + 137
    frame #6: 0x00007fff8edb1268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff8edb11e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff8edaf41d libsystem_pthread.dylib`thread_start + 13

  thread #6: tid = 0x1064, 0x00007fff92c9a136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'QThread'
    frame #0: 0x00007fff92c9a136 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff8edb1e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
    frame #2: 0x0000000108ba3e9b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
    frame #3: 0x0000000108ba3cff QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
    frame #4: 0x0000000104d312e0 libdigikamcore.4.9.0.dylib`Digikam::ParkingThread::run() + 192
    frame #5: 0x0000000108ba2802 QtCore`QThreadPrivate::start(void*) + 386
    frame #6: 0x00007fff8edb1268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff8edb11e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff8edaf41d libsystem_pthread.dylib`thread_start + 13

  thread #7: tid = 0x1065, 0x00007fff92c9a3fa libsystem_kernel.dylib`__select + 10, name = 'QProcessManager'
    frame #0: 0x00007fff92c9a3fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x0000000108c86def QtCore`QProcessManager::run() + 143
    frame #2: 0x0000000108ba2802 QtCore`QThreadPrivate::start(void*) + 386
    frame #3: 0x00007fff8edb1268 libsystem_pthread.dylib`_pthread_body + 131
    frame #4: 0x00007fff8edb11e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #5: 0x00007fff8edaf41d libsystem_pthread.dylib`thread_start + 13

  thread #8: tid = 0x109d, 0x00007fff92c9b21a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine'
    frame #0: 0x00007fff92c9b21a libsystem_kernel.dylib`kevent + 10
    frame #1: 0x0000000108c9565a QtCore`QKqueueFileSystemWatcherEngine::run() + 106
    frame #2: 0x0000000108ba2802 QtCore`QThreadPrivate::start(void*) + 386
    frame #3: 0x00007fff8edb1268 libsystem_pthread.dylib`_pthread_body + 131
    frame #4: 0x00007fff8edb11e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #5: 0x00007fff8edaf41d libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 391 detached
(lldb) (lldb) quit

Possible duplicates by query: bug 349153, bug 349137, bug 349117, bug 349113, bug 349099.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-06-14 20:03:23 UTC
Problem is know. See bug #320382

Also, please try digiKam 4.10.0 PKG installer for Yosemite :

http://download.kde.org/stable/digikam/digikam-4.10.0-Yosemite-2.pkg.mirrorlist

Gilles Caulier

*** This bug has been marked as a duplicate of bug 320382 ***
Comment 2 caulier.gilles 2015-06-22 21:31:07 UTC
--- Comment #12 from Maik Qualmann <metzpinguin@gmail.com> ---
Git commit a8b7a0713609fc752bbd71830f72ae01bd8dbb67 by Maik Qualmann.
Committed on 22/06/2015 at 17:23.
Pushed by mqualmann into branch 'master'.

corrects the values for width and height of the preview image from the image
data interface
Related: bug 269682, bug 317689, bug 340389
FIXED-IN: 4.12.0

M  +5    -1    NEWS
M  +2    -1    utilities/imageeditor/plugin/imageiface.cpp

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