Application: digikam (2.5.0) KDE Platform Version: 4.7.4 (4.7.4) Qt Version: 4.7.4 Operating System: Linux 3.0.0-20-generic i686 Distribution: Ubuntu 11.10 -- Information about the crash: - What I was doing when the application crashed: I started digikam to regenerate fingerprint (analyze option/not all) before going to sleep. After my box was left untouched. the next morning digikam had crashed. Digikam 2.5 from ppa on lubuntu 11.10 -- Backtrace: Application: digiKam (digikam), signal: Bus error [Current thread is 1 (Thread 0xb547c8c0 (LWP 13349))] Thread 4 (Thread 0xb4714b70 (LWP 13352)): #0 0x002f1416 in __kernel_vsyscall () #1 0x00e65a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x0154609c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6 #3 0x02986cc0 in wait (time=4294967295, this=0x8c9cf40) at thread/qwaitcondition_unix.cpp:88 #4 QWaitCondition::wait (this=0x8c9ce6c, mutex=0x8c9ce68, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #5 0x082025e5 in Digikam::ScanController::run (this=0x8c951c0) at /build/buildd/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647 #6 0x029867b3 in QThreadPrivate::start (arg=0x8c951c0) at thread/qthread_unix.cpp:331 #7 0x00e61d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #8 0x0153846e in clone () from /lib/i386-linux-gnu/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 3 (Thread 0xb3f13b70 (LWP 13353)): #0 0x015462b2 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6 #1 0x01d90839 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #2 0x01d90c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x02aafb37 in QEventDispatcherGlib::processEvents (this=0x8ca1130, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #4 0x02a801dd in QEventLoop::processEvents (this=0xb3f13100, flags=...) at kernel/qeventloop.cpp:149 #5 0x02a80421 in QEventLoop::exec (this=0xb3f13100, flags=...) at kernel/qeventloop.cpp:201 #6 0x0298390b in QThread::exec (this=0x8c9f0e8) at thread/qthread.cpp:498 #7 0x02a60e2d in QInotifyFileSystemWatcherEngine::run (this=0x8c9f0e8) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x029867b3 in QThreadPrivate::start (arg=0x8c9f0e8) at thread/qthread_unix.cpp:331 #9 0x00e61d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #10 0x0153846e in clone () from /lib/i386-linux-gnu/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 2 (Thread 0xa89cdb70 (LWP 20693)): [KCrash Handler] #7 0x0157e1d7 in ?? () from /lib/i386-linux-gnu/libc.so.6 #8 0x07505451 in Exiv2::DataBuf::DataBuf(unsigned char const*, long) () from /usr/lib/libexiv2.so.11 #9 0x074be05c in ?? () from /usr/lib/libexiv2.so.11 #10 0x074bbeff in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib/libexiv2.so.11 #11 0x00e1b0bb in KExiv2Iface::KExiv2Previews::data(int) () from /usr/lib/libkexiv2.so.10 #12 0x00e1b1de in KExiv2Iface::KExiv2Previews::image(int) () from /usr/lib/libkexiv2.so.10 #13 0x01211f4c in Digikam::PreviewLoadingTask::execute (this=0xa842350) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/previewtask.cpp:239 #14 0x011f9b38 in Digikam::LoadSaveThread::run (this=0x9a11c30) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/loadsavethread.cpp:118 #15 0x012430de in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x8cfbc38) at /build/buildd/digikam-2.5.0/core/libs/threads/dynamicthread.cpp:328 #16 0x0297a651 in QThreadPoolThread::run (this=0xa1ff2c0) at concurrent/qthreadpool.cpp:106 #17 0x029867b3 in QThreadPrivate::start (arg=0xa1ff2c0) at thread/qthread_unix.cpp:331 #18 0x00e61d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0 #19 0x0153846e in clone () from /lib/i386-linux-gnu/libc.so.6 Backtrace stopped: Not enough registers or memory available to unwind further Thread 1 (Thread 0xb547c8c0 (LWP 13349)): #0 0x002f1416 in __kernel_vsyscall () #1 0x00e65a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0 #2 0x0154609c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6 #3 0x02986cc0 in wait (time=4294967295, this=0x8f09df0) at thread/qwaitcondition_unix.cpp:88 #4 QWaitCondition::wait (this=0x8f09d0c, mutex=0x8f09cf8, time=4294967295) at thread/qwaitcondition_unix.cpp:160 #5 0x02979f92 in QThreadPoolPrivate::waitForDone (this=0x8f09ca8) at concurrent/qthreadpool.cpp:295 #6 0x0297b3e0 in QThreadPool::~QThreadPool (this=0x8e1b888, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:428 #7 0x0297b442 in QThreadPool::~QThreadPool (this=0x8e1b888, __in_chrg=<optimized out>) at concurrent/qthreadpool.cpp:430 #8 0x02a95841 in QObjectPrivate::deleteChildren (this=0x8e1b4e8) at kernel/qobject.cpp:1955 #9 0x02a9a439 in QObject::~QObject (this=0x8ee62c8, __in_chrg=<optimized out>) at kernel/qobject.cpp:946 #10 0x01240428 in Digikam::ThreadManager::~ThreadManager (this=0x8ee62c8, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:257 #11 0x012404b9 in ~ThreadManagerCreator (this=0x8ee62c8, __in_chrg=<optimized out>) at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:236 #12 destroy () at /build/buildd/digikam-2.5.0/core/libs/threads/threadmanager.cpp:241 #13 0x010219f9 in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x145d944, __in_chrg=<optimized out>) at /usr/include/kglobal.h:62 #14 0x01497981 in ?? () from /lib/i386-linux-gnu/libc.so.6 #15 0x01497a0d in exit () from /lib/i386-linux-gnu/libc.so.6 #16 0x0501be68 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:781 #17 0x02e2ca39 in KApplication::xioErrhandler (this=0xbfa3fbd0, dpy=0x8be5668) at ../../kdeui/kernel/kapplication.cpp:419 #18 0x02e2ca74 in kde_xio_errhandler (dpy=0x8be5668) at ../../kdeui/kernel/kapplication.cpp:126 #19 0x03783e14 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6 #20 0x0378149f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6 #21 0x03771c88 in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6 #22 0x0505bc45 in x11EventSourceCheck (s=0x8bcb4f8) at kernel/qguieventdispatcher_glib.cpp:85 #23 0x01d8ff24 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0 #24 0x01d908f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #25 0x01d90c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #26 0x02aafada in QEventDispatcherGlib::processEvents (this=0x8b890c8, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #27 0x0505be7a in QGuiEventDispatcherGlib::processEvents (this=0x8b890c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #28 0x02a801dd in QEventLoop::processEvents (this=0xbfa3fab4, flags=...) at kernel/qeventloop.cpp:149 #29 0x02a80421 in QEventLoop::exec (this=0xbfa3fab4, flags=...) at kernel/qeventloop.cpp:201 #30 0x02a8519d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064 #31 0x04fa1924 in QApplication::exec () at kernel/qapplication.cpp:3760 #32 0x080b6984 in main (argc=) at /build/buildd/digikam-2.5.0/core/digikam/main/main.cpp:232 Reported using DrKonqi
It crash in Exiv2 library when preview are extracted. Which libkexiv2 version you use ? Which Exiv2 library you use ? Got to Help/Components Info dialog for details Gilles Caulier
Created attachment 71510 [details] New crash information added by DrKonqi digikam (2.5.0) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4 - What I was doing when the application crashed: same thing than previous bug reported. 2nd try. -- Backtrace (Reduced): #8 0x02ac9451 in Exiv2::DataBuf::DataBuf(unsigned char const*, long) () from /usr/lib/libexiv2.so.11 [...] #10 0x02a7feff in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib/libexiv2.so.11 #11 0x008890bb in KExiv2Iface::KExiv2Previews::data(int) () from /usr/lib/libkexiv2.so.10 #12 0x008891de in KExiv2Iface::KExiv2Previews::image(int) () from /usr/lib/libkexiv2.so.10 #13 0x088faf4c in Digikam::PreviewLoadingTask::execute (this=0xa446d88) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/previewtask.cpp:239
Yes, it's an Exiv2 library issue. Can you identify which file crash Exiv2 and share it in this room for investigation ? Gilles Caulier
$ dpkg -l |grep exiv2 ii exiv2 0.22-oneiric~ppa2 EXIF/IPTC metadata manipulation tool ii libexiv2-10 0.21.1-0ubuntu2 EXIF/IPTC metadata manipulation library ii libexiv2-11 0.22-oneiric~ppa2 EXIF/IPTC metadata manipulation library ii libkexiv2-10 4:4.7.2-oneiric~ppa2 Qt like interface for the libexiv2 library (runtime) ii libkexiv2-data 4:4.7.2-oneiric~ppa2 Qt like interface for the libexiv2 library (data files) from digikam help: libexiv2: 0.22 libkexiv2: 2.1.0 I don't know how to identify a specific file, as I don't select one, I opened digikam and ask to regen fingerprint db (partial rebuild). after unless the crash log can say which file it is (which I didn't see in backtrace), I can't else. try again and crashed.
Created attachment 71666 [details] New crash information added by DrKonqi digikam (2.5.0) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4 - What I was doing when the application crashed: 3rd time try to regenerate fingerprint just after opening -- Backtrace (Reduced): #8 0x078eb451 in Exiv2::DataBuf::DataBuf(unsigned char const*, long) () from /usr/lib/libexiv2.so.11 [...] #10 0x078a1eff in Exiv2::PreviewManager::getPreviewImage(Exiv2::PreviewProperties const&) const () from /usr/lib/libexiv2.so.11 #11 0x002cb0bb in KExiv2Iface::KExiv2Previews::data(int) () from /usr/lib/libkexiv2.so.10 #12 0x002cb1de in KExiv2Iface::KExiv2Previews::image(int) () from /usr/lib/libkexiv2.so.10 #13 0x01263f4c in Digikam::PreviewLoadingTask::execute (this=0xb9d2ee0) at /build/buildd/digikam-2.5.0/core/libs/threadimageio/previewtask.cpp:239
Official digiKam 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
Julien, please check the console output of digikam (be sure to have enabled 50003 in kdebugdialog). Usually, the relevant file will be printed on the lines shortly before the crash.
Hello Marcel, debug was enabled but I didn't try with digikam in console. I retried today w 2.5.0 (can't update now as I have lubuntu 11.10 and need first update system which I prefer to delay for now) and it works ok. I recently had a few bad files (with I/O problem) so I suppose it was the source of the problem. fsck is normal, still have to do a badblocks check. Will retry later after 2.6 upgrade, just in case.
Maybe i got the same error depending on comparing the log. I've Digikam 2.6 on OpenSuse 12.1 and mounted via fusesmb. Application: digiKam (digikam), signal: Bus error [Current thread is 1 (Thread 0xb04feb00 (LWP 3951))] Thread 8 (Thread 0xaf6b4b40 (LWP 3952)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb40efa4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb479c26c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb5553300 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0x0820f51e in ?? () #5 0xb5552d90 in ?? () from /usr/lib/libQtCore.so.4 #6 0xb40ebe32 in start_thread () from /lib/libpthread.so.0 #7 0xb478e93e in clone () from /lib/libc.so.6 Thread 7 (Thread 0xaecffb40 (LWP 3953)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb40efa4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb479c26c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb2eed04b in g_main_context_wait () from /usr/lib/libglib-2.0.so.0 #4 0xb2eee1cd in ?? () from /usr/lib/libglib-2.0.so.0 #5 0xb2eee7fa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #6 0xb569571f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb566233c in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb5662631 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #9 0xb554f9cc in QThread::exec() () from /usr/lib/libQtCore.so.4 #10 0xb5640acd in ?? () from /usr/lib/libQtCore.so.4 #11 0xb5552d90 in ?? () from /usr/lib/libQtCore.so.4 #12 0xb40ebe32 in start_thread () from /lib/libpthread.so.0 #13 0xb478e93e in clone () from /lib/libc.so.6 Thread 6 (Thread 0xae2ffb40 (LWP 3957)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb40efa4c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb479c26c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb5553300 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0xb6a3c2fc in ?? () from /usr/lib/libdigikamcore.so.2 #5 0xb5552d90 in ?? () from /usr/lib/libQtCore.so.4 #6 0xb40ebe32 in start_thread () from /lib/libpthread.so.0 #7 0xb478e93e in clone () from /lib/libc.so.6 Thread 5 (Thread 0xa3c42b40 (LWP 3983)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb47876f1 in select () from /lib/libc.so.6 #2 0xb563ed93 in ?? () from /usr/lib/libQtCore.so.4 #3 0xb5552d90 in ?? () from /usr/lib/libQtCore.so.4 #4 0xb40ebe32 in start_thread () from /lib/libpthread.so.0 #5 0xb478e93e in clone () from /lib/libc.so.6 Thread 4 (Thread 0xad682b40 (LWP 3999)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb478afa7 in syscall () from /lib/libc.so.6 #2 0xb5551667 in ?? () from /usr/lib/libQtCore.so.4 #3 0xb554d588 in QMutex::lock() () from /usr/lib/libQtCore.so.4 #4 0xb65b1d4d in Digikam::DatabaseAccess::DatabaseAccess() () from /usr/lib/libdigikamdatabase.so.2 #5 0xb65a934f in Digikam::CollectionManager::locationForPath(QString const&) () from /usr/lib/libdigikamdatabase.so.2 #6 0xb65a9731 in Digikam::CollectionManager::locationForUrl(KUrl const&) () from /usr/lib/libdigikamdatabase.so.2 #7 0x0a7888d4 in ?? () #8 0xad681edc in ?? () Backtrace stopped: Not enough registers or memory available to unwind further Thread 3 (Thread 0xa3441b40 (LWP 4018)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb40efe04 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb479c2c4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb555327d in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #4 0xb5545bac in ?? () from /usr/lib/libQtCore.so.4 #5 0xb5552d90 in ?? () from /usr/lib/libQtCore.so.4 #6 0xb40ebe32 in start_thread () from /lib/libpthread.so.0 #7 0xb478e93e in clone () from /lib/libc.so.6 Thread 2 (Thread 0xa2c40b40 (LWP 4019)): [KCrash Handler] #6 0xb47d512f in __memcpy_ssse3 () from /lib/libc.so.6 #7 0xb338da7b in _TIFFmemcpy () from /usr/lib/libtiff.so.5 #8 0xb3353ce6 in ?? () from /usr/lib/libtiff.so.5 #9 0xb335432d in ?? () from /usr/lib/libtiff.so.5 #10 0xb3354601 in ?? () from /usr/lib/libtiff.so.5 #11 0xb3356af9 in ?? () from /usr/lib/libtiff.so.5 #12 0xb3359b74 in TIFFReadDirectory () from /usr/lib/libtiff.so.5 #13 0xb337e046 in TIFFClientOpen () from /usr/lib/libtiff.so.5 #14 0xb338d882 in TIFFFdOpen () from /usr/lib/libtiff.so.5 #15 0xb338d8ff in TIFFOpen () from /usr/lib/libtiff.so.5 #16 0xb685afe6 in Digikam::TIFFLoader::load(QString const&, Digikam::DImgLoaderObserver*) () from /usr/lib/libdigikamcore.so.2 #17 0xb6833019 in Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding) () from /usr/lib/libdigikamcore.so.2 #18 0xb6833f42 in Digikam::DImg::load(QString const&, bool, bool, bool, bool, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding) () from /usr/lib/libdigikamcore.so.2 #19 0xb6a1a628 in Digikam::ThumbnailCreator::loadWithDImg(QString const&, Digikam::IccProfile*) const () from /usr/lib/libdigikamcore.so.2 #20 0xb6a1b986 in Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&, QRect const&, bool) const () from /usr/lib/libdigikamcore.so.2 #21 0xa2c3ff60 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Thread 1 (Thread 0xb04feb00 (LWP 3951)): #0 0xffffe424 in __kernel_vsyscall () #1 0xb477d2eb in read () from /lib/libc.so.6 #2 0xad85c638 in vio_read () from /usr/lib/libmysqlclient.so.18 #3 0xad85c6a4 in vio_read_buff () from /usr/lib/libmysqlclient.so.18 #4 0xad84b8a3 in ?? () from /usr/lib/libmysqlclient.so.18 #5 0xad84c3e3 in my_net_read () from /usr/lib/libmysqlclient.so.18 #6 0xad844e94 in cli_safe_read () from /usr/lib/libmysqlclient.so.18 #7 0xad841643 in cli_read_prepare_result () from /usr/lib/libmysqlclient.so.18 #8 0xad841a30 in mysql_stmt_prepare () from /usr/lib/libmysqlclient.so.18 #9 0xaeeacdc1 in QMYSQLResult::prepare(QString const&) () from /usr/lib/qt4/plugins/sqldrivers/libqsqlmysql.so #10 0xb76d56c9 in QSqlResult::savePrepare(QString const&) () from /usr/lib/libQtSql.so.4 #11 0xb76c7732 in QSqlQuery::prepare(QString const&) () from /usr/lib/libQtSql.so.4 #12 0xb69f3cc8 in Digikam::SqlQuery::prepare(QString const&) () from /usr/lib/libdigikamcore.so.2 #13 0xb69dcac9 in Digikam::DatabaseCoreBackend::prepareQuery(QString const&) () from /usr/lib/libdigikamcore.so.2 #14 0xb658724b in Digikam::AlbumDB::getRelatedImages(long long, bool, Digikam::DatabaseRelation::Type, bool) () from /usr/lib/libdigikamdatabase.so.2 #15 0xbfa8744b in ?? () Backtrace stopped: Not enough registers or memory available to unwind further
This is a different crash, inside libtiff, but also worth investigating. Is is reproducable? Then please see comment #7 to find out a specific file which causes the crash.
*** Bug 306492 has been marked as a duplicate of this bug. ***
see comment 10
Am 03.10.2012 16:21, schrieb Marcel Wiesweg: > https://bugs.kde.org/show_bug.cgi?id=301045 > > Marcel Wiesweg <marcel.wiesweg@gmx.de> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEEDSINFO > Resolution|--- |WAITINGFORINFO > > --- Comment #12 from Marcel Wiesweg <marcel.wiesweg@gmx.de> --- > see comment 10 > Hi Marcel, when checking the bugs history [Bug 301045], I can't find myself somewhere. Besides, I can't see "comment #10" By mistaken? Axel
On my side, the problem was the files (disk I/O error). For now, with a new install (digikam 2.8.0/ppa), rebuilding fingerprint is fine.