Bug 134300 - Crash when exporting an album to a HTML gallery
Summary: Crash when exporting an album to a HTML gallery
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: 2006-09-18 22:27 UTC by Médéric Boquien
Modified: 2022-01-17 12:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Médéric Boquien 2006-09-18 22:27:42 UTC
Version:           SVN Head (using KDE KDE 3.5.4)
Installed from:    SuSE RPMs
Compiler:          gcc 4.1.0 
OS:                Linux

When i export an album to a HTML gallery i get a crash. To reproduce do: Amlbum/export/HTML gallery; then click on Next on each window and then Finish. The transfer window displays:
Source: file:///opt/kde3/share/apps/kipiplugin_htmlexport/themes/matrix
Destination: test_gallery
and the crash dialog appears. It is 100% reproducible.

The version is SVN head from today, compiled with --enable-debug=full. The kipi plugins are also from SVN. Here is the backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1239689024 (LWP 15459)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb61ee7d0 in raise () from /lib/libc.so.6
#8  0xb61efea3 in abort () from /lib/libc.so.6
#9  0xb7025752 in kdbgstream::flush () from /opt/kde3/lib/libkdecore.so.4
#10 0xb7d1705b in kdbgstream::operator<< (this=0xbfb5c400, 
    string=0xb7f68220 "\n") at /opt/kde3/include/kdebug.h:232
#11 0xb7d17091 in endl (s=@0xbfb5c400) at /opt/kde3/include/kdebug.h:430
#12 0xb75a0303 in KIO::Scheduler::_scheduleJob ()
   from /opt/kde3/lib/libkio.so.4
#13 0xb75a486d in KIO::CopyJob::createNextDir () from /opt/kde3/lib/libkio.so.4
#14 0xb75a5cbc in KIO::CopyJob::statCurrentSrc ()
   from /opt/kde3/lib/libkio.so.4
#15 0xb75a6774 in KIO::CopyJob::statNextSrc () from /opt/kde3/lib/libkio.so.4
#16 0xb75b7190 in KIO::CopyJob::slotResult () from /opt/kde3/lib/libkio.so.4
#17 0xb75b3e91 in KIO::CopyJob::qt_invoke () from /opt/kde3/lib/libkio.so.4
#18 0xb69aff1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb7546b31 in KIO::Job::result () from /opt/kde3/lib/libkio.so.4
#20 0xb758fcbd in KIO::Job::emitResult () from /opt/kde3/lib/libkio.so.4
#21 0xb759d94e in KIO::SimpleJob::slotFinished ()
   from /opt/kde3/lib/libkio.so.4
#22 0xb759dcdd in KIO::ListJob::slotFinished () from /opt/kde3/lib/libkio.so.4
#23 0xb75b28ce in KIO::ListJob::qt_invoke () from /opt/kde3/lib/libkio.so.4
#24 0xb69aff1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb69b0b7d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb75428dc in KIO::SlaveInterface::finished ()
   from /opt/kde3/lib/libkio.so.4
#27 0xb759c2f5 in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#28 0xb75b007a in KIO::SlaveInterface::dispatch ()
   from /opt/kde3/lib/libkio.so.4
#29 0xb7556d8c in KIO::Slave::gotInput () from /opt/kde3/lib/libkio.so.4
#30 0xb7595160 in KIO::Slave::qt_invoke () from /opt/kde3/lib/libkio.so.4
#31 0xb69aff1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0xb69b0a82 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0xb6ce98f0 in QSocketNotifier::activated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0xb69ce120 in QSocketNotifier::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0xb6950f07 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0xb6951cd1 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0xb709ac23 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#38 0xb6945b44 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0xb6900814 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0xb6967d28 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0xb6950a2f in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0xb7541e55 in KIO::NetAccess::enter_loop () from /opt/kde3/lib/libkio.so.4
#43 0xb75936da in KIO::NetAccess::dircopyInternal ()
   from /opt/kde3/lib/libkio.so.4
#44 0xb7593a1a in KIO::NetAccess::dircopy () from /opt/kde3/lib/libkio.so.4
#45 0xb7593b3e in KIO::NetAccess::dircopy () from /opt/kde3/lib/libkio.so.4
#46 0xb43f35bc in KIPIHTMLExport::Generator::run ()
   from /opt/kde3/lib/kde3/kipiplugin_htmlexport.so
#47 0xb43fc2bf in KIPIHTMLExport::Plugin::slotActivate ()
   from /opt/kde3/lib/kde3/kipiplugin_htmlexport.so
#48 0xb43fc4c2 in KIPIHTMLExport::Plugin::qt_invoke ()
   from /opt/kde3/lib/kde3/kipiplugin_htmlexport.so
#49 0xb69aff1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#50 0xb69b0b7d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#51 0xb7277c29 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#52 0xb72ba112 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#53 0xb737ea0d in KAction::slotPopupActivated ()
   from /opt/kde3/lib/libkdeui.so.4
#54 0xb737ecd1 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#55 0xb69aff1d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#56 0xb6ce8b1e in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#57 0xb69cbfc7 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#58 0xb6ab762a in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#59 0xb727ccfe in KPopupMenu::mouseReleaseEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#60 0xb69e8c40 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#61 0xb6950f07 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#62 0xb6951e3b in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#63 0xb709ac23 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#64 0xb68f16ee in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#65 0xb68effe6 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#66 0xb690062a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#67 0xb6967d28 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#68 0xb6967bbe in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#69 0xb6950abf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#70 0x0804aa59 in main (argc=-1208283988, argv=0x813ffe2)
    at /home/mederic/graphics/digikam/digikam/main.cpp:269

Thanks.
Comment 1 Angelo Naselli 2006-12-09 22:27:34 UTC
Aurelien, Gilles can this bug related to the kdDebug and multi thread problem?
Comment 2 caulier.gilles 2006-12-10 10:08:04 UTC
Yes, certainly. Since digikam 0.9.0RC2 is released and all kdDebug() statement from _all_ digiKam/DigikamImagePlugins have been changed to a dedicaced DDebug class witch is re-entrant, the problem is normally fixed, but only if HTML export is not-multithreaded.

If it is, please use qDebug() instead kdDebug() in all QThread::run() method

Gilles
Comment 3 Angelo Naselli 2007-10-05 13:49:59 UTC
Is still present?
Comment 4 Angelo Naselli 2007-12-23 12:51:01 UTC
No answers since 2007-10-05, and unconfirmed... maybe it's fixed.