Bug 309316 - Html gallery export crash and other bugs
Summary: Html gallery export crash and other bugs
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-10-31 14:20 UTC by Jon Nelson
Modified: 2018-08-15 12:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson 2012-10-31 14:20:24 UTC
Application: gwenview (2.9.1)
KDE Platform Version: 4.9.2 "release 511"
Qt Version: 4.8.3
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
Select 91 of 104 images, choose Plugins -> Export -> Export to HTML

Choose the second choice (91 images) not (Name of Folder Here - 104 images).

ALSO NOTE:

The "Theme" list on the left and the description on the right don't match up.
Choosing "Clean Frames" on the left shows "Classic" on the right, etc...
Choose whatever you need so "Classic" is on the right.
Next, Next, NExt.
Finish. Bam!


Also, if you try to export a subset of images, eventually you'll get

Copying theme
Generating files for ""
Generating HTML files
Error processing XML file


This only happens when you try to export a /subset/ of files.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f69c70c3780 (LWP 20913))]

Thread 2 (Thread 0x7f69b35b1700 (LWP 20917)):
#0  0x00007f69c3ad913f in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f69c0090684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f69c00907a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f69c5f23cf6 in QEventDispatcherGlib::processEvents (this=0x7f69ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f69c5ef485f in QEventLoop::processEvents (this=this@entry=0x7f69b35b0dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f69c5ef4ae8 in QEventLoop::exec (this=0x7f69b35b0dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f69c5df6fc0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f69c5ed4fcf in QInotifyFileSystemWatcherEngine::run (this=0x256b640) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f69c5df9f9c in QThreadPrivate::start (arg=0x256b640) at thread/qthread_unix.cpp:338
#9  0x00007f69c2266e0e in start_thread (arg=0x7f69b35b1700) at pthread_create.c:305
#10 0x00007f69c3ae12bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f69c70c3780 (LWP 20913)):
[KCrash Handler]
#6  QComboBox::currentIndex (this=0x0) at widgets/qcombobox.cpp:2015
#7  0x00007f6995f0ea08 in KIPIHTMLExport::ListThemeParameter::valueFromWidget (this=0x2a94e10, widget=<optimized out>) at /usr/src/debug/digikam-2.9.0/extra/kipi-plugins/htmlexport/listthemeparameter.cpp:89
#8  0x00007f6995f142a3 in KIPIHTMLExport::Wizard::accept (this=0x471db20) at /usr/src/debug/digikam-2.9.0/extra/kipi-plugins/htmlexport/wizard.cpp:376
#9  0x00007f69c5f0c39f in QMetaObject::activate (sender=0x471db20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#10 0x00007f69c53c53e6 in KDialog::slotButtonClicked (this=0x471db20, button=4096) at /usr/src/debug/kdelibs-4.9.2/kdeui/dialogs/kdialog.cpp:900
#11 0x00007f69c53c59e4 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.9.2/build/kdeui/kdialog.moc:167
#12 KDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.9.2/build/kdeui/kdialog.moc:127
#13 0x00007f69c5f0c39f in QMetaObject::activate (sender=0x38bc320, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe6389530) at kernel/qobject.cpp:3556
#14 0x00007f69c5f10ede in QSignalMapper::mapped (this=this@entry=0x38bc320, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:115
#15 0x00007f69c5f110e5 in QSignalMapper::map (this=0x38bc320, sender=0x3901090) at kernel/qsignalmapper.cpp:266
#16 0x00007f69c5f0c39f in QMetaObject::activate (sender=0x3901090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe63896c0) at kernel/qobject.cpp:3556
#17 0x00007f69c48eca82 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:220
#18 0x00007f69c464182e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x4712e60) at widgets/qabstractbutton.cpp:548
#19 0x00007f69c4642060 in QAbstractButtonPrivate::click (this=this@entry=0x4712e60) at widgets/qabstractbutton.cpp:541
#20 0x00007f69c46422cc in QAbstractButton::mouseReleaseEvent (this=0x3901090, e=0x7fffe6389f60) at widgets/qabstractbutton.cpp:1123
#21 0x00007f69c42d7ed0 in QWidget::event (this=0x3901090, event=0x7fffe6389f60) at kernel/qwidget.cpp:8371
#22 0x00007f69c428874c in QApplicationPrivate::notify_helper (this=this@entry=0x231d920, receiver=receiver@entry=0x3901090, e=e@entry=0x7fffe6389f60) at kernel/qapplication.cpp:4557
#23 0x00007f69c428d42b in QApplication::notify (this=<optimized out>, receiver=0x3901090, e=0x7fffe6389f60) at kernel/qapplication.cpp:4100
#24 0x00007f69c5464616 in KApplication::notify (this=0x7fffe638c3a0, receiver=0x3901090, event=0x7fffe6389f60) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#25 0x00007f69c5ef5b0e in QCoreApplication::notifyInternal (this=0x7fffe638c3a0, receiver=0x3901090, event=0x7fffe6389f60) at kernel/qcoreapplication.cpp:915
#26 0x00007f69c428958b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=0x3901090, event=0x7fffe6389f60, alienWidget=0x3901090, nativeWidget=0x471db20, buttonDown=0x7f69c4d5c248 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3168
#28 0x00007f69c4303d14 in QETWidget::translateMouseEvent (this=this@entry=0x471db20, event=event@entry=0x7fffe638a6d0) at kernel/qapplication_x11.cpp:4518
#29 0x00007f69c4302aa1 in QApplication::x11ProcessEvent (this=0x7fffe638c3a0, event=0x7fffe638a6d0) at kernel/qapplication_x11.cpp:3641
#30 0x00007f69c4328de2 in x11EventSourceDispatch (s=0x231c990, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f69c00903b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f69c00906e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f69c00907a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f69c5f23cd6 in QEventDispatcherGlib::processEvents (this=0x22f6a70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f69c4328a5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f69c5ef485f in QEventLoop::processEvents (this=this@entry=0x7fffe638aab0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f69c5ef4ae8 in QEventLoop::exec (this=0x7fffe638aab0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f69c473beb8 in QDialog::exec (this=0x471db20) at dialogs/qdialog.cpp:554
#39 0x00007f6995f0fbb3 in KIPIHTMLExport::Plugin_HTMLExport::slotActivate (this=<optimized out>) at /usr/src/debug/digikam-2.9.0/extra/kipi-plugins/htmlexport/plugin_htmlexport.cpp:100
#40 0x00007f69c5f0c39f in QMetaObject::activate (sender=0x4241ad0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe638ad50) at kernel/qobject.cpp:3556
#41 0x00007f69c4282542 in QAction::triggered (this=this@entry=0x4241ad0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#42 0x00007f69c4282730 in QAction::activate (this=0x4241ad0, event=<optimized out>) at kernel/qaction.cpp:1257
#43 0x00007f69c46bbdc3 in QMenuPrivate::activateCausedStack (this=this@entry=0x41ff070, causedStack=..., action=action@entry=0x4241ad0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1028
#44 0x00007f69c46c20d9 in QMenuPrivate::activateAction (this=0x41ff070, action=0x4241ad0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#45 0x00007f69c42d7ed0 in QWidget::event (this=0x41d6cc0, event=0x7fffe638b740) at kernel/qwidget.cpp:8371
#46 0x00007f69c46c338b in QMenu::event (this=0x41d6cc0, e=0x7fffe638b740) at widgets/qmenu.cpp:2469
#47 0x00007f69c428874c in QApplicationPrivate::notify_helper (this=this@entry=0x231d920, receiver=receiver@entry=0x41d6cc0, e=e@entry=0x7fffe638b740) at kernel/qapplication.cpp:4557
#48 0x00007f69c428d42b in QApplication::notify (this=<optimized out>, receiver=0x41d6cc0, e=0x7fffe638b740) at kernel/qapplication.cpp:4100
#49 0x00007f69c5464616 in KApplication::notify (this=0x7fffe638c3a0, receiver=0x41d6cc0, event=0x7fffe638b740) at /usr/src/debug/kdelibs-4.9.2/kdeui/kernel/kapplication.cpp:311
#50 0x00007f69c5ef5b0e in QCoreApplication::notifyInternal (this=0x7fffe638c3a0, receiver=0x41d6cc0, event=0x7fffe638b740) at kernel/qcoreapplication.cpp:915
#51 0x00007f69c428958b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#52 QApplicationPrivate::sendMouseEvent (receiver=0x41d6cc0, event=0x7fffe638b740, alienWidget=0x0, nativeWidget=0x41d6cc0, buttonDown=0x7f69c4d5c248 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3168
#53 0x00007f69c4303bdc in QETWidget::translateMouseEvent (this=this@entry=0x41d6cc0, event=event@entry=0x7fffe638beb0) at kernel/qapplication_x11.cpp:4452
#54 0x00007f69c4302aa1 in QApplication::x11ProcessEvent (this=0x7fffe638c3a0, event=0x7fffe638beb0) at kernel/qapplication_x11.cpp:3641
#55 0x00007f69c4328de2 in x11EventSourceDispatch (s=0x231c990, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007f69c00903b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f69c00906e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f69c00907a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f69c5f23cd6 in QEventDispatcherGlib::processEvents (this=0x22f6a70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#60 0x00007f69c4328a5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007f69c5ef485f in QEventLoop::processEvents (this=this@entry=0x7fffe638c280, flags=...) at kernel/qeventloop.cpp:149
#62 0x00007f69c5ef4ae8 in QEventLoop::exec (this=0x7fffe638c280, flags=...) at kernel/qeventloop.cpp:204
#63 0x00007f69c5ef9788 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#64 0x0000000000429a42 in ?? ()
#65 0x00007f69c3a1e455 in __libc_start_main (main=0x4295b0, argc=1, ubp_av=0x7fffe638c508, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe638c4f8) at libc-start.c:226
#66 0x0000000000429d01 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-16 07:34:26 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 2 caulier.gilles 2014-12-10 17:57:07 UTC
Kipi-plugins 4.5.0 have been released.

Crash still reproducible with this release ?

Gilles Caulier
Comment 3 caulier.gilles 2015-05-10 09:02:17 UTC

*** This bug has been marked as a duplicate of bug 311510 ***
Comment 4 caulier.gilles 2018-08-15 12:59:22 UTC
Problem not reproducible with 6.0.0 pre-release