Bug 290991 - Digikam photo layout occasionally crashed when save is pressed
Summary: Digikam photo layout occasionally crashed when save is pressed
Status: RESOLVED UNMAINTAINED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-PhotoLayoutEditor (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-08 18:55 UTC by firebright
Modified: 2017-08-18 13:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description firebright 2012-01-08 18:55:38 UTC
Application: digikam (2.2.0)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.0-1.2-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

Clicked on the save button in the photo layout window. This only happens sometimes. 
The system is open suse 12.1.
Digikam 2.2.0
I have tried with various numbers of photos and this does not seem to influence the likelyhood of crashing.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Photo Layouts Editor (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb712e807e0 (LWP 1119))]

Thread 6 (Thread 0x7fb6f6f0c700 (LWP 1120)):
#0  0x00007fb70a3b6e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb70e0034bb in wait (time=18446744073709551615, this=0xd1c1e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xd1c088, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005d09d0 in ?? ()
#4  0x00007fb70e003025 in QThreadPrivate::start (arg=0xd1bd70) at thread/qthread_unix.cpp:331
#5  0x00007fb70a3b2f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb70c64353d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fb6f670b700 (LWP 1121)):
#0  0x00007fb70c63a423 in poll () from /lib64/libc.so.6
#1  0x00007fb7048b9a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb7048b9f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb70e114576 in QEventDispatcherGlib::processEvents (this=0x7fb6e80008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fb70e0e8a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb70e0e8c1f in QEventLoop::exec (this=0x7fb6f670ad70, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fb70e0005df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fb70e0cbaef in QInotifyFileSystemWatcherEngine::run (this=0xd02ee0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb70e003025 in QThreadPrivate::start (arg=0xd02ee0) at thread/qthread_unix.cpp:331
#9  0x00007fb70a3b2f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb70c64353d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fb6f5f0a700 (LWP 1123)):
#0  0x00007fb70a3b6e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb70e0034bb in wait (time=18446744073709551615, this=0xd492c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xe33dd8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb710723d67 in ?? () from /usr/lib64/libdigikamcore.so.2
#4  0x00007fb70e003025 in QThreadPrivate::start (arg=0xe33dc0) at thread/qthread_unix.cpp:331
#5  0x00007fb70a3b2f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb70c64353d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb6d1a41700 (LWP 1547)):
#0  0x00007fb70a3b6e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fb70e0034bb in wait (time=18446744073709551615, this=0x51bca30) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x51df548, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb70d72b554 in QFileInfoGatherer::run (this=0x51df538) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007fb70e003025 in QThreadPrivate::start (arg=0x51df538) at thread/qthread_unix.cpp:331
#5  0x00007fb70a3b2f05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb70c64353d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb6b3fff700 (LWP 1548)):
#0  0x00007fb70c63a423 in poll () from /lib64/libc.so.6
#1  0x00007fb7048b9a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb7048b9f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb70e11450f in QEventDispatcherGlib::processEvents (this=0x7fb6c405b2e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#4  0x00007fb70e0e8a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb70e0e8c1f in QEventLoop::exec (this=0x7fb6b3ffed70, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fb70e0005df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fb70e0cbaef in QInotifyFileSystemWatcherEngine::run (this=0x519a710) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fb70e003025 in QThreadPrivate::start (arg=0x519a710) at thread/qthread_unix.cpp:331
#9  0x00007fb70a3b2f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb70c64353d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb712e807e0 (LWP 1119)):
[KCrash Handler]
#6  0x00007fb70d44e0ee in QCUPSSupport::printerOption (this=0x519eca0, key=...) at painting/qcups.cpp:251
#7  0x00007fb70d6dd495 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x51d62b0, index=0) at dialogs/qprintdialog_unix.cpp:830
#8  0x00007fb70d6de0ba in QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate (this=0x51d62b0, p=<optimized out>) at dialogs/qprintdialog_unix.cpp:737
#9  0x00007fb70d6de3ab in QUnixPrintWidget::QUnixPrintWidget (this=0x51a4140, printer=0x0, parent=<optimized out>) at dialogs/qprintdialog_unix.cpp:1062
#10 0x00007fb70d6de42e in QPrintDialogPrivate::init (this=<optimized out>) at dialogs/qprintdialog_unix.cpp:386
#11 0x00007fb70d6de978 in QPrintDialog::QPrintDialog (this=0x41c4920, printer=0x4627020, parent=0x4ff21f0) at dialogs/qprintdialog_unix.cpp:617
#12 0x00007fb70d73b63f in QPrintPreviewDialogPrivate::_q_print (this=0x517fed0) at dialogs/qprintpreviewdialog.cpp:598
#13 0x00007fb70d73bf1d in QPrintPreviewDialog::qt_metacall (this=0x4ff21f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc313dee0) at .moc/release-shared/moc_qprintpreviewdialog.cpp:97
#14 0x00007fb70e0fc59a in QMetaObject::activate (sender=0x5162120, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc313dee0) at kernel/qobject.cpp:3287
#15 0x00007fb70d23a622 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#16 0x00007fb70d23a80f in QAction::activate (this=0x5162120, event=<optimized out>) at kernel/qaction.cpp:1257
#17 0x00007fb70d5f48aa in QAbstractButtonPrivate::click (this=0x51aa910) at widgets/qabstractbutton.cpp:528
#18 0x00007fb70d5f4b5c in QAbstractButton::mouseReleaseEvent (this=0x51aa8e0, e=0x7fffc313e7c0) at widgets/qabstractbutton.cpp:1121
#19 0x00007fb70d6b107a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:721
#20 0x00007fb70d291306 in QWidget::event (this=0x51aa8e0, event=0x7fffc313e7c0) at kernel/qwidget.cpp:8295
#21 0x00007fb70d240c34 in notify_helper (e=0x7fffc313e7c0, receiver=0x51aa8e0, this=0xb7c200) at kernel/qapplication.cpp:4481
#22 QApplicationPrivate::notify_helper (this=0xb7c200, receiver=0x51aa8e0, e=0x7fffc313e7c0) at kernel/qapplication.cpp:4453
#23 0x00007fb70d2463bb in QApplication::notify (this=<optimized out>, receiver=0x51aa8e0, e=0x7fffc313e7c0) at kernel/qapplication.cpp:4042
#24 0x00007fb70eb3ae36 in KApplication::notify (this=0x7fffc3140fc0, receiver=0x51aa8e0, event=0x7fffc313e7c0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#25 0x00007fb70e0e981c in QCoreApplication::notifyInternal (this=0x7fffc3140fc0, receiver=0x51aa8e0, event=0x7fffc313e7c0) at kernel/qcoreapplication.cpp:787
#26 0x00007fb70d241c02 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#27 QApplicationPrivate::sendMouseEvent (receiver=0x51aa8e0, event=0x7fffc313e7c0, alienWidget=0x51aa8e0, nativeWidget=0x4ff21f0, buttonDown=0x51aa8e0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#28 0x00007fb70d2bdbc5 in QETWidget::translateMouseEvent (this=0x4ff21f0, event=<optimized out>) at kernel/qapplication_x11.cpp:4475
#29 0x00007fb70d2bca9a in QApplication::x11ProcessEvent (this=0x7fffc3140fc0, event=0x7fffc313f080) at kernel/qapplication_x11.cpp:3601
#30 0x00007fb70d2e4312 in x11EventSourceDispatch (s=0xb7f470, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007fb7048b958d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fb7048b9d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007fb7048b9f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007fb70e11450f in QEventDispatcherGlib::processEvents (this=0xb21140, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007fb70d2e3f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fb70e0e8a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fb70e0e8c1f in QEventLoop::exec (this=0x7fffc313f450, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fb70d6f2f86 in QDialog::exec (this=0x4ff21f0) at dialogs/qdialog.cpp:552
#39 0x00007fb6d457274d in ?? () from /usr/lib64/kde4/kipiplugin_photolayoutseditor.so
#40 0x00007fb6d4574dce in ?? () from /usr/lib64/kde4/kipiplugin_photolayoutseditor.so
#41 0x00007fb70e0fc59a in QMetaObject::activate (sender=0x33909a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc313f5e0) at kernel/qobject.cpp:3287
#42 0x00007fb70d23a622 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#43 0x00007fb70d23a80f in QAction::activate (this=0x33909a0, event=<optimized out>) at kernel/qaction.cpp:1257
#44 0x00007fb70d670a09 in QMenuPrivate::activateCausedStack (this=0xc573a0, causedStack=..., action=0x33909a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#45 0x00007fb70d676642 in QMenuPrivate::activateAction (this=0xc573a0, action=0x33909a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#46 0x00007fb70ebfcd40 in KMenu::mouseReleaseEvent (this=0x45bff60, e=0x7fffc31401b0) at /usr/src/debug/kdelibs-4.7.2/kdeui/widgets/kmenu.cpp:464
#47 0x00007fb70d291306 in QWidget::event (this=0x45bff60, event=0x7fffc31401b0) at kernel/qwidget.cpp:8295
#48 0x00007fb70d677bab in QMenu::event (this=0x45bff60, e=0x7fffc31401b0) at widgets/qmenu.cpp:2405
#49 0x00007fb70d240c34 in notify_helper (e=0x7fffc31401b0, receiver=0x45bff60, this=0xb7c200) at kernel/qapplication.cpp:4481
#50 QApplicationPrivate::notify_helper (this=0xb7c200, receiver=0x45bff60, e=0x7fffc31401b0) at kernel/qapplication.cpp:4453
#51 0x00007fb70d2463bb in QApplication::notify (this=<optimized out>, receiver=0x45bff60, e=0x7fffc31401b0) at kernel/qapplication.cpp:4042
#52 0x00007fb70eb3ae36 in KApplication::notify (this=0x7fffc3140fc0, receiver=0x45bff60, event=0x7fffc31401b0) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#53 0x00007fb70e0e981c in QCoreApplication::notifyInternal (this=0x7fffc3140fc0, receiver=0x45bff60, event=0x7fffc31401b0) at kernel/qcoreapplication.cpp:787
#54 0x00007fb70d241c02 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#55 QApplicationPrivate::sendMouseEvent (receiver=0x45bff60, event=0x7fffc31401b0, alienWidget=0x0, nativeWidget=0x45bff60, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3141
#56 0x00007fb70d2be271 in QETWidget::translateMouseEvent (this=0x45bff60, event=<optimized out>) at kernel/qapplication_x11.cpp:4409
#57 0x00007fb70d2bca9a in QApplication::x11ProcessEvent (this=0x7fffc3140fc0, event=0x7fffc3140a70) at kernel/qapplication_x11.cpp:3601
#58 0x00007fb70d2e4312 in x11EventSourceDispatch (s=0xb7f470, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0x00007fb7048b958d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#60 0x00007fb7048b9d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#61 0x00007fb7048b9f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#62 0x00007fb70e11450f in QEventDispatcherGlib::processEvents (this=0xb21140, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#63 0x00007fb70d2e3f9e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007fb70e0e8a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007fb70e0e8c1f in QEventLoop::exec (this=0x7fffc3140e40, flags=...) at kernel/qeventloop.cpp:201
#66 0x00007fb70e0ecde7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#67 0x000000000049407d in ?? ()
#68 0x00007fb70c58b23d in __libc_start_main () from /lib64/libc.so.6
#69 0x0000000000495855 in _start ()

Possible duplicates by query: bug 242472, bug 233890.

Reported using DrKonqi
Comment 1 Łukasz Spas 2012-01-08 20:13:42 UTC
(In reply to comment #0)

> Thread 1 (Thread 0x7fb712e807e0 (LWP 1119)):
> [KCrash Handler]
> #6  0x00007fb70d44e0ee in QCUPSSupport::printerOption (this=0x519eca0, key=...)
at painting/qcups.cpp:251

Are you sure it's happens when you click on "Save"? Not "Print"?
Comment 2 firebright 2012-01-09 20:52:57 UTC
On 08/01/12 20:13, Łukasz Spas  wrote:
> https://bugs.kde.org/show_bug.cgi?id=290991
>
>
> Łukasz Spas<lukasz.spas@gmail.com>  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |lukasz.spas@gmail.com
>
>
>
>
> --- Comment #1 from Łukasz Spas<lukasz spas gmail com>   2012-01-08 20:13:42 ---
> (In reply to comment #0)
>
>> Thread 1 (Thread 0x7fb712e807e0 (LWP 1119)):
>> [KCrash Handler]
>> #6  0x00007fb70d44e0ee in QCUPSSupport::printerOption (this=0x519eca0, key=...)
> at painting/qcups.cpp:251
>
> Are you sure it's happens when you click on "Save"? Not "Print"?
>
It could be, I asked it to print first, then clicked save and the crash 
seemed coincident with pressing save. However maybe it crashed before 
the save press was registered?
Comment 3 caulier.gilles 2012-06-22 08:56:45 UTC
Official Kipi-plugins 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 4 caulier.gilles 2014-05-16 07:35:11 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 5 caulier.gilles 2014-12-10 17:57:33 UTC
Kipi-plugins 4.5.0 have been released.

Crash still reproducible with this release ?

Gilles Caulier
Comment 6 caulier.gilles 2015-05-10 08:52:11 UTC
Reproducible with last kipi-plugins 4.9.0 ?

Gilles Caulier
Comment 7 caulier.gilles 2015-06-26 13:47:03 UTC
New Kipi-plugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 8 caulier.gilles 2015-08-23 14:31:46 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.