Bug 317689 - Crash on selecting perspective tool (ResizeEvent relevant)
Summary: Crash on selecting perspective tool (ResizeEvent relevant)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Perspective (show other bugs)
Version: 4.9.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 17:41 UTC by Daniel Wagenaar
Modified: 2016-06-30 11:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Wagenaar 2013-04-01 17:41:05 UTC
Application: digikam (3.1.0)
KDE Platform Version: 4.9.5 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Linux Mint 14 Nadia

-- Information about the crash:
- What I was doing when the application crashed:
I clicked the "perspective correction tool" button with a CR2 image in the light table.
Digikam compiled from sources, all dependencies from the Mint 14 distribution.
I'd be happy to provide whatever addition information may be of use.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd623b0aa00 (LWP 10323))]

Thread 4 (Thread 0x7fd60065d700 (LWP 10325)):
#0  0x00007fd618771d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fd61e13a04b in wait (time=18446744073709551615, this=0x13ece50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x13ecd48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005f6de1 in Digikam::ScanController::run (this=0x13ecae0) at /tmp/digikam-3.1.0/core/digikam/database/scancontroller.cpp:705
#4  0x00007fd61e139aec in QThreadPrivate::start (arg=0x13ecae0) at thread/qthread_unix.cpp:338
#5  0x00007fd61876de9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fd61d362cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd5ffe5c700 (LWP 10326)):
#0  0x00007fd61d357303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fd615f34d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd615f34ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd61e264c16 in QEventDispatcherGlib::processEvents (this=0x7fd5f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd61e2352bf in QEventLoop::processEvents (this=this@entry=0x7fd5ffe5bb50, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd61e235548 in QEventLoop::exec (this=0x7fd5ffe5bb50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd61e136b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd61e2159af in QInotifyFileSystemWatcherEngine::run (this=0x13ef190) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd61e139aec in QThreadPrivate::start (arg=0x13ef190) at thread/qthread_unix.cpp:338
#9  0x00007fd61876de9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007fd61d362cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd5ff65b700 (LWP 10328)):
#0  0x00007fd618771d84 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fd61e13a04b in wait (time=18446744073709551615, this=0x14e8de0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x14c26a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd6212998f5 in Digikam::ParkingThread::run (this=0x14c2690) at /tmp/digikam-3.1.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fd61e139aec in QThreadPrivate::start (arg=0x14c2690) at thread/qthread_unix.cpp:338
#5  0x00007fd61876de9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fd61d362cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd623b0aa00 (LWP 10323)):
[KCrash Handler]
#5  0x00007fd5c2c3a9f8 in Digikam::DImgInterface::origWidth() const () from /usr/lib/libdigikamcore.so.2
#6  0x00007fd5c2c4a885 in Digikam::ImageIface::ImageIface(int, int) () from /usr/lib/libdigikamcore.so.2
#7  0x00007fd5d8156db4 in ?? () from /usr/lib/kde4/digikamimageplugin_transform.so
#8  0x00007fd5d8154ad8 in ?? () from /usr/lib/kde4/digikamimageplugin_transform.so
#9  0x00007fd5d8146c99 in ?? () from /usr/lib/kde4/digikamimageplugin_transform.so
#10 0x00007fd5d8145351 in ?? () from /usr/lib/kde4/digikamimageplugin_transform.so
#11 0x00007fd61e24bf5f in QMetaObject::activate (sender=0x21140b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc300f100) at kernel/qobject.cpp:3547
#12 0x00007fd61ec11a32 in QAction::triggered (this=this@entry=0x21140b0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#13 0x00007fd61ec11c20 in QAction::activate (this=0x21140b0, event=<optimized out>) at kernel/qaction.cpp:1257
#14 0x00007fd62136f297 in QAction::trigger (this=0x21140b0) at /usr/include/qt4/QtGui/qaction.h:218
#15 0x00007fd62136eff9 in Digikam::ActionItemModel::trigger (this=0x3070710, index=...) at /tmp/digikam-3.1.0/core/libs/models/categorizeditemmodel.cpp:266
#16 0x00007fd62136e25f in Digikam::ActionItemModel::qt_static_metacall (_o=0x3070710, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffc300f300) at /tmp/digikam-3.1.0/build/core/digikam/categorizeditemmodel.moc:117
#17 0x00007fd61e24bf5f in QMetaObject::activate (sender=0x307c3d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc300f300) at kernel/qobject.cpp:3547
#18 0x00007fd61f1233b5 in QAbstractItemView::clicked (this=this@entry=0x307c3d0, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:348
#19 0x00007fd61f123742 in QAbstractItemView::mouseReleaseEvent (this=0x307c3d0, event=0x7fffc3010190) at itemviews/qabstractitemview.cpp:1814
#20 0x00007fd61f140d7e in QListView::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at itemviews/qlistview.cpp:799
#21 0x00007fd61f8f736b in KCategorizedView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007fd61ec67850 in QWidget::event (this=0x307c3d0, event=0x7fffc3010190) at kernel/qwidget.cpp:8371
#23 0x00007fd61f016b66 in QFrame::event (this=0x307c3d0, e=0x7fffc3010190) at widgets/qframe.cpp:557
#24 0x00007fd61f12259b in QAbstractItemView::viewportEvent (this=0x307c3d0, event=0x7fffc3010190) at itemviews/qabstractitemview.cpp:1644
#25 0x00007fd61e2366d6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x3071c50, event=0x7fffc3010190) at kernel/qcoreapplication.cpp:1025
#26 0x00007fd61ec17e6c in QApplicationPrivate::notify_helper (this=this@entry=0x12889e0, receiver=receiver@entry=0x3071c50, e=e@entry=0x7fffc3010190) at kernel/qapplication.cpp:4558
#27 0x00007fd61ec1cb6b in QApplication::notify (this=<optimized out>, receiver=0x3071c50, e=0x7fffc3010190) at kernel/qapplication.cpp:4105
#28 0x00007fd61f9201f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#29 0x00007fd61e23656e in QCoreApplication::notifyInternal (this=0x7fffc3012980, receiver=0x3071c50, event=0x7fffc3010190) at kernel/qcoreapplication.cpp:915
#30 0x00007fd61ec18cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QApplicationPrivate::sendMouseEvent (receiver=0x3071c50, event=0x7fffc3010190, alienWidget=0x3071c50, nativeWidget=0x307ec30, buttonDown=0x7fd61f6f4308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#32 0x00007fd61ec9641c in QETWidget::translateMouseEvent (this=this@entry=0x307ec30, event=event@entry=0x7fffc3010910) at kernel/qapplication_x11.cpp:4556
#33 0x00007fd61ec9544f in QApplication::x11ProcessEvent (this=0x7fffc3012980, event=0x7fffc3010910) at kernel/qapplication_x11.cpp:3737
#34 0x00007fd61ecbcfa2 in x11EventSourceDispatch (s=0x12859b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007fd615f34ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fd615f34de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fd615f34ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fd61e264bf6 in QEventDispatcherGlib::processEvents (this=0x12189e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#39 0x00007fd61ecbcc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007fd61e2352bf in QEventLoop::processEvents (this=this@entry=0x7fffc3010cf0, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fd61e235548 in QEventLoop::exec (this=0x7fffc3010cf0, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007fd61f054395 in QMenu::exec (this=0x307ec30, p=..., action=0x0) at widgets/qmenu.cpp:2113
#43 0x00007fd61f092776 in QToolButtonPrivate::popupTimerDone (this=0x3037480) at widgets/qtoolbutton.cpp:952
#44 0x00007fd61f092e01 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qtoolbutton.cpp:91
#45 QToolButton::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qtoolbutton.cpp:81
#46 0x00007fd61e24bf5f in QMetaObject::activate (sender=0x30373f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#47 0x00007fd61efd5931 in QAbstractButtonPrivate::emitPressed (this=this@entry=0x3037480) at widgets/qabstractbutton.cpp:562
#48 0x00007fd61efd5afc in QAbstractButton::mousePressEvent (this=0x30373f0, e=0x7fffc3011850) at widgets/qabstractbutton.cpp:1098
#49 0x00007fd61f093071 in QToolButton::mousePressEvent (this=0x30373f0, e=0x7fffc3011850) at widgets/qtoolbutton.cpp:709
#50 0x00007fd61ec67cf3 in QWidget::event (this=0x30373f0, event=0x7fffc3011850) at kernel/qwidget.cpp:8367
#51 0x00007fd61ec17e9c in QApplicationPrivate::notify_helper (this=this@entry=0x12889e0, receiver=receiver@entry=0x30373f0, e=e@entry=0x7fffc3011850) at kernel/qapplication.cpp:4562
#52 0x00007fd61ec1cb6b in QApplication::notify (this=<optimized out>, receiver=0x30373f0, e=0x7fffc3011850) at kernel/qapplication.cpp:4105
#53 0x00007fd61f9201f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#54 0x00007fd61e23656e in QCoreApplication::notifyInternal (this=0x7fffc3012980, receiver=0x30373f0, event=0x7fffc3011850) at kernel/qcoreapplication.cpp:915
#55 0x00007fd61ec18cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#56 QApplicationPrivate::sendMouseEvent (receiver=0x30373f0, event=0x7fffc3011850, alienWidget=0x30373f0, nativeWidget=0x302ebb0, buttonDown=0x7fd61f6f4308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#57 0x00007fd61ec96554 in QETWidget::translateMouseEvent (this=this@entry=0x302ebb0, event=event@entry=0x7fffc3011fd0) at kernel/qapplication_x11.cpp:4622
#58 0x00007fd61ec9544f in QApplication::x11ProcessEvent (this=0x7fffc3012980, event=0x7fffc3011fd0) at kernel/qapplication_x11.cpp:3737
#59 0x00007fd61ecbcfa2 in x11EventSourceDispatch (s=0x12859b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007fd615f34ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007fd615f34de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007fd615f34ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fd61e264bf6 in QEventDispatcherGlib::processEvents (this=0x12189e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#64 0x00007fd61ecbcc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fd61e2352bf in QEventLoop::processEvents (this=this@entry=0x7fffc30123a0, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007fd61e235548 in QEventLoop::exec (this=0x7fffc30123a0, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007fd61e23a708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#68 0x00000000006dc6da in main (argc=1, argv=0x7fffc3012b68) at /tmp/digikam-3.1.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 caulier.gilles 2013-12-22 09:43:14 UTC
Daniel,

Crash still reproducible with last digiKam 3.5.0 ?

Gilles Caulier
Comment 2 caulier.gilles 2014-05-16 07:33:28 UTC
digiKam 4.0.0 is out :

http://www.digikam.org/node/713

Please check if this entry still valid with this new version.

Thanks in advance

Gilles Caulier
Comment 3 caulier.gilles 2014-09-02 13:35:02 UTC
Daniel,

This file still valid using last digiKam 4.2.0 ?

Gilles Caulier
Comment 4 caulier.gilles 2014-12-10 17:55:10 UTC
digiKam 4.5.0 have been released.

Crash still reproducible with this release ?

Gilles Caulier
Comment 5 caulier.gilles 2015-05-10 13:41:04 UTC
*** Bug 347289 has been marked as a duplicate of this bug. ***
Comment 6 caulier.gilles 2015-05-17 08:14:06 UTC
Daniel,

It still reproducible using last digiKam 4.10.0 ?

Gilles Caulier
Comment 7 Detlef 2015-05-23 10:43:43 UTC
Dear mr. Caulier,

you asked me, if the crash also exit using digikam 4.10. I can’t answer this question, because there is no digikam 4.10 in the macport tree. So i can’t install the new version of digikam.

Will kith new version coming soon?

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 17.05.2015 um 10:14 schrieb Gilles Caulier <caulier.gilles@gmail.com>:
> 
> https://bugs.kde.org/show_bug.cgi?id=317689
> 
> Gilles Caulier <caulier.gilles@gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|UNCONFIRMED                 |RESOLVED
>         Resolution|---                         |WAITINGFORINFO
> 
> --- Comment #6 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Daniel,
> 
> It still reproducible using last digiKam 4.10.0 ?
> 
> Gilles Caulier
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 8 caulier.gilles 2015-05-23 11:45:16 UTC
Yes, macports still in 4.9.0. 4.10.0 is in review....

If you have installed 4.9.0, do you reproduce the problem ?


Gilles Caulier
Comment 9 Detlef 2015-05-23 12:19:28 UTC
Yes, always. I have send my Bug-Message from this version.

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 23.05.2015 um 13:45 schrieb Gilles Caulier <caulier.gilles@gmail.com>:
> 
> https://bugs.kde.org/show_bug.cgi?id=317689
> 
> --- Comment #8 from Gilles Caulier <caulier.gilles@gmail.com> ---
> Yes, macports still in 4.9.0. 4.10.0 is in review....
> 
> If you have installed 4.9.0, do you reproduce the problem ?
> 
> 
> Gilles Caulier
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 10 caulier.gilles 2015-06-21 12:44:24 UTC
Maik,

A video demo of the crash under OSX 10.9 with digiKam 4.11.0 is visible here :

http://youtu.be/YG0j8s6AV7E

This is the same problem than bug #320382

Gilles Caulier
Comment 11 Maik Qualmann 2015-06-22 17:26:39 UTC
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 320382, 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 12 caulier.gilles 2015-06-22 19:14:16 UTC
Git commit 9f4b909f94f7e4623ad8b434637b2c3d6c09934d by Gilles Caulier.
Committed on 22/06/2015 at 19:12.
Pushed by cgilles into branch 'frameworks'.

backport commit #a8b7a0713609fc752bbd71830f72ae01bd8dbb67 from git/master to frameworks branch
Related: bug 269682, bug 320382, bug 340389

M  +4    -1    utilities/imageeditor/plugin/imageiface.cpp

http://commits.kde.org/digikam/9f4b909f94f7e4623ad8b434637b2c3d6c09934d