Summary: | Crash when generating fingerprint in digikam | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | julien.t43+kde |
Component: | Metadata-Engine | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ahuggel, axel.krebs, caulier.gilles, info, julien.t43+kde |
Priority: | NOR | ||
Version: | 2.5.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 3.0.0 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi |
Description
julien.t43+kde
2012-06-02 10:53:57 UTC
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. |