Bug 302306 - HTML export crashes digiKam with floating cards theme
Summary: HTML export crashes digiKam with floating cards theme
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-HTMLGallery (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-21 16:46 UTC by michel
Modified: 2017-05-04 18:48 UTC (History)
7 users (show)

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


Attachments
valgrind output as zip-file (50.09 KB, application/zip)
2012-06-25 17:58 UTC, michel
Details
New crash information added by DrKonqi (11.61 KB, text/plain)
2013-05-30 16:12 UTC, Thomas Arend
Details
New crash information added by DrKonqi (10.31 KB, text/plain)
2013-05-30 16:14 UTC, Thomas Arend
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michel 2012-06-21 16:46:07 UTC
When trying to export a folder containing jpegs using the corresponding kipi-plugin, digikam crashes reproducably. This happens, when using precompiled packages from openSUSE as well as when compiling digikam 2.5.0 or digikam 2.6.0. The kipi-plugin version was always 1.9.0.


Reproducible: Always

Steps to Reproduce:
1. Export -> HTML-Export
2. Checking a folder
3. Choosing a design (e.g. S0)
4. Using default parameters
5. Choosing a destination folder
6. "Finish"
Actual Results:  
Digikam crashes.
Crash report:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7f07955800 (LWP 12957))]

Thread 4 (Thread 0x7f7ee8fd4700 (LWP 12961)):
#0  0x00007f7efede3e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7f02a8fb2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005d3970 in ?? ()
#3  0x00007f7f02a8f61b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f7ef668eb74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007f7efeddff05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7f0108810d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f7ee3fff700 (LWP 12962)):
#0  0x00007f7f0107efe4 in poll () from /lib64/libc.so.6
#1  0x00007f7ef92f0ca6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f7ef92f0dd4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7f02bbce36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f7f02b8c842 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f7f02b8ca97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f7f02a8c5f7 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f7f02b6c62f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f7f02a8f61b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f7ef668eb74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f7efeddff05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f7f0108810d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7ee37fe700 (LWP 12967)):
#0  0x00007f7efede3e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7f02a8fb2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f7f051fbb97 in ?? () from /usr/lib64/libdigikamcore.so.2
#3  0x00007f7f02a8f61b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f7ef668eb74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007f7efeddff05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f7f0108810d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f7f07955800 (LWP 12957)):
[KCrash Handler]
#6  0x00000000005224b2 in ?? ()
#7  0x00007f7f05b8f6ed in KIPI::ImageInfo::attributes() const () from /usr/lib64/libkipi.so.8
#8  0x00007f7ecf2ea0d1 in hasAttribute (name=..., this=0x3a02150) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:100
#9  hasAttribute (name=..., this=0x3a02150) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:317
#10 KIPIPlugins::KPImageInfo::hasName (this=<optimized out>) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:319
#11 0x00007f7ecf2ed90e in KIPIPlugins::KPImageInfo::name (this=0x7fff0e64a920) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:302
#12 0x00007f7ec85f1d5c in ImageElement (info=..., this=0x7fff0e64a610) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/htmlexport/imageelement.h:58
#13 KIPIHTMLExport::Generator::Private::generateImagesAndXML (this=0x4a6cf20) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/htmlexport/generator.cpp:287
#14 0x00007f7ec85ed37b in KIPIHTMLExport::Generator::run (this=0x7fff0e64aea0) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/htmlexport/generator.cpp:518
#15 0x00007f7ec85fbf36 in KIPIHTMLExport::Plugin_HTMLExport::slotActivate (this=<optimized out>) at /usr/local/src/digikam-2.6.0/extra/kipi-plugins/htmlexport/plugin_htmlexport.cpp:111
#16 0x00007f7f02ba1c41 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x00007f7f01c8bb52 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#18 0x00007f7f01c8bd3f in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#19 0x00007f7f020d9139 in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007f7f020df292 in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007f7f036c6d40 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007f7f01ce2644 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f7f020e082b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f7f01c91fe4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f7f01c97683 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f7f03604e36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#27 0x00007f7f02b8dd0c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#28 0x00007f7f01c92fb2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#29 0x00007f7f01d0f481 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007f7f01d0dc7a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#31 0x00007f7f01d35a12 in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00007f7ef92f094a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f7ef92f0d10 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f7ef92f0dd4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f7f02bbcdcf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007f7f01d3569e in ?? () from /usr/lib64/libQtGui.so.4
#37 0x00007f7f02b8c842 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007f7f02b8ca97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#39 0x00007f7f02b918b5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#40 0x0000000000494a0d in ?? ()
#41 0x00007f7f00fce23d in __libc_start_main () from /lib64/libc.so.6
#42 0x00000000004961e5 in _start ()


Expected Results:  
Returning to Digikam having a web-gallery in the destination folder
Comment 1 caulier.gilles 2012-06-22 08:56:01 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 2 michel 2012-06-22 15:04:16 UTC
To my knowledge, the latest kipi-plugin release is 1.9.0 (http://http://sourceforge.net/projects/kipi/).
I you ment digikam release 2.6.0: as I wrote in my first comment, I obtained this behaviour with 2.5.0 and 2.6.0.

michel_vaclav
Comment 3 caulier.gilles 2012-06-22 16:09:19 UTC
no. Kipiplugins is now merged and released with digiKam... This is an old repository...

Gilles Caulier
Comment 4 michel 2012-06-22 17:49:04 UTC
Ok, my mistake, sorry. I removed all digikam- and kipi-plugin packages and compiled digikam 2.60 from scratch. This time I observed that during configuring digikam for compile kipi-plugins where listed to compile. Finally, this did not change anything, digikam still is crashing during HTML-export
michel_vaclav
Comment 5 michel 2012-06-25 15:51:53 UTC
I checked out other designs: the problem occurs only for the design "floating cards".
michel_vaclav
Comment 6 caulier.gilles 2012-06-25 17:08:15 UTC
Can you run digiKam through valgrind like this :

valgrind --tool=memcheck --leak-check=full --error-limit=no --suppressions=project/digikam.supp digikam

... and run HTML export until it crash, and report the full trace here...

Gilles Caulier
Comment 7 michel 2012-06-25 17:58:30 UTC
Created attachment 72132 [details]
valgrind output as zip-file
Comment 8 michel 2012-06-25 17:59:33 UTC
(In reply to comment #7)
> Created attachment 72132 [details]
> valgrind output as zip-file

I had to run this command from subfolder "core". I hope, this does not influence the result.
Comment 9 caulier.gilles 2012-06-28 21:21:02 UTC
Git commit 136eccac8f9e59284deddf22d6d903383c6182e3 by Gilles Caulier.
Committed on 28/06/2012 at 23:18.
Pushed by cgilles into branch 'master'.

be more restictive to check if attribute exist to prevent crash if QMap is empty.
Simplify and factorize code.
Please check if this patch fix crash indeep Qt4.
Related: bug 302714

M  +1    -7    common/libkipiplugins/tools/kpimageinfo.cpp

http://commits.kde.org/kipi-plugins/136eccac8f9e59284deddf22d6d903383c6182e3
Comment 10 caulier.gilles 2012-06-28 21:22:35 UTC
Michel,

I patched current git/master implementation from kipi-plugins with my previous commit.
Can you check if crash is fixed ?

Thanks in advance

Gilles Caulier
Comment 11 michel 2012-06-29 16:04:57 UTC
Unfortunately no improvement. Digikam crashes still when doing the html-export using floating cards theme.

michel_vaclav
Comment 12 caulier.gilles 2012-06-30 04:39:23 UTC
What's the GDB crash backtrace with my last patch applied to git/master ?

Gilles Caulier
Comment 13 michel 2012-06-30 08:20:52 UTC
Crash backtrace Digikam 2.7.0 from 20120629:

Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe71cd3d800 (LWP 3919))]

Thread 12 (Thread 0x7fe6faede700 (LWP 3925)):
#0  0x00007fe7159bee6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe715c52b2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005df980 in ?? ()
#3  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7fe6fa6dd700 (LWP 3926)):
#0  0x00007fe713dcbff3 in poll () from /lib64/libc.so.6
#1  0x00007fe70d20dca6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe70d20ddd4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe715d7fe36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fe715d4f842 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fe715d4fa97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fe715c4f5f7 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fe715d2f62f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7fe6f9e0b700 (LWP 3944)):
#0  0x00007fe7159bee6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe715c52b2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe719c9add1 in ?? () from /usr/lib64/libdigikamcore.so.2
#3  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fe6e5751700 (LWP 3949)):
#0  0x00007fe7159bf1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe715c52a8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe715c45e9f in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fe6e6be1700 (LWP 3962)):
#0  0x00007fe7159bf1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe715c52a8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe715c45e9f in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fe6dbd7a700 (LWP 3963)):
#0  0x00007fe7159bf1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe715c52a8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe715c45e9f in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fe6da561700 (LWP 3966)):
#0  0x00007fe7159bf1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe715c52a8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe715c45e9f in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fe6d9d60700 (LWP 3967)):
#0  0x00007fe7159bf1eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fe715c52a8f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fe715c45e9f in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fe715c5261b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#5  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe6d930a700 (LWP 3969)):
#0  0x00007fe70ea99b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007fe70ea9869e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#3  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe6d8b09700 (LWP 3970)):
#0  0x00007fe70ea99b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007fe70ea9869e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#3  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe6cbfff700 (LWP 3971)):
#0  0x00007fe70ea99b36 in ?? () from /usr/lib64/libgomp.so.1
#1  0x00007fe70ea9869e in ?? () from /usr/lib64/libgomp.so.1
#2  0x00007fe707f21b74 in ?? () from /usr/X11R6/lib64/libGL.so.1
#3  0x00007fe7159baf05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fe713dd510d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe71cd3d800 (LWP 3919)):
[KCrash Handler]
#6  0x00007fe6dd415b96 in ?? () from /usr/lib64/kde4/kipiplugin_htmlexport.so
#7  0x00007fe6dd41b0c2 in ?? () from /usr/lib64/kde4/kipiplugin_htmlexport.so
#8  0x00007fe715d64c41 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#9  0x00007fe71672bf6c in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
#10 0x00007fe71672c574 in ?? () from /usr/lib64/libkdeui.so.5
#11 0x00007fe715d64c41 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x00007fe715d6c4fe in QSignalMapper::mapped(int) () from /usr/lib64/libQtCore.so.4
#13 0x00007fe715d6ca9b in QSignalMapper::map(QObject*) () from /usr/lib64/libQtCore.so.4
#14 0x00007fe715d64c41 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007fe7152c2da2 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#16 0x00007fe71500182e in ?? () from /usr/lib64/libQtGui.so.4
#17 0x00007fe715002b6b in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00007fe715002ddc in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007fe714c88644 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007fe714c37fe4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fe714c3d683 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fe7167d6746 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x00007fe715d50d0c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#24 0x00007fe714c38fb2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#25 0x00007fe714cb4db5 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007fe714cb3c7a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007fe714cdba12 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007fe70d20d94a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fe70d20dd10 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fe70d20ddd4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fe715d7fdcf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007fe714cdb69e in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007fe715d4f842 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007fe715d4fa97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007fe715103c76 in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#36 0x00007fe6dd416dd1 in ?? () from /usr/lib64/kde4/kipiplugin_htmlexport.so
#37 0x00007fe715d64c41 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#38 0x00007fe714c31b52 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#39 0x00007fe714c31d3f in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#40 0x00007fe71507f139 in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007fe715085292 in ?? () from /usr/lib64/libQtGui.so.4
#42 0x00007fe7168972a0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#43 0x00007fe714c88644 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#44 0x00007fe71508682b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#45 0x00007fe714c37fe4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#46 0x00007fe714c3d683 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#47 0x00007fe7167d6746 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#48 0x00007fe715d50d0c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#49 0x00007fe714c38fb2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#50 0x00007fe714cb5481 in ?? () from /usr/lib64/libQtGui.so.4
#51 0x00007fe714cb3c7a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#52 0x00007fe714cdba12 in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00007fe70d20d94a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#54 0x00007fe70d20dd10 in ?? () from /usr/lib64/libglib-2.0.so.0
#55 0x00007fe70d20ddd4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#56 0x00007fe715d7fdcf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#57 0x00007fe714cdb69e in ?? () from /usr/lib64/libQtGui.so.4
#58 0x00007fe715d4f842 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#59 0x00007fe715d4fa97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#60 0x00007fe715d548b5 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#61 0x00000000004975cb in ?? ()
#62 0x00007fe713d1b23d in __libc_start_main () from /lib64/libc.so.6
#63 0x0000000000498da5 in _start ()

michel_vaclav
Comment 14 michel 2012-07-07 16:09:49 UTC
Today, I compiled the git-version and was surprised, that I could export successfully a folder to html with floating-card theme. So I thought, the bug is fixed.
But: after exporting the fourth folder, the described crash happened again. It looks like a memory leak somewhere.
Comment 15 michel 2012-09-01 08:13:32 UTC
Found solution, finally!
After adding the missing german translations in extra/kipi-plugins/htmlexport/themes/floating_cards/floating_cards.desktop and compiling afterwards, everything is fine now.
Code looks now like this:
------------------------------------------------------------------------------
......
[X-HTMLExport Parameter keyboard_navigation]
Type=list
Default=1
Value_0=1
Caption_0[en_GB]=on
Caption_0[en_US]=on
Caption_0[cz]=zapnuto
Caption_0[de]=an
Value_1=0
Caption_1[en_GB]=off
Caption_1[en_US]=off
Caption_1[cz]=vypnuto
Caption_1[de]=aus

[X-HTMLExport Parameter preload]
Type=list
Default=1
Value_0=1
Caption_0[en_GB]=yes
Caption_0[en_US]=yes
Caption_0[cz]=ano
Caption_0[de]=ja
Value_1=0
Caption_1[en_GB]=no
Caption_1[en_US]=no
Caption_1[cz]=ne
Caption_1[de]=nein
------------------------------------------------------------------------
It looks like missing translations for these two drop-down menues crashes that theme. So someone should add all other translations.

Best regards

michel_vaclav
Comment 16 caulier.gilles 2012-09-01 08:27:32 UTC
Sound like a translation problem... well...

I forward this entry to translation team...

Gilles Caulier
Comment 17 Frederik Schwarzer 2012-09-01 15:40:05 UTC
Thanks for forwarding the report. Unfortunately the German Digikam translation is unmaintained at the moment.

Still, if a missing translation crashes an application, it's something that has to be fixed in the application. Digikam probably crashes with several other languages as well, so please consider this a bug in Digikam itself.

Thank you.
Comment 18 Frederik Schwarzer 2012-09-01 16:22:26 UTC
Where does the translation for "on" and "off" come from? In 
  desktop_extragear-graphics_kipi-plugins.po
I can only find:
  368 #: htmlexport/themes/floating_cards/floating_cards.desktop:2
  369 #: htmlexport/themes/floating_cards/floating_cards.desktop:111
  370 msgctxt "Name"
  371 msgid "Floating Cards"
  372 msgstr ""
  373 
  374 #: htmlexport/themes/floating_cards/floating_cards.desktop:35
  375 msgctxt "Comment"
  376 msgid ""
  377 "A dark theme with floating thumbnail/description cards. Fast navigation "
  378 "through the gallery."
  379 msgstr ""
  380 
  381 #: htmlexport/themes/floating_cards/floating_cards.desktop:70
  382 msgctxt "Name"
  383 msgid "Jiří Boháč"
  384 msgstr "Jiří Boháč"

regarding floating_cards.
Comment 19 Yuri Chornoivan 2012-09-02 06:33:12 UTC
(In reply to comment #18)
> Where does the translation for "on" and "off" come from?

Values like Caption_0 and Caption_1 are not extracted or merged by scripty. They were committed manually by Gilles. ;)
Comment 20 Thomas Arend 2013-05-30 16:12:19 UTC
Created attachment 80187 [details]
New crash information added by DrKonqi

digikam (3.2.0) on KDE Platform 4.10.3 "release 565" using Qt 4.8.4

- What I was doing when the application crashed:

Selected output directory which was identical with source directory

-- Backtrace (Reduced):
#8  0x00007fde3d9eb976 in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
[...]
#11 0x00007fde3d04033e in QSignalMapper::mapped (this=this@entry=0x5bada90, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:115
#12 0x00007fde3d040545 in QSignalMapper::map (this=0x5bada90, sender=0x5c75cc0) at kernel/qsignalmapper.cpp:266
[...]
#14 0x00007fde3c7b6702 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#15 0x00007fde3c50b04e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x4199a60) at widgets/qabstractbutton.cpp:548
Comment 21 Thomas Arend 2013-05-30 16:14:39 UTC
Created attachment 80188 [details]
New crash information added by DrKonqi

digikam (3.2.0) on KDE Platform 4.10.3 "release 565" using Qt 4.8.4

Second try same crash as before.

-- Backtrace (Reduced):
#8  0x00007f5890e5b976 in KDialog::slotButtonClicked(int) () from /usr/lib64/libkdeui.so.5
[...]
#11 0x00007f58904b033e in QSignalMapper::mapped (this=this@entry=0x20d7210, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:115
#12 0x00007f58904b0545 in QSignalMapper::map (this=0x20d7210, sender=0x697cd00) at kernel/qsignalmapper.cpp:266
[...]
#14 0x00007f588fc26702 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#15 0x00007f588f97b04e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x698b7d0) at widgets/qabstractbutton.cpp:548
Comment 22 Karl 2013-07-25 19:19:35 UTC
I'm running digikam on Debian wheezy - not sure how this got into stable.. 

 Looks like there was some small bug ( see http://xtronics.com/uploads/float-card.png )

Can you tell me what the two parameters should have been labeled as?

,.,,.

Also - is there a way to configure it so that the smaller images have the same tags as the image it was made from?
Comment 23 caulier.gilles 2013-12-23 14:35:31 UTC
This entry still valid using last kipi-plugins 3.5.0 ?

Gilles Caulier
Comment 24 michel 2013-12-23 15:58:19 UTC
Yes, I can confirm this for 3.5.0

michel_vaclav
Comment 25 caulier.gilles 2014-02-09 21:52:20 UTC
*** Bug 330906 has been marked as a duplicate of this bug. ***
Comment 26 caulier.gilles 2014-05-16 07:34:30 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 27 michel 2014-05-24 09:14:47 UTC
Still crashes in version 4.0.0.
Comment 28 michel 2014-08-06 16:41:53 UTC
Still crashes in version 4.2.0.
Comment 29 michel 2014-11-19 17:33:33 UTC
Bug is solved within version 4.5.0 as also reported in bug 340476