[Digikam-devel] [Bug 294062] New: Digikam crashes on HTML export

Oxana kaisy.ok at gmail.com
Tue Feb 14 12:31:28 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=294062

           Summary: Digikam crashes on HTML export
           Product: digikam
           Version: 2.5.0
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: kaisy.ok at gmail.com


Application: digikam (2.5.0)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2.5-un-def-alt1 i686
Distribution (Platform): RedHat RPMs

-- Information about the crash:
HTML export always causes Digikam crash since one of the last KDE updates
(don't remember exactly but before 4.8.0).

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
82    T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0xadd31ad0 (LWP 4855))]

Thread 9 (Thread 0xab9cbb70 (LWP 4857)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:123
#1  0xb536791d in __pthread_cond_wait (cond=0x85eebd0, mutex=0x85eebb8) at
forward.c:139
#2  0xb55dd8e7 in wait (this=0x85eeb24, mutex=0x85eeb20, time=4294967295) at
thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x85eeb24, mutex=0x85eeb20, time=4294967295) at
thread/qwaitcondition_unix.cpp:158
#4  0x0817ef32 in Digikam::ScanController::run (this=0x85c4328) at
/usr/src/debug/digikam-2.5.0/digikam/database/scancontroller.cpp:647
#5  0xb55dca8d in QThreadPrivate::start (arg=0x85c4328) at
thread/qthread_unix.cpp:298
#6  0xafacca9c in ?? () from /usr/lib/libGL.so.1
#7  0x00000000 in ?? ()

Thread 8 (Thread 0xab1cbb70 (LWP 4858)):
#0  0xb4e23c7b in __pthread_mutex_lock (mutex=0x85cbe64) at
pthread_mutex_lock.c:61
#1  0xb5367b36 in pthread_mutex_lock (mutex=0x85cbe64) at forward.c:182
#2  0xb3c937e6 in g_main_context_poll (context=0x85cbe60, block=1, dispatch=1,
self=<value optimized out>) at gmain.c:3397
#3  g_main_context_iterate (context=0x85cbe60, block=1, dispatch=1, self=<value
optimized out>) at gmain.c:3084
#4  0xb3c93cd8 in g_main_context_iteration (context=0x85cbe60, may_block=1) at
gmain.c:3152
#5  0xb5703137 in QEventDispatcherGlib::processEvents (this=0x85e73e0,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb56d4cb9 in QEventLoop::processEvents (this=0xab1cb034, flags=...) at
kernel/qeventloop.cpp:149
#7  0xb56d4fda in QEventLoop::exec (this=0xab1cb034, flags=...) at
kernel/qeventloop.cpp:200
#8  0xb55da58a in QThread::exec (this=0x85f0d00) at thread/qthread.cpp:501
#9  0xb56b7c2b in QInotifyFileSystemWatcherEngine::run (this=0x85f0d00) at
io/qfilesystemwatcher_inotify.cpp:248
#10 0xb55dca8d in QThreadPrivate::start (arg=0x85f0d00) at
thread/qthread_unix.cpp:298
#11 0xafacca9c in ?? () from /usr/lib/libGL.so.1
#12 0x00000000 in ?? ()

Thread 7 (Thread 0xaa7ffb70 (LWP 4875)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:123
#1  0xb536791d in __pthread_cond_wait (cond=0x897ffb0, mutex=0x897ff98) at
forward.c:139
#2  0xb55dd8e7 in wait (this=0x897fdd8, mutex=0x897fdd4, time=4294967295) at
thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x897fdd8, mutex=0x897fdd4, time=4294967295) at
thread/qwaitcondition_unix.cpp:158
#4  0xb6dd8e01 in Digikam::ParkingThread::run (this=0x897fdc8) at
/usr/src/debug/digikam-2.5.0/libs/threads/threadmanager.cpp:119
#5  0xb55dca8d in QThreadPrivate::start (arg=0x897fdc8) at
thread/qthread_unix.cpp:298
#6  0xafacca9c in ?? () from /usr/lib/libGL.so.1
#7  0x00000000 in ?? ()

Thread 6 (Thread 0xa8094b70 (LWP 4877)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:180
#1  0xb5367974 in __pthread_cond_timedwait (cond=0x8bd5af0, mutex=0x8bd5ad8,
abstime=0xa80940f0) at forward.c:152
#2  0xa9e35955 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 0xa7489b70 (LWP 4878)):
#0  0xb5353767 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0xa9e648d0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00000000 in ?? ()

Thread 4 (Thread 0xa6c89b70 (LWP 4879)):
#0  0xb53507fc in __poll (fds=0x8ffb418, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0xb3ca42db in g_poll (fds=0x8ffb418, nfds=1, timeout=-1) at gpoll.c:132
#2  0xb3c939d7 in g_main_context_poll (context=0x8ff9dd8, block=1, dispatch=1,
self=<value optimized out>) at gmain.c:3402
#3  g_main_context_iterate (context=0x8ff9dd8, block=1, dispatch=1, self=<value
optimized out>) at gmain.c:3084
#4  0xb3c93cd8 in g_main_context_iteration (context=0x8ff9dd8, may_block=1) at
gmain.c:3152
#5  0xb5703137 in QEventDispatcherGlib::processEvents (this=0x8ff9c90,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb56d4cb9 in QEventLoop::processEvents (this=0xa6c89054, flags=...) at
kernel/qeventloop.cpp:149
#7  0xb56d4fda in QEventLoop::exec (this=0xa6c89054, flags=...) at
kernel/qeventloop.cpp:200
#8  0xb55da58a in QThread::exec (this=0x8ff9a68) at thread/qthread.cpp:501
#9  0xa811238b in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0xb55dca8d in QThreadPrivate::start (arg=0x8ff9a68) at
thread/qthread_unix.cpp:298
#11 0xafacca9c in ?? () from /usr/lib/libGL.so.1
#12 0x00000000 in ?? ()

Thread 3 (Thread 0xa647fb70 (LWP 4882)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:123
#1  0xb536791d in __pthread_cond_wait (cond=0x90129b8, mutex=0x90129a0) at
forward.c:139
#2  0xa9e4a2e4 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa02feb70 (LWP 5046)):
#0  0xb530096b in strcmp (p1=0x8b84da8
"/usr/share/locale/ru_RU/LC_MESSAGES/libxine1.mo", p2=0xa9d330d0
"/usr/share/kde4/locale//ru/LC_MESSAGES/digikam.mo") at strcmp.c:46
#1  0xb52b503a in _nl_make_l10nflist (l10nfile_list=0xb53ecbe0,
dirlist=0x85a9000 "/usr/share/kde4/locale/", dirlist_len=24, mask=0,
language=0xa02fd380 "ru", territory=0x0, codeset=0x0, normalized_codeset=0x0,
modifier=0x0, filename=0xa02fd3a0 "LC_MESSAGES/digikam.mo", do_allocate=0) at
l10nflist.c:248
#2  0xb52b2cac in _nl_find_domain (dirname=0x85a9000 "/usr/share/kde4/locale/",
le=0xa02fd380 "ru", domainname=0xa02fd3a0 "LC_MESSAGES/digikam.mo",
domainbinding=0x85b2128) at finddomain.c:88
#3  0xb52b25ff in __dcigettext (domainname=0xb003480 "digikam",
msgid1=0xabacdd89 "Unable to fetch row", msgid2=0x0, plural=0, n=0, category=5)
at dcigettext.c:628
#4  0xb52b1433 in __dcgettext (domainname=0xb003480 "digikam", msgid=0xabacdd89
"Unable to fetch row", category=5) at dcgettext.c:53
#5  0xb52b1460 in __dgettext (domainname=0xb003480 "digikam", msgid=0xabacdd89
"Unable to fetch row") at dgettext.c:54
#6  0xb5907239 in KCatalog::translateStrict (this=0xc300a50, msgid=0xabacdd89
"Unable to fetch row") at
/usr/src/debug/kdelibs-4.8.0/kdecore/localization/kcatalog.cpp:254
#7  0xb5918396 in KLocalePrivate::translateRawFrom (this=0x85a9458,
catname=0x0, msgctxt=0x0, msgid=0xabacdd89 "Unable to fetch row",
msgid_plural=0x0, n=0, language=0xa02fd604, translation=0xa02fd608) at
/usr/src/debug/kdelibs-4.8.0/kdecore/localization/klocale_kde.cpp:955
#8  0xb5913df2 in KLocalePrivate::translateQt (this=0x85a9458,
context=0xabacdcbe "QSQLiteResult", sourceText=0xabacdd89 "Unable to fetch
row", comment=0x0) at
/usr/src/debug/kdelibs-4.8.0/kdecore/localization/klocale_kde.cpp:1021
#9  0xb5910336 in KLocale::translateQt (this=0x857d590, context=0xabacdcbe
"QSQLiteResult", sourceText=0xabacdd89 "Unable to fetch row", comment=0x0) at
/usr/src/debug/kdelibs-4.8.0/kdecore/localization/klocale.cpp:199
#10 0xb58b8db5 in KDETranslator::translate(char const*, char const*, char
const*) const () from /usr/lib/libkdecore.so.5
#11 0xb56f3b0e in QTranslator::translate (this=0x85693b8, context=0xabacdcbe
"QSQLiteResult", sourceText=0xabacdd89 "Unable to fetch row",
disambiguation=0x0, n=-1) at kernel/qtranslator.cpp:1004
#12 0xb56d648d in QCoreApplication::translate (context=0xabacdcbe
"QSQLiteResult", sourceText=0xabacdd89 "Unable to fetch row",
disambiguation=0x0, encoding=QCoreApplication::CodecForTr, n=-1) at
kernel/qcoreapplication.cpp:1895
#13 0xb56d6846 in QCoreApplication::translate (context=0xabacdcbe
"QSQLiteResult", sourceText=0xabacdd89 "Unable to fetch row",
disambiguation=0x0, encoding=QCoreApplication::CodecForTr) at
kernel/qcoreapplication.cpp:1810
#14 0xabacc154 in ?? () from /usr/lib/qt4/plugins/sqldrivers/libqsqlite.so
#15 0xabaccfd8 in ?? () from /usr/lib/qt4/plugins/sqldrivers/libqsqlite.so
#16 0xb778a613 in QSqlQuery::exec (this=0xa02fdaf8) at kernel/qsqlquery.cpp:949
#17 0xb6d984b8 in Digikam::DatabaseCoreBackend::exec (this=0x8636130,
query=...) at
/usr/src/debug/digikam-2.5.0/libs/database/databasecorebackend.cpp:1405
#18 0xb6d98624 in Digikam::DatabaseCoreBackend::execQuery (this=0x8636130,
query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...)
at /usr/src/debug/digikam-2.5.0/libs/database/databasecorebackend.cpp:1077
#19 0xb6d98668 in Digikam::DatabaseCoreBackend::execQuery (this=0x8636130,
sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at
/usr/src/debug/digikam-2.5.0/libs/database/databasecorebackend.cpp:1022
#20 0xb6d98b94 in Digikam::DatabaseCoreBackend::execSql (this=0x8636130,
sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...,
values=0x0, lastInsertId=0xa02fdba0) at
/usr/src/debug/digikam-2.5.0/libs/database/databasecorebackend.cpp:921
#21 0xb6d9fb41 in Digikam::ThumbnailDB::insertThumbnail (this=0x8645f18,
info=..., lastInsertId=0xa02fdc5c) at
/usr/src/debug/digikam-2.5.0/libs/database/thumbnaildb.cpp:262
#22 0xb6dc0b5b in Digikam::ThumbnailCreator::storeInDatabase (this=0x945f7c8,
info=..., image=...) at
/usr/src/debug/digikam-2.5.0/libs/threadimageio/thumbnailcreator.cpp:753
#23 0xb6dc33b4 in Digikam::ThumbnailCreator::load (this=0x945f7c8, path=...,
rect=..., pregenerate=false) at
/usr/src/debug/digikam-2.5.0/libs/threadimageio/thumbnailcreator.cpp:264
#24 0xb6dc378a in Digikam::ThumbnailCreator::load (this=0x945f7c8, path=...) at
/usr/src/debug/digikam-2.5.0/libs/threadimageio/thumbnailcreator.cpp:196
#25 0xb6dc9a7b in Digikam::ThumbnailLoadingTask::execute (this=0xb723440) at
/usr/src/debug/digikam-2.5.0/libs/threadimageio/thumbnailtask.cpp:169
#26 0xb6db3a46 in Digikam::LoadSaveThread::run (this=0x945f458) at
/usr/src/debug/digikam-2.5.0/libs/threadimageio/loadsavethread.cpp:118
#27 0xb6dda029 in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x945eaf0) at
/usr/src/debug/digikam-2.5.0/libs/threads/dynamicthread.cpp:328
#28 0xb55d18d4 in QThreadPoolThread::run (this=0xac7d5b8) at
concurrent/qthreadpool.cpp:107
#29 0xb55dca8d in QThreadPrivate::start (arg=0xac7d5b8) at
thread/qthread_unix.cpp:298
#30 0xafacca9c in ?? () from /usr/lib/libGL.so.1
#31 0x00000000 in ?? ()

Thread 1 (Thread 0xadd31ad0 (LWP 4855)):
[KCrash Handler]
#6  QUtf8::convertFromUnicode (uc=0x7fffffff, len=203120040, state=0x0) at
codecs/qutfcodec.cpp:91
#7  0xb5626599 in QString::toUtf8 (this=0xb407850) at tools/qstring.cpp:3789
#8  0xa496861b in KIPIHTMLExport::XMLWriter::writeElement (this=0xbfac2390,
element=0xa49773dd "description", value=...) at
/usr/src/debug/kipi-plugins-2.5.0/htmlexport/xmlutils.h:90
#9  0xa49699d4 in KIPIHTMLExport::ImageElement::appendToXML (this=0xb407848,
xmlWriter=..., copyOriginalImage=false) at
/usr/src/debug/kipi-plugins-2.5.0/htmlexport/imageelement.h:104
#10 0xa496c79e in KIPIHTMLExport::Generator::Private::generateImagesAndXML
(this=0xb92c438) at
/usr/src/debug/kipi-plugins-2.5.0/htmlexport/generator.cpp:278
#11 0xa4967c53 in KIPIHTMLExport::Generator::run (this=0xbfac248c) at
/usr/src/debug/kipi-plugins-2.5.0/htmlexport/generator.cpp:466
#12 0xa497090c in KIPIHTMLExport::Plugin::slotActivate (this=0x9fe3748) at
/usr/src/debug/kipi-plugins-2.5.0/htmlexport/plugin.cpp:99
#13 0xa4970ae6 in KIPIHTMLExport::Plugin::qt_metacall (this=0x9fe3748,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfac2628) at
/usr/src/debug/kipi-plugins-2.5.0/BUILD-i586-alt-linux/htmlexport/plugin.moc:74
#14 0xb56dc0ee in QMetaObject::metacall (object=0x9fe3748,
cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfac2628) at
kernel/qmetaobject.cpp:245
#15 0xb56eac99 in QMetaObject::activate (sender=0x9fdcbd8, m=0x83e3248,
local_signal_index=1, argv=0xbfac2628) at kernel/qobject.cpp:3572
#16 0xb5acf2d9 in QAction::triggered (this=0x9fdcbd8, _t1=false) at
.moc/release-shared/moc_qaction.cpp:277
#17 0xb5acf52b in QAction::activate (this=0x9fdcbd8, event=QAction::Trigger) at
kernel/qaction.cpp:1257
#18 0xb5f32862 in QMenuPrivate::activateCausedStack (this=0x8a5b248,
causedStack=..., action=0x9fdcbd8, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1029
#19 0xb5f37c92 in QMenuPrivate::activateAction (this=0x8a5b248,
action=0x9fdcbd8, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1121
#20 0xb5f39c16 in QMenu::mouseReleaseEvent (this=0x9431b60, e=0xbfac2e84) at
widgets/qmenu.cpp:2352
#21 0xb6487abc in KMenu::mouseReleaseEvent (this=0x9431b60, e=0xbfac2e84) at
/usr/src/debug/kdelibs-4.8.0/kdeui/widgets/kmenu.cpp:464
#22 0xb5b27fa1 in QWidget::event (this=0x9431b60, event=0xbfac2e84) at
kernel/qwidget.cpp:8361
#23 0xb5f38ab4 in QMenu::event (this=0x9431b60, e=0xbfac2e84) at
widgets/qmenu.cpp:2461
#24 0xb5ad511c in QApplicationPrivate::notify_helper (this=0x8497908,
receiver=0x9431b60, e=0xbfac2e84) at kernel/qapplication.cpp:4550
#25 0xb5ad98b4 in QApplication::notify (this=0xbfac3780, receiver=0x9431b60,
e=0xbfac2e84) at kernel/qapplication.cpp:4093
#26 0xb63f6517 in KApplication::notify (this=0xbfac3780, receiver=0x9431b60,
event=0xbfac2e84) at
/usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#27 0xb56d5dd8 in QCoreApplication::notifyInternal (this=0xbfac3780,
receiver=0x9431b60, event=0xbfac2e84) at kernel/qcoreapplication.cpp:876
#28 0xb5ad6099 in sendSpontaneousEvent (receiver=0x9431b60, event=0xbfac2e84,
alienWidget=0x0, nativeWidget=0x9431b60, buttonDown=0xb625bc20,
lastMouseReceiver=..., spontaneous=true) at
../../src/corelib/kernel/qcoreapplication.h:234
#29 QApplicationPrivate::sendMouseEvent (receiver=0x9431b60, event=0xbfac2e84,
alienWidget=0x0, nativeWidget=0x9431b60, buttonDown=0xb625bc20,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3159
#30 0xb5b5370f in QETWidget::translateMouseEvent (this=0x9431b60,
event=0xbfac33ac) at kernel/qapplication_x11.cpp:4458
#31 0xb5b5230e in QApplication::x11ProcessEvent (this=0xbfac3780,
event=0xbfac33ac) at kernel/qapplication_x11.cpp:3519
#32 0xb5b7a782 in x11EventSourceDispatch (s=0x84990c0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0xb3c932ca in g_main_dispatch (context=0x8497208) at gmain.c:2441
#34 g_main_context_dispatch (context=0x8497208) at gmain.c:3011
#35 0xb3c93ab0 in g_main_context_iterate (context=0x8497208, block=1,
dispatch=1, self=<value optimized out>) at gmain.c:3089
#36 0xb3c93cd8 in g_main_context_iteration (context=0x8497208, may_block=1) at
gmain.c:3152
#37 0xb57030fc in QEventDispatcherGlib::processEvents (this=0x8453d20,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0xb5b7a4a5 in QGuiEventDispatcherGlib::processEvents (this=0x8453d20,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0xb56d4cb9 in QEventLoop::processEvents (this=0xbfac3684, flags=...) at
kernel/qeventloop.cpp:149
#40 0xb56d4fda in QEventLoop::exec (this=0xbfac3684, flags=...) at
kernel/qeventloop.cpp:200
#41 0xb56d9057 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0xb5ad33d7 in QApplication::exec () at kernel/qapplication.cpp:3811
#43 0x082044a3 in main (argc=) at
/usr/src/debug/digikam-2.5.0/digikam/main/main.cpp:232

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list