Bug 330906 - Crashes when exporting to HTML
Summary: Crashes when exporting to HTML
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-HTMLGallery (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-08 09:21 UTC by delcour.libertus
Modified: 2018-08-15 12:58 UTC (History)
2 users (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 delcour.libertus 2014-02-08 09:21:29 UTC
Application: gwenview (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.6
Operating System: Linux 3.12-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (jessie)

-- Information about the crash:
- What I was doing when the application crashed: Just start the Export (finish-button) after choosing options and output path.

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f7231035700 (LWP 15661)):
#0  0x00007f72458b195d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7241b09194 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7241b0929c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7247f5e636 in QEventDispatcherGlib::processEvents (this=0x7f72240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f7247f2ff9f in QEventLoop::processEvents (this=this@entry=0x7f7231034db0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7247f30295 in QEventLoop::exec (this=this@entry=0x7f7231034db0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7247e2cc1f in QThread::exec (this=this@entry=0xcfc570) at thread/qthread.cpp:537
#7  0x00007f7247f117d3 in QInotifyFileSystemWatcherEngine::run (this=0xcfc570) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f7247e2f2ef in QThreadPrivate::start (arg=0xcfc570) at thread/qthread_unix.cpp:349
#9  0x00007f7241fcbe0e in start_thread (arg=0x7f7231035700) at pthread_create.c:311
#10 0x00007f72458bd0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f722b7fe700 (LWP 15667)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7247e2f7d6 in wait (time=18446744073709551615, this=0xb77a10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0xa7eeb0, mutex=mutex@entry=0xa7eea8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f7248a76ea6 in Gwenview::SemanticInfoThread::run (this=0xa7ee90) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#4  0x00007f7247e2f2ef in QThreadPrivate::start (arg=0xa7ee90) at thread/qthread_unix.cpp:349
#5  0x00007f7241fcbe0e in start_thread (arg=0x7f722b7fe700) at pthread_create.c:311
#6  0x00007f72458bd0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f720e7d9700 (LWP 15668)):
#0  0x00007f72458b195d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f72122b46f8 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f7241fcbe0e in start_thread (arg=0x7f720e7d9700) at pthread_create.c:311
#3  0x00007f72458bd0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7249138780 (LWP 15656)):
[KCrash Handler]
#6  0x00007f720597802f in ?? () from /usr/lib/kde4/kipiplugin_htmlexport.so
#7  0x00007f720597dbf0 in ?? () from /usr/lib/kde4/kipiplugin_htmlexport.so
#8  0x00007f7247f45658 in QMetaObject::activate (sender=sender@entry=0x16628b0, m=m@entry=0x7f7247640400 <KDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#9  0x00007f72471a40c3 in KDialog::user1Clicked (this=this@entry=0x16628b0) at ./kdialog.moc:253
#10 0x00007f72471a4764 in KDialog::slotButtonClicked (this=0x16628b0, button=4096) at ../../kdeui/dialogs/kdialog.cpp:900
#11 0x00007f72471a60af in KDialog::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kdialog.moc:166
#12 0x00007f7247f45658 in QMetaObject::activate (sender=sender@entry=0x166b210, m=m@entry=0x7f7248292d60 <QSignalMapper::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb99d9ce0) at kernel/qobject.cpp:3539
#13 0x00007f7247f4cdae in QSignalMapper::mapped (this=this@entry=0x166b210, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:114
#14 0x00007f7247f4ceb6 in QSignalMapper::map (this=0x166b210, sender=0x1661cf0) at kernel/qsignalmapper.cpp:266
#15 0x00007f7247f45658 in QMetaObject::activate (sender=sender@entry=0x1661cf0, m=m@entry=0x7f7246fec4e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffb99d9e50) at kernel/qobject.cpp:3539
#16 0x00007f7246b69972 in QAbstractButton::clicked (this=this@entry=0x1661cf0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#17 0x00007f72468ce643 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x1676eb0) at widgets/qabstractbutton.cpp:548
#18 0x00007f72468cf7b3 in QAbstractButtonPrivate::click (this=this@entry=0x1676eb0) at widgets/qabstractbutton.cpp:541
#19 0x00007f72468cf89c in QAbstractButton::mouseReleaseEvent (this=0x1661cf0, e=0x7fffb99da340) at widgets/qabstractbutton.cpp:1123
#20 0x00007f724656fcca in QWidget::event (this=0x1661cf0, event=0x7fffb99da340) at kernel/qwidget.cpp:8376
#21 0x00007f72465206cc in QApplicationPrivate::notify_helper (this=this@entry=0x9da210, receiver=receiver@entry=0x1661cf0, e=e@entry=0x7fffb99da340) at kernel/qapplication.cpp:4567
#22 0x00007f7246526e7d in QApplication::notify (this=this@entry=0x7fffb99dcab0, receiver=receiver@entry=0x1661cf0, e=e@entry=0x7fffb99da340) at kernel/qapplication.cpp:4110
#23 0x00007f724724249a in KApplication::notify (this=0x7fffb99dcab0, receiver=0x1661cf0, event=0x7fffb99da340) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f7247f313cd in QCoreApplication::notifyInternal (this=0x7fffb99dcab0, receiver=receiver@entry=0x1661cf0, event=event@entry=0x7fffb99da340) at kernel/qcoreapplication.cpp:953
#25 0x00007f7246526633 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1661cf0, event=event@entry=0x7fffb99da340, alienWidget=alienWidget@entry=0x1661cf0, nativeWidget=nativeWidget@entry=0x1530890, buttonDown=buttonDown@entry=0x7f7246ffe2d8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#27 0x00007f724659830b in QETWidget::translateMouseEvent (this=this@entry=0x1530890, event=event@entry=0x7fffb99da6b0) at kernel/qapplication_x11.cpp:4540
#28 0x00007f7246596d7c in QApplication::x11ProcessEvent (this=0x7fffb99dcab0, event=event@entry=0x7fffb99da6b0) at kernel/qapplication_x11.cpp:3663
#29 0x00007f72465be6c2 in x11EventSourceDispatch (s=0x9cf8b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f7241b08ea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f7241b091f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f7241b0929c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f7247f5e615 in QEventDispatcherGlib::processEvents (this=0x993af0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#34 0x00007f72465be776 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f7247f2ff9f in QEventLoop::processEvents (this=this@entry=0x7fffb99daaa0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f7247f30295 in QEventLoop::exec (this=this@entry=0x7fffb99daaa0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f72469c3afc in QDialog::exec (this=0x16628b0) at dialogs/qdialog.cpp:562
#38 0x00007f72059795c2 in ?? () from /usr/lib/kde4/kipiplugin_htmlexport.so
#39 0x00007f7247f45658 in QMetaObject::activate (sender=sender@entry=0x14ea580, m=m@entry=0x7f7246fc31c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffb99dad30) at kernel/qobject.cpp:3539
#40 0x00007f724651a572 in QAction::triggered (this=this@entry=0x14ea580, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#41 0x00007f724651bf43 in QAction::activate (this=this@entry=0x14ea580, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#42 0x00007f7246946099 in QMenuPrivate::activateCausedStack (this=this@entry=0xf85aa0, causedStack=..., action=action@entry=0x14ea580, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#43 0x00007f724694a5c9 in QMenuPrivate::activateAction (this=0xf85aa0, action=0x14ea580, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#44 0x00007f724694df95 in QMenu::mouseReleaseEvent (this=this@entry=0xf85a40, e=e@entry=0x7fffb99db460) at widgets/qmenu.cpp:2372
#45 0x00007f72472f8ac5 in KMenu::mouseReleaseEvent (this=0xf85a40, e=0x7fffb99db460) at ../../kdeui/widgets/kmenu.cpp:464
#46 0x00007f724656fcca in QWidget::event (this=this@entry=0xf85a40, event=event@entry=0x7fffb99db460) at kernel/qwidget.cpp:8376
#47 0x00007f724694e3cb in QMenu::event (this=0xf85a40, e=0x7fffb99db460) at widgets/qmenu.cpp:2481
#48 0x00007f72465206cc in QApplicationPrivate::notify_helper (this=this@entry=0x9da210, receiver=receiver@entry=0xf85a40, e=e@entry=0x7fffb99db460) at kernel/qapplication.cpp:4567
#49 0x00007f7246526e7d in QApplication::notify (this=this@entry=0x7fffb99dcab0, receiver=receiver@entry=0xf85a40, e=e@entry=0x7fffb99db460) at kernel/qapplication.cpp:4110
#50 0x00007f724724249a in KApplication::notify (this=0x7fffb99dcab0, receiver=0xf85a40, event=0x7fffb99db460) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007f7247f313cd in QCoreApplication::notifyInternal (this=0x7fffb99dcab0, receiver=receiver@entry=0xf85a40, event=event@entry=0x7fffb99db460) at kernel/qcoreapplication.cpp:953
#52 0x00007f7246526633 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xf85a40, event=event@entry=0x7fffb99db460, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xf85a40, buttonDown=buttonDown@entry=0x7f7246ffe2d8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#54 0x00007f724659863c in QETWidget::translateMouseEvent (this=this@entry=0xf85a40, event=event@entry=0x7fffb99db7a0) at kernel/qapplication_x11.cpp:4474
#55 0x00007f7246596d7c in QApplication::x11ProcessEvent (this=0x7fffb99dcab0, event=event@entry=0x7fffb99db7a0) at kernel/qapplication_x11.cpp:3663
#56 0x00007f72465be6c2 in x11EventSourceDispatch (s=0x9cf8b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00007f7241b08ea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f7241b091f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007f7241b0929c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f7247f5e636 in QEventDispatcherGlib::processEvents (this=0x993af0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#61 0x00007f72465be776 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x00007f7247f2ff9f in QEventLoop::processEvents (this=this@entry=0x7fffb99dbb90, flags=...) at kernel/qeventloop.cpp:149
#63 0x00007f7247f30295 in QEventLoop::exec (this=this@entry=0x7fffb99dbb90, flags=...) at kernel/qeventloop.cpp:204
#64 0x00007f724694d197 in QMenu::exec (this=0xf85a40, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2125
#65 0x00007f7246985a95 in QToolButtonPrivate::popupTimerDone (this=0x102b5e0) at widgets/qtoolbutton.cpp:960
#66 0x00007f724698600b in QToolButton::showMenu (this=<optimized out>) at widgets/qtoolbutton.cpp:871
#67 0x00007f7246986096 in QToolButtonPrivate::_q_buttonPressed (this=<optimized out>) at widgets/qtoolbutton.cpp:884
#68 0x00007f7246986149 in QToolButton::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qtoolbutton.cpp:90
#69 0x00007f7247f45658 in QMetaObject::activate (sender=sender@entry=0x102b3a0, m=m@entry=0x7f7246fec4e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#70 0x00007f7246b69920 in QAbstractButton::pressed (this=this@entry=0x102b3a0) at .moc/release-shared/moc_qabstractbutton.cpp:206
#71 0x00007f72468ce6d6 in QAbstractButtonPrivate::emitPressed (this=this@entry=0x102b5e0) at widgets/qabstractbutton.cpp:562
#72 0x00007f72468cec7c in QAbstractButton::mousePressEvent (this=this@entry=0x102b3a0, e=e@entry=0x7fffb99dc300) at widgets/qabstractbutton.cpp:1098
#73 0x00007f72469864a8 in QToolButton::mousePressEvent (this=0x102b3a0, e=0x7fffb99dc300) at widgets/qtoolbutton.cpp:714
#74 0x00007f724656fb3b in QWidget::event (this=0x102b3a0, event=0x7fffb99dc300) at kernel/qwidget.cpp:8372
#75 0x00007f72465206cc in QApplicationPrivate::notify_helper (this=this@entry=0x9da210, receiver=receiver@entry=0x102b3a0, e=e@entry=0x7fffb99dc300) at kernel/qapplication.cpp:4567
#76 0x00007f7246526e7d in QApplication::notify (this=this@entry=0x7fffb99dcab0, receiver=receiver@entry=0x102b3a0, e=e@entry=0x7fffb99dc300) at kernel/qapplication.cpp:4110
#77 0x00007f724724249a in KApplication::notify (this=0x7fffb99dcab0, receiver=0x102b3a0, event=0x7fffb99dc300) at ../../kdeui/kernel/kapplication.cpp:311
#78 0x00007f7247f313cd in QCoreApplication::notifyInternal (this=0x7fffb99dcab0, receiver=receiver@entry=0x102b3a0, event=event@entry=0x7fffb99dc300) at kernel/qcoreapplication.cpp:953
#79 0x00007f7246526633 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#80 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x102b3a0, event=event@entry=0x7fffb99dc300, alienWidget=alienWidget@entry=0x102b3a0, nativeWidget=nativeWidget@entry=0xb37f80, buttonDown=buttonDown@entry=0x7f7246ffe2d8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#81 0x00007f724659830b in QETWidget::translateMouseEvent (this=this@entry=0xb37f80, event=event@entry=0x7fffb99dc670) at kernel/qapplication_x11.cpp:4540
#82 0x00007f7246596d7c in QApplication::x11ProcessEvent (this=0x7fffb99dcab0, event=event@entry=0x7fffb99dc670) at kernel/qapplication_x11.cpp:3663
#83 0x00007f72465be6c2 in x11EventSourceDispatch (s=0x9cf8b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#84 0x00007f7241b08ea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#85 0x00007f7241b091f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#86 0x00007f7241b0929c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#87 0x00007f7247f5e615 in QEventDispatcherGlib::processEvents (this=0x993af0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#88 0x00007f72465be776 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#89 0x00007f7247f2ff9f in QEventLoop::processEvents (this=this@entry=0x7fffb99dca50, flags=...) at kernel/qeventloop.cpp:149
#90 0x00007f7247f30295 in QEventLoop::exec (this=this@entry=0x7fffb99dca50, flags=...) at kernel/qeventloop.cpp:204
#91 0x00007f7247f35a69 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#92 0x00007f724651ee8c in QApplication::exec () at kernel/qapplication.cpp:3828
#93 0x0000000000427c8d in main (argc=<optimized out>, argv=0x7fffb99dcbf8) at ../../app/main.cpp:139

Possible duplicates by query: bug 328300.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-08 12:13:10 UTC
> 6  0x00007f720597802f in ?? () from /usr/lib/kde4/kipiplugin_htmlexport.so

Could you install debug packages and provide a better backtrace ?
Comment 2 caulier.gilles 2014-02-08 13:18:39 UTC
And which kipi-plugins version is installed ?

Gilles Caulier
Comment 3 delcour.libertus 2014-02-09 21:24:29 UTC
(In reply to comment #1)
> > 6  0x00007f720597802f in ?? () from /usr/lib/kde4/kipiplugin_htmlexport.so
> 
> Could you install debug packages and provide a better backtrace ?

I thought I did it already. Which packet are to install in addition please?
Comment 4 delcour.libertus 2014-02-09 21:26:30 UTC
(In reply to comment #2)
> And which kipi-plugins version is installed ?
> 
> Gilles Caulier

The installed version is: 4:3.5.0-3+b3
Comment 5 delcour.libertus 2014-02-09 21:29:30 UTC
As I found out the HTML export does not crash when I use classic theme.

It crashes when I use the following:

"Schwebende Karten

A dark theme with floating thumbnail/description cards. Fast navigation through the gallery.

Autor: Jiří Boháč"
Comment 6 caulier.gilles 2014-02-09 21:52:20 UTC

*** This bug has been marked as a duplicate of bug 302306 ***
Comment 7 caulier.gilles 2018-08-15 12:58:14 UTC
Problem not reproducible with 6.0.0 pre-release