Bug 347289 - Digikam crashes while beginning correcting perspective
Summary: Digikam crashes while beginning correcting perspective
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Perspective (show other bugs)
Version: 4.8.0
Platform: MacPorts macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-06 09:53 UTC by Detlef
Modified: 2016-07-09 18:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments
New crash information added by DrKonqi (19.27 KB, text/plain)
2015-05-08 08:34 UTC, Detlef
Details
signature.asc (203 bytes, application/pgp-signature)
2015-06-25 11:43 UTC, Detlef
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Detlef 2015-05-06 09:53:09 UTC
Application: digikam (4.8.0)
KDE Platform Version: 4.14.3 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Darwin 14.3.0 x86_64
Distribution (Platform): MacPorts Packages

-- Information about the crash:
- What I was doing when the application crashed:

1 Picture taken for correction,
starting correcting-mode
starting perspective correction getting crash

- Unusual behavior I noticed:

In the correction-mode of a picture there is no Information aout title and description of the picture. Also it is not possible to go to the next picture in the album.

some corredtions are working well: turning a picture, changing brightness...
but ohters too crashes: color changing...

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault: 11
(lldb) process attach --pid 44192
Process 44192 stopped
* thread #1: tid = 0x88d5a, 0x00007fff90211902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff90211902 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
->  0x7fff90211902 <+10>: jae    0x7fff9021190c            ; <+20>
    0x7fff90211904 <+12>: movq   %rax, %rdi
    0x7fff90211907 <+15>: jmp    0x7fff9020cc78            ; cerror
    0x7fff9021190c <+20>: retq   

Executable module set to "/Applications/MacPorts/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 = 0x88d5a, 0x00007fff90211902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP

(lldb) bt all
* thread #1: tid = 0x88d5a, 0x00007fff90211902 libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff90211902 libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0x0000000103d2c9ae libkdeui.5.dylib`KCrash::startProcess(int, char const**, bool) + 286
    frame #2: 0x0000000103d2bad9 libkdeui.5.dylib`KCrash::defaultCrashHandler(int) + 1209
    frame #3: 0x00007fff9a712f1a libsystem_platform.dylib`_sigtramp + 26
    frame #4: 0x00007fff9a70f332 libsystem_platform.dylib`_platform_memmove$VARIANT$Ivybridge + 50
    frame #5: 0x00000001010dcaa8 libdigikamcore.4.8.0.dylib`Digikam::DImg::putImageData(this=<unavailable>, data=<unavailable>, copyData=<unavailable>) + 56 at dimg.cpp:278
    frame #6: 0x00000001013d4049 libdigikamcore.4.8.0.dylib`Digikam::ImageIface::setPreview(this=0x000060000061f420, img=<unavailable>) + 297 at imageiface.cpp:451
    frame #7: 0x000000011bac3d63 digikamimageplugin_transform.so`DigikamTransformImagePlugin::PerspectiveWidget::updatePixmap(this=0x0000608001248820) + 1187 at perspectivewidget.cpp:444
    frame #8: 0x000000011bac386b digikamimageplugin_transform.so`DigikamTransformImagePlugin::PerspectiveWidget::resizeEvent(this=0x0000608001248820, e=<unavailable>) + 827 at perspectivewidget.cpp:206
    frame #9: 0x00000001042223f8 QtGui`QWidget::event(QEvent*) + 1240
    frame #10: 0x00000001041d289b QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #11: 0x00000001041d5a17 QtGui`QApplication::notify(QObject*, QEvent*) + 7543
    frame #12: 0x00000001052482a6 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #13: 0x000000010421cd04 QtGui`QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) + 372
    frame #14: 0x0000000104220f3a QtGui`QWidgetPrivate::show_helper() + 42
    frame #15: 0x0000000104221c3e QtGui`QWidget::setVisible(bool) + 958
    frame #16: 0x0000000104221346 QtGui`QWidgetPrivate::showChildren(bool) + 342
    frame #17: 0x0000000104220f5a QtGui`QWidgetPrivate::show_helper() + 74
    frame #18: 0x0000000104221c3e QtGui`QWidget::setVisible(bool) + 958
    frame #19: 0x000000010420851d QtGui`QStackedLayout::setCurrentIndex(int) + 349
    frame #20: 0x00000001013b2bff libdigikamcore.4.8.0.dylib`Digikam::EditorToolIface::loadTool(this=0x0000608000025080, tool=0x0000608001031000) + 111 at editortooliface.cpp:101
    frame #21: 0x00000001013d46a0 libdigikamcore.4.8.0.dylib`Digikam::ImagePlugin::loadTool(this=0x0000600001043ed0, tool=0x0000608001031000) + 32 at imageplugin.cpp:58
    frame #22: 0x000000010526118b QtCore`QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2363
    frame #23: 0x00000001041c9759 QtGui`QAction::activate(QAction::ActionEvent) + 233
    frame #24: 0x000000010454dff4 QtGui`QAbstractButtonPrivate::click() + 84
    frame #25: 0x000000010454edd8 QtGui`QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 88
    frame #26: 0x000000010461a78f QtGui`QToolButton::mouseReleaseEvent(QMouseEvent*) + 15
    frame #27: 0x00000001042221ec QtGui`QWidget::event(QEvent*) + 716
    frame #28: 0x000000010454ece3 QtGui`QAbstractButton::event(QEvent*) + 179
    frame #29: 0x000000010461ac3b QtGui`QToolButton::event(QEvent*) + 171
    frame #30: 0x00000001041d289b QtGui`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #31: 0x00000001041d4825 QtGui`QApplication::notify(QObject*, QEvent*) + 2949
    frame #32: 0x00000001052482a6 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 118
    frame #33: 0x00000001041d32ab QtGui`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 475
    frame #34: 0x00000001041809b2 QtGui`qt_mac_handleMouseEvent(NSEvent*, QEvent::Type, Qt::MouseButton, QWidget*, bool) + 1298
    frame #35: 0x00007fff97074e57 AppKit`-[NSWindow _reallySendEvent:isDelayedEvent:] + 648
    frame #36: 0x00007fff96a07d76 AppKit`-[NSWindow sendEvent:] + 470
    frame #37: 0x0000000104177e91 QtGui`-[QCocoaWindow sendEvent:] + 113
    frame #38: 0x00007fff96a04312 AppKit`-[NSApplication sendEvent:] + 2504
    frame #39: 0x000000010417cdd1 QtGui`-[QNSApplication sendEvent:] + 97
    frame #40: 0x00007fff9692dc68 AppKit`-[NSApplication run] + 711
    frame #41: 0x000000010418621b QtGui`QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2027
    frame #42: 0x000000010524561f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 495
    frame #43: 0x0000000105248857 QtCore`QCoreApplication::exec() + 199
    frame #44: 0x00000001002c792c digikam`main(argc=<unavailable>, argv=<unavailable>) + 7020 at main.cpp:237
    frame #45: 0x00007fff9a66f5c9 libdyld.dylib`start + 1
    frame #46: 0x00007fff9a66f5c9 libdyld.dylib`start + 1

  thread #2: tid = 0x88dc3, 0x00007fff90212232 libsystem_kernel.dylib`kevent64 + 10, queue = 'com.apple.libdispatch-manager'
    frame #0: 0x00007fff90212232 libsystem_kernel.dylib`kevent64 + 10
    frame #1: 0x00007fff93049d91 libdispatch.dylib`_dispatch_mgr_invoke + 247
    frame #2: 0x00007fff93049a6a libdispatch.dylib`_dispatch_mgr_thread + 52

  thread #3: tid = 0x88e4c, 0x00007fff902113fa libsystem_kernel.dylib`__select + 10, name = 'com.apple.CFSocket.private'
    frame #0: 0x00007fff902113fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x00007fff98da6b7a CoreFoundation`__CFSocketManager + 730
    frame #2: 0x00007fff95121268 libsystem_pthread.dylib`_pthread_body + 131
    frame #3: 0x00007fff951211e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #4: 0x00007fff9511f41d libsystem_pthread.dylib`thread_start + 13

  thread #4: tid = 0x88e4d, 0x00007fff90211136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Digikam::ScanController'
    frame #0: 0x00007fff90211136 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff95121e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
    frame #2: 0x000000010513945b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
    frame #3: 0x00000001051392bf QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
    frame #4: 0x00000001001a1101 digikam`Digikam::ScanController::run(this=0x000060800042c960) + 129 at scancontroller.cpp:725
    frame #5: 0x0000000105137db2 QtCore`QThreadPrivate::start(void*) + 418
    frame #6: 0x00007fff95121268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff951211e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff9511f41d libsystem_pthread.dylib`thread_start + 13

  thread #5: tid = 0x88e72, 0x00007fff9020c4de libsystem_kernel.dylib`mach_msg_trap + 10
    frame #0: 0x00007fff9020c4de libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff9020b64f libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x00007fff98d5aeb4 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x00007fff98d5a37b CoreFoundation`__CFRunLoopRun + 1371
    frame #4: 0x00007fff98d59bd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #5: 0x00007fff96a0066b AppKit`_NSEventThread + 137
    frame #6: 0x00007fff95121268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff951211e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff9511f41d libsystem_pthread.dylib`thread_start + 13

  thread #6: tid = 0x88ec6, 0x00007fff90211136 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'QThread'
    frame #0: 0x00007fff90211136 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fff95121e0c libsystem_pthread.dylib`_pthread_cond_wait + 693
    frame #2: 0x000000010513945b QtCore`QWaitConditionPrivate::wait(unsigned long) + 203
    frame #3: 0x00000001051392bf QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 111
    frame #4: 0x00000001012c43d0 libdigikamcore.4.8.0.dylib`Digikam::ParkingThread::run(this=0x0000608000248820) + 192 at threadmanager.cpp:119
    frame #5: 0x0000000105137db2 QtCore`QThreadPrivate::start(void*) + 418
    frame #6: 0x00007fff95121268 libsystem_pthread.dylib`_pthread_body + 131
    frame #7: 0x00007fff951211e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #8: 0x00007fff9511f41d libsystem_pthread.dylib`thread_start + 13

  thread #7: tid = 0x88ed1, 0x00007fff902113fa libsystem_kernel.dylib`__select + 10, name = 'QProcessManager'
    frame #0: 0x00007fff902113fa libsystem_kernel.dylib`__select + 10
    frame #1: 0x000000010521bf0f QtCore`QProcessManager::run() + 143
    frame #2: 0x0000000105137db2 QtCore`QThreadPrivate::start(void*) + 418
    frame #3: 0x00007fff95121268 libsystem_pthread.dylib`_pthread_body + 131
    frame #4: 0x00007fff951211e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #5: 0x00007fff9511f41d libsystem_pthread.dylib`thread_start + 13

  thread #8: tid = 0x88f0f, 0x00007fff9021221a libsystem_kernel.dylib`kevent + 10, name = 'QKqueueFileSystemWatcherEngine'
    frame #0: 0x00007fff9021221a libsystem_kernel.dylib`kevent + 10
    frame #1: 0x000000010522a77a QtCore`QKqueueFileSystemWatcherEngine::run() + 106
    frame #2: 0x0000000105137db2 QtCore`QThreadPrivate::start(void*) + 418
    frame #3: 0x00007fff95121268 libsystem_pthread.dylib`_pthread_body + 131
    frame #4: 0x00007fff951211e5 libsystem_pthread.dylib`_pthread_start + 176
    frame #5: 0x00007fff9511f41d libsystem_pthread.dylib`thread_start + 13
(lldb) detach
Process 44192 detached
(lldb) (lldb) quit

Possible duplicates by query: bug 347283, bug 347279, bug 347277, bug 347261, bug 347256.

Reported using DrKonqi
Comment 1 Detlef 2015-05-08 08:34:50 UTC
Created attachment 92490 [details]
New crash information added by DrKonqi

digikam (4.9.0) on KDE Platform 4.14.3 using Qt 4.8.6

- What I was doing when the application crashed:
1. Startin digikam from terminal. There come the following messages:

 Start-comand:   /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
digikam(27488)/phonon (KDE plugin): QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded was not provided by any .service files") 
digikam(27488)/phonon (KDE plugin): QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded was not provided by any .service files") 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
WARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::AudioOutput ( no objectName ). 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
WARNING: Phonon::createPath: Cannot connect  Phonon::MediaObject ( no objectName ) to  Phonon::VideoWidget ( no objectName ). 
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded 
digikam(27488)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "The name org.kde.kded was not provided by any .service files" 

digikam(27488)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 

2. Selecting 1 picture, starting editing-window with this picture

3. Starting perspective-plugin in editor-window. Digikam crashes:

KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly
drkonqi(27596)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "The name org.kde.kded was not provided by any .service files" 

drkonqi(27596)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 

- Unusual behavior I noticed:

The KDE-System tells: "The name org.kde.kded was not provided by any .servic files"

-- Backtrace (Reduced):
Comment 2 caulier.gilles 2015-05-10 13:41:04 UTC

*** This bug has been marked as a duplicate of bug 317689 ***
Comment 3 caulier.gilles 2015-06-22 21:34:21 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
Comment 4 Detlef 2015-06-25 11:43:19 UTC
Created attachment 93333 [details]
signature.asc

While Updating my MacPort-System the s<stem installs opencv @3.0.0_0. After this update digikam has to update the system says, but the compiling from version 4.9.0 crashes. The test, of loading die packages 10.0 or 11.0 build by the digikam organization fails also. After rebuilding the OpenCV to the earlier version gives a a compiled version of digikam.

Please correct the using of OpenCV in digikam.

Sincerly
Detlef Dürr

Detlef Dürr
Ringstr. 87
78465 Konstanz
Tel.:  +49 (0)7533 2097
Mobil: +49 (0)170 313 8670
EMail: Detlef.Duerr@t-online.de
Fingerprint: 971D BE20 D168 F253 8C77  DB09 5CCD 6F47 8312 E7DF

> Am 22.06.2015 um 23:34 schrieb Gilles Caulier <caulier.gilles@gmail.com>:
> 
> https://bugs.kde.org/show_bug.cgi?id=347289
> 
> Gilles Caulier <caulier.gilles@gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>   Version Fixed In|                            |4.12.0
>         Resolution|DUPLICATE                   |FIXED
> 
> --- Comment #3 from Gilles Caulier <caulier.gilles@gmail.com> ---
> --- 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
> 
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You reported the bug.
Comment 5 caulier.gilles 2015-06-25 12:31:57 UTC
As you can seen, the original problem with perspective is fixed in future 4.12.0 release.

About openCV 3.x support please open a new file in bugzilla.

Gilles Caulier