Bug 312387

Summary: Crashed when adding effects with photo layout editor
Product: [Applications] digikam Reporter: serjsb
Component: Plugin-Generic-PhotoLayoutEditorAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description serjsb 2012-12-30 16:16:27 UTC
Application: gwenview (2.8.0)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
Gwenviev crashed when adding effects with image effects editor (Modules-Service-Create photo layouts)

The crash can be reproduced every time.

-- Backtrace:
Application: Photo Layouts Editor (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f19acb577c0 (LWP 11519))]

Thread 4 (Thread 0x7f1998057700 (LWP 11521)):
#0  0x00007f19a64db05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f1990000a60) at pthread_mutex_unlock.c:290
#2  0x00007f19a5e4ce51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19a5e0f672 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f19a5e0fcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f19a5e0fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f19abac6c16 in QEventDispatcherGlib::processEvents (this=0x7f19900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f19aba972bf in QEventLoop::processEvents (this=this@entry=0x7f1998056d90, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f19aba97548 in QEventLoop::exec (this=0x7f1998056d90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f19ab998b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f19aba779af in QInotifyFileSystemWatcherEngine::run (this=0xdf5c90) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f19ab99baec in QThreadPrivate::start (arg=0xdf5c90) at thread/qthread_unix.cpp:338
#12 0x00007f19a64d7e9a in start_thread (arg=0x7f1998057700) at pthread_create.c:308
#13 0x00007f19a969bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f199705f700 (LWP 11522)):
#0  0x00007f19a64db05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f1988000a60) at pthread_mutex_unlock.c:290
#2  0x00007f19a5e4ce51 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f19a5e0f672 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f19a5e0fcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f19a5e0fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f19abac6c16 in QEventDispatcherGlib::processEvents (this=0x7f19880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f19aba972bf in QEventLoop::processEvents (this=this@entry=0x7f199705ed90, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f19aba97548 in QEventLoop::exec (this=0x7f199705ed90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f19ab998b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f19aba779af in QInotifyFileSystemWatcherEngine::run (this=0x1116c90) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f19ab99baec in QThreadPrivate::start (arg=0x1116c90) at thread/qthread_unix.cpp:338
#12 0x00007f19a64d7e9a in start_thread (arg=0x7f199705f700) at pthread_create.c:308
#13 0x00007f19a969bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1994bef700 (LWP 11529)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f19ab99c04b in wait (time=18446744073709551615, this=0xd2ca70) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xc3b768, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f19ac5aba06 in ?? () from /usr/lib/libgwenviewlib.so.4
#4  0x00007f19ab99baec in QThreadPrivate::start (arg=0xc3b750) at thread/qthread_unix.cpp:338
#5  0x00007f19a64d7e9a in start_thread (arg=0x7f1994bef700) at pthread_create.c:308
#6  0x00007f19a969bcbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f19acb577c0 (LWP 11519)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f19aa80f6ad in show (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:494
#8  QAbstractItemView::updateEditorGeometries (this=0x24b50b0) at itemviews/qabstractitemview.cpp:2618
#9  0x00007f19aa802d2d in QAbstractItemView::updateGeometries (this=0x24b50b0) at itemviews/qabstractitemview.cpp:2650
#10 0x00007f19aa82561a in QListView::updateGeometries (this=0x24b50b0) at itemviews/qlistview.cpp:1489
#11 0x00007f19aa806a39 in QAbstractItemView::doItemsLayout (this=0x24b50b0) at itemviews/qabstractitemview.cpp:1164
#12 0x00007f19aa824b53 in QListView::doItemsLayout (this=0x24b50b0) at itemviews/qlistview.cpp:1468
#13 0x00007f19aa82c400 in executePostedLayout (this=0x24d74a0) at ../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#14 executePostedLayout (this=0x24d74a0) at itemviews/qlistview.cpp:1218
#15 rectForIndex (index=..., this=0x24d74a0) at ../../include/QtGui/private/../../../src/gui/itemviews/qlistview_p.h:345
#16 rectForIndex (index=..., this=0x24d74a0) at itemviews/qlistview.cpp:1218
#17 QListView::rectForIndex (this=<optimized out>, index=...) at itemviews/qlistview.cpp:1220
#18 0x00007f19aa82c52e in QListView::visualRect (this=<optimized out>, index=...) at itemviews/qlistview.cpp:561
#19 0x00007f19aa80f67d in QAbstractItemView::updateEditorGeometries (this=0x24b50b0) at itemviews/qabstractitemview.cpp:2616
#20 0x00007f19abaadf5f in QMetaObject::activate (sender=0x159e7f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4b73d650) at kernel/qobject.cpp:3547
#21 0x00007f19abaf7be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#22 0x00007f19aba92e6a in QAbstractItemModel::endInsertRows (this=0x159e7f0) at kernel/qabstractitemmodel.cpp:2433
#23 0x00007f1970a394a6 in ?? () from /usr/lib/kde4/kipiplugin_photolayoutseditor.so
#24 0x00007f19709ecad0 in ?? () from /usr/lib/kde4/kipiplugin_photolayoutseditor.so
#25 0x00007f1970a69412 in ?? () from /usr/lib/kde4/kipiplugin_photolayoutseditor.so
#26 0x00007f1970a68118 in ?? () from /usr/lib/kde4/kipiplugin_photolayoutseditor.so
#27 0x00007f19abaadf5f in QMetaObject::activate (sender=0x1d4d710, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4b73d990) at kernel/qobject.cpp:3547
#28 0x00007f19aa966422 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#29 0x00007f19aa6b9d2e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x24c2ec0) at widgets/qabstractbutton.cpp:548
#30 0x00007f19aa6ba560 in QAbstractButtonPrivate::click (this=this@entry=0x24c2ec0) at widgets/qabstractbutton.cpp:541
#31 0x00007f19aa6ba7cc in QAbstractButton::mouseReleaseEvent (this=0x1d4d710, e=0x7fff4b73e230) at widgets/qabstractbutton.cpp:1123
#32 0x00007f19aa34b850 in QWidget::event (this=0x1d4d710, event=0x7fff4b73e230) at kernel/qwidget.cpp:8371
#33 0x00007f19aa2fbe9c in QApplicationPrivate::notify_helper (this=this@entry=0xbca8b0, receiver=receiver@entry=0x1d4d710, e=e@entry=0x7fff4b73e230) at kernel/qapplication.cpp:4562
#34 0x00007f19aa300b6b in QApplication::notify (this=<optimized out>, receiver=0x1d4d710, e=0x7fff4b73e230) at kernel/qapplication.cpp:4105
#35 0x00007f19ab0081d6 in KApplication::notify (this=0x7fff4b73eea0, receiver=0x1d4d710, event=0x7fff4b73e230) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007f19aba9856e in QCoreApplication::notifyInternal (this=0x7fff4b73eea0, receiver=0x1d4d710, event=0x7fff4b73e230) at kernel/qcoreapplication.cpp:915
#37 0x00007f19aa2fccd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QApplicationPrivate::sendMouseEvent (receiver=0x1d4d710, event=0x7fff4b73e230, alienWidget=0x1d4d710, nativeWidget=0x16e0290, buttonDown=0x7f19aadd8308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#39 0x00007f19aa37a554 in QETWidget::translateMouseEvent (this=this@entry=0x16e0290, event=event@entry=0x7fff4b73e9b0) at kernel/qapplication_x11.cpp:4622
#40 0x00007f19aa37944f in QApplication::x11ProcessEvent (this=0x7fff4b73eea0, event=0x7fff4b73e9b0) at kernel/qapplication_x11.cpp:3737
#41 0x00007f19aa3a0fa2 in x11EventSourceDispatch (s=0xbc98e0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007f19a5e0fab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f19a5e0fde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f19a5e0fea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f19abac6bf6 in QEventDispatcherGlib::processEvents (this=0xb91770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f19aa3a0c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f19aba972bf in QEventLoop::processEvents (this=this@entry=0x7fff4b73ed80, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f19aba97548 in QEventLoop::exec (this=0x7fff4b73ed80, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f19aba9c708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#50 0x0000000000427372 in ?? ()
#51 0x00007f19a95c976d in __libc_start_main (main=0x426ee0, argc=6, ubp_av=0x7fff4b73f008, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4b73eff8) at libc-start.c:226
#52 0x0000000000427631 in _start ()

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-12-30 18:37:48 UTC
Please install debug symbols for kipipugins and provide a better backtrace

#23 0x00007f1970a394a6 in ?? () from /usr/lib/kde4/kipiplugin_photolayoutseditor.so
Comment 2 Jekyll Wu 2013-04-05 09:46:34 UTC
See comment #1
Comment 3 caulier.gilles 2015-06-28 10:01:17 UTC
New Kipiplugins 4.11.0 is available :

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

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 4 caulier.gilles 2015-08-23 14:31:26 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.