Bug 314248

Summary: Digikamcrashing when exporting pictures to html
Product: [Applications] digikam Reporter: Annemette <kubunta>
Component: Plugin-Generic-HTMLGalleryAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, tarzanjr2
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Annemette 2013-02-01 12:37:36 UTC
Application: digikam (2.8.0)
KDE Platform Version: 4.9.4
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: after tagging ca. 40 new photos with a new tag, I exported them to html using one of the templates ("floating frames" as far as I remember) as I have done 10 times before. But this time Digikam crashed -  ???

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 0x7f41c8ccea00 (LWP 3364))]

Thread 5 (Thread 0x7f41a574b700 (LWP 3365)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f41c2e4804b in wait (time=18446744073709551615, this=0x179ba20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x179b918, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005eea33 in Digikam::ScanController::run() ()
#4  0x00007f41c2e47aec in QThreadPrivate::start (arg=0x179b6b0) at thread/qthread_unix.cpp:338
#5  0x00007f41bd94ee9a in start_thread (arg=0x7f41a574b700) at pthread_create.c:308
#6  0x00007f41c2070cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f41a4f4a700 (LWP 3366)):
#0  0x00007f41c2065303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f41bb372d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f41bb372ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f41c2f72c16 in QEventDispatcherGlib::processEvents (this=0x7f41980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f41c2f432bf in QEventLoop::processEvents (this=this@entry=0x7f41a4f49b50, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f41c2f43548 in QEventLoop::exec (this=0x7f41a4f49b50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f41c2e44b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f41c2f239af in QInotifyFileSystemWatcherEngine::run (this=0x179ed30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f41c2e47aec in QThreadPrivate::start (arg=0x179ed30) at thread/qthread_unix.cpp:338
#9  0x00007f41bd94ee9a in start_thread (arg=0x7f41a4f4a700) at pthread_create.c:308
#10 0x00007f41c2070cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f419ffff700 (LWP 3374)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f41c2e4804b in wait (time=18446744073709551615, this=0x1a110b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1a49b88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f41c62a7a47 in Digikam::ParkingThread::run() () from /usr/lib/libdigikamcore.so.2
#4  0x00007f41c2e47aec in QThreadPrivate::start (arg=0x1a49b70) at thread/qthread_unix.cpp:338
#5  0x00007f41bd94ee9a in start_thread (arg=0x7f419ffff700) at pthread_create.c:308
#6  0x00007f41c2070cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f419ec06700 (LWP 3375)):
#0  0x00007f41c2065303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f41bb372d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f41bb372ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f41c2f72c16 in QEventDispatcherGlib::processEvents (this=0x7f418c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f41c2f432bf in QEventLoop::processEvents (this=this@entry=0x7f419ec05b50, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f41c2f43548 in QEventLoop::exec (this=0x7f419ec05b50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f41c2e44b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f41c2f239af in QInotifyFileSystemWatcherEngine::run (this=0x200e910) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f41c2e47aec in QThreadPrivate::start (arg=0x200e910) at thread/qthread_unix.cpp:338
#9  0x00007f41bd94ee9a in start_thread (arg=0x7f419ec06700) at pthread_create.c:308
#10 0x00007f41c2070cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f41c8ccea00 (LWP 3364)):
[KCrash Handler]
#6  0x00007f41851c046d in QBasicAtomicInt::ref() () from /usr/lib/kde4/kipiplugin_htmlexport.so
#7  0x00007f41851c0566 in QString::QString(QString const&) () from /usr/lib/kde4/kipiplugin_htmlexport.so
#8  0x00007f41851cf9bb in KIPIHTMLExport::ListThemeParameter::valueFromWidget(QWidget*) const () from /usr/lib/kde4/kipiplugin_htmlexport.so
#9  0x00007f41851d3d68 in KIPIHTMLExport::Wizard::accept() () from /usr/lib/kde4/kipiplugin_htmlexport.so
#10 0x00007f41c2f59f5f in QMetaObject::activate (sender=0x36f0390, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#11 0x00007f41c458ee16 in KDialog::slotButtonClicked (this=0x36f0390, button=4096) at ../../kdeui/dialogs/kdialog.cpp:900
#12 0x00007f41c458f414 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kdialog.moc:167
#13 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./kdialog.moc:127
#14 0x00007f41c2f59f5f in QMetaObject::activate (sender=0x36f0620, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb23db8f0) at kernel/qobject.cpp:3547
#15 0x00007f41c2f5fe2e in QSignalMapper::mapped (this=this@entry=0x36f0620, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:115
#16 0x00007f41c2f60035 in QSignalMapper::map (this=0x36f0620, sender=0x39a0b80) at kernel/qsignalmapper.cpp:266
#17 0x00007f41c2f59f5f in QMetaObject::activate (sender=0x39a0b80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb23dba80) at kernel/qobject.cpp:3547
#18 0x00007f41c3f90422 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#19 0x00007f41c3ce3d2e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x18a2b20) at widgets/qabstractbutton.cpp:548
#20 0x00007f41c3ce4560 in QAbstractButtonPrivate::click (this=this@entry=0x18a2b20) at widgets/qabstractbutton.cpp:541
#21 0x00007f41c3ce47cc in QAbstractButton::mouseReleaseEvent (this=0x39a0b80, e=0x7fffb23dc320) at widgets/qabstractbutton.cpp:1123
#22 0x00007f41c3975850 in QWidget::event (this=0x39a0b80, event=0x7fffb23dc320) at kernel/qwidget.cpp:8371
#23 0x00007f41c3925e9c in QApplicationPrivate::notify_helper (this=this@entry=0x15f69a0, receiver=receiver@entry=0x39a0b80, e=e@entry=0x7fffb23dc320) at kernel/qapplication.cpp:4562
#24 0x00007f41c392ab6b in QApplication::notify (this=<optimized out>, receiver=0x39a0b80, e=0x7fffb23dc320) at kernel/qapplication.cpp:4105
#25 0x00007f41c462e1d6 in KApplication::notify (this=0x7fffb23dee10, receiver=0x39a0b80, event=0x7fffb23dc320) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f41c2f4456e in QCoreApplication::notifyInternal (this=0x7fffb23dee10, receiver=0x39a0b80, event=0x7fffb23dc320) at kernel/qcoreapplication.cpp:915
#27 0x00007f41c3926cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QApplicationPrivate::sendMouseEvent (receiver=0x39a0b80, event=0x7fffb23dc320, alienWidget=0x39a0b80, nativeWidget=0x39a0610, buttonDown=0x7f41c4402308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#29 0x00007f41c39a4554 in QETWidget::translateMouseEvent (this=this@entry=0x39a0610, event=event@entry=0x7fffb23dcaa0) at kernel/qapplication_x11.cpp:4622
#30 0x00007f41c39a344f in QApplication::x11ProcessEvent (this=0x7fffb23dee10, event=0x7fffb23dcaa0) at kernel/qapplication_x11.cpp:3737
#31 0x00007f41c39cafa2 in x11EventSourceDispatch (s=0x15faa00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f41bb372ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f41bb372de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f41bb372ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f41c2f72bf6 in QEventDispatcherGlib::processEvents (this=0x158a9d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007f41c39cac1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f41c2f432bf in QEventLoop::processEvents (this=this@entry=0x7fffb23dce80, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f41c2f43548 in QEventLoop::exec (this=0x7fffb23dce80, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f41c3dde428 in QDialog::exec (this=0x36f0390) at dialogs/qdialog.cpp:554
#40 0x00007f41851d04c7 in KIPIHTMLExport::Plugin_HTMLExport::slotActivate() () from /usr/lib/kde4/kipiplugin_htmlexport.so
#41 0x00007f41851cfc18 in KIPIHTMLExport::Plugin_HTMLExport::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/kde4/kipiplugin_htmlexport.so
#42 0x00007f41c2f59f5f in QMetaObject::activate (sender=0x36a4dc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb23dd160) at kernel/qobject.cpp:3547
#43 0x00007f41c391fa32 in QAction::triggered (this=this@entry=0x36a4dc0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#44 0x00007f41c391fc20 in QAction::activate (this=0x36a4dc0, event=<optimized out>) at kernel/qaction.cpp:1257
#45 0x00007f41c3d5e3d3 in QMenuPrivate::activateCausedStack (this=this@entry=0x20f8f90, causedStack=..., action=action@entry=0x36a4dc0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1028
#46 0x00007f41c3d646b9 in QMenuPrivate::activateAction (this=0x20f8f90, action=0x36a4dc0, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1120
#47 0x00007f41c46e7090 in KMenu::mouseReleaseEvent (this=0x2e1c6d0, e=0x7fffb23ddd00) at ../../kdeui/widgets/kmenu.cpp:464
#48 0x00007f41c3975850 in QWidget::event (this=0x2e1c6d0, event=0x7fffb23ddd00) at kernel/qwidget.cpp:8371
#49 0x00007f41c3d6596b in QMenu::event (this=0x2e1c6d0, e=0x7fffb23ddd00) at widgets/qmenu.cpp:2469
#50 0x00007f41c3925e9c in QApplicationPrivate::notify_helper (this=this@entry=0x15f69a0, receiver=receiver@entry=0x2e1c6d0, e=e@entry=0x7fffb23ddd00) at kernel/qapplication.cpp:4562
#51 0x00007f41c392ab6b in QApplication::notify (this=<optimized out>, receiver=0x2e1c6d0, e=0x7fffb23ddd00) at kernel/qapplication.cpp:4105
#52 0x00007f41c462e1d6 in KApplication::notify (this=0x7fffb23dee10, receiver=0x2e1c6d0, event=0x7fffb23ddd00) at ../../kdeui/kernel/kapplication.cpp:311
#53 0x00007f41c2f4456e in QCoreApplication::notifyInternal (this=0x7fffb23dee10, receiver=0x2e1c6d0, event=0x7fffb23ddd00) at kernel/qcoreapplication.cpp:915
#54 0x00007f41c3926cd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QApplicationPrivate::sendMouseEvent (receiver=0x2e1c6d0, event=0x7fffb23ddd00, alienWidget=0x0, nativeWidget=0x2e1c6d0, buttonDown=0x7f41c4402308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#56 0x00007f41c39a441c in QETWidget::translateMouseEvent (this=this@entry=0x2e1c6d0, event=event@entry=0x7fffb23de480) at kernel/qapplication_x11.cpp:4556
#57 0x00007f41c39a344f in QApplication::x11ProcessEvent (this=0x7fffb23dee10, event=0x7fffb23de480) at kernel/qapplication_x11.cpp:3737
#58 0x00007f41c39cafa2 in x11EventSourceDispatch (s=0x15faa00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#59 0x00007f41bb372ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f41bb372de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f41bb372ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f41c2f72bf6 in QEventDispatcherGlib::processEvents (this=0x158a9d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#63 0x00007f41c39cac1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f41c2f432bf in QEventLoop::processEvents (this=this@entry=0x7fffb23de850, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f41c2f43548 in QEventLoop::exec (this=0x7fffb23de850, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f41c2f48708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#67 0x00000000006cbd33 in main ()

Reported using DrKonqi
Comment 1 caulier.gilles 2013-02-01 13:06:23 UTC

*** This bug has been marked as a duplicate of bug 311510 ***
Comment 2 Tarzan 2013-10-25 14:26:38 UTC
Created attachment 83112 [details]
New crash information added by DrKonqi

digikam (3.5.0) on KDE Platform 4.11.2 using Qt 4.8.5

- What I was doing when the application crashed:

Digikam in gnome crash exporting pics to htlm

-- Backtrace (Reduced):
#5  0x00007f41c871104f in KIPIHTMLExport::ListThemeParameter::valueFromWidget(QWidget*) const () from /usr/lib64/kde4/kipiplugin_htmlexport.so
#6  0x00007f41c8716c30 in KIPIHTMLExport::Wizard::accept() () from /usr/lib64/kde4/kipiplugin_htmlexport.so
[...]
#8  0x0000003804ba2854 in KDialog::slotButtonClicked(int) () from /lib64/libkdeui.so.5
[...]
#11 0x00000030e8f9564e in QSignalMapper::mapped(int) () from /lib64/libQtCore.so.4
#12 0x00000030e8f95756 in QSignalMapper::map(QObject*) () from /lib64/libQtCore.so.4
Comment 3 caulier.gilles 2018-08-15 13:00:11 UTC
Problem not reproducible with 6.0.0 pre-release