Bug 191211 - digiKam crashes and causes 'signal 6 (SIGBART)' when detecting new images
Summary: digiKam crashes and causes 'signal 6 (SIGBART)' when detecting new images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 0.10.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-01 10:19 UTC by iko
Modified: 2017-08-10 19:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iko 2009-05-01 10:19:37 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Updated Ubuntu8.10 to 9.04.

Starting digiKam (from Gnome) it crashes and causes the signal 6 (SIGBART) when importing new photos from the filesystem.


Details:

Anwendung: digiKam (digikam), Signal SIGABRT
   from /lib/libpthread.so.0
[Current thread is 0 (LWP 5783)]

Thread 2 (Thread 0x7fec793c6950 (LWP 5784)):
[KCrash Handler]
#5  0x00007fec83424fb5 in raise () from /lib/libc.so.6
#6  0x00007fec83426bc3 in abort () from /lib/libc.so.6
#7  0x00007fec8341df09 in __assert_fail () from /lib/libc.so.6
#8  0x00007fec812674fd in ?? () from /usr/lib/libexiv2.so.5
#9  0x00007fec8127579e in ?? () from /usr/lib/libexiv2.so.5
#10 0x00007fec81263a44 in ?? () from /usr/lib/libexiv2.so.5
#11 0x00007fec812639f1 in ?? () from /usr/lib/libexiv2.so.5
#12 0x00007fec81263a44 in ?? () from /usr/lib/libexiv2.so.5
#13 0x00007fec812289bc in ?? () from /usr/lib/libexiv2.so.5
#14 0x00007fec81263969 in ?? () from /usr/lib/libexiv2.so.5
#15 0x00007fec81263a44 in ?? () from /usr/lib/libexiv2.so.5
#16 0x00007fec812639f1 in ?? () from /usr/lib/libexiv2.so.5
#17 0x00007fec81263a44 in ?? () from /usr/lib/libexiv2.so.5
#18 0x00007fec8126987a in ?? () from /usr/lib/libexiv2.so.5
#19 0x00007fec8126a2d4 in ?? () from /usr/lib/libexiv2.so.5
#20 0x00007fec8126a4a4 in Exiv2::TiffParser::decode () from /usr/lib/libexiv2.so.5
#21 0x00007fec81213085 in Exiv2::ExifParser::decode () from /usr/lib/libexiv2.so.5
#22 0x00007fec81224bd6 in Exiv2::JpegBase::readMetadata () from /usr/lib/libexiv2.so.5
#23 0x00007fec88c7e314 in KExiv2Iface::KExiv2::load () from /usr/lib/libkexiv2.so.7
#24 0x00007fec877f2069 in Digikam::DMetadata::load () from /usr/lib/libdigikamcore.so.1
#25 0x00007fec8744a811 in Digikam::ImageScanner::loadFromDisk () from /usr/lib/libdigikamdatabase.so.1
#26 0x00007fec87451058 in Digikam::ImageScanner::newFile () from /usr/lib/libdigikamdatabase.so.1
#27 0x00007fec87443d97 in Digikam::CollectionScanner::scanNewFile () from /usr/lib/libdigikamdatabase.so.1
#28 0x00007fec874451ee in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#29 0x00007fec87445103 in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#30 0x00007fec87445103 in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#31 0x00007fec87445103 in Digikam::CollectionScanner::scanAlbum () from /usr/lib/libdigikamdatabase.so.1
#32 0x00007fec87445c87 in Digikam::CollectionScanner::scanAlbumRoot () from /usr/lib/libdigikamdatabase.so.1
#33 0x00007fec87445f4a in Digikam::CollectionScanner::completeScan () from /usr/lib/libdigikamdatabase.so.1
#34 0x000000000064bb7a in ?? ()
#35 0x00007fec83f7a952 in ?? () from /usr/lib/libQtCore.so.4
#36 0x00007fec831dd3ba in start_thread () from /lib/libpthread.so.0
#37 0x00007fec834d7fcd in clone () from /lib/libc.so.6
#38 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fec8a548750 (LWP 5783)):
#0  0x00007fec831e12e9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fec83f7b939 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fec83f7aafc in QThread::wait () from /usr/lib/libQtCore.so.4
#3  0x000000000064b87c in ?? ()
#4  0x000000000064f33b in ?? ()
#5  0x000000000064f4d7 in ?? ()
#6  0x00007fec834286ed in exit () from /lib/libc.so.6
#7  0x00007fec84c69ef8 in ?? () from /usr/lib/libQtGui.so.4
#8  0x00007fec86040c88 in KApplication::xioErrhandler () from /usr/lib/libkdeui.so.5
#9  0x00007fec820496e4 in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007fec82050a1f in ?? () from /usr/lib/libX11.so.6
#11 0x00007fec82051345 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007fec82039ed3 in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007fec84ca4eb7 in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007fec7dfb51e2 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#15 0x00007fec7dfb55ff in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007fec7dfb5a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0x00007fec8408ce8e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#18 0x00007fec84ca4c9f in ?? () from /usr/lib/libQtGui.so.4
#19 0x00007fec84062002 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#20 0x00007fec840623cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#21 0x000000000064b4e3 in ?? ()
#22 0x000000000060fe0c in ?? ()
#23 0x00000000006717f1 in ?? ()
#24 0x00007fec834105a6 in __libc_start_main () from /lib/libc.so.6
#25 0x0000000000458839 in _start ()
Comment 1 iko 2009-05-01 10:39:23 UTC
I got the same crash when starting digiKam from KDE.

digiKam now is up and running after I removed some of the folders to import (maybe because of the number of files?). Copying the folders back makes digiKam scan them correctly.
Comment 2 caulier.gilles 2009-05-01 11:53:01 UTC
This is definitively an Exiv2 shared lib issue. 

You must update Exiv2 to last stable 0.18.1. Ubuntu only include 0.18.0 and crash have been fixed with new release.

Note that after to update Exiv2, libkexiv2, digiKam and kipi-plugins need to be recompiled, because binary compatibility between Exiv2 0.18.0 and 0.18.1 is not respected...

Luka : ubuntu team has already prepared new Exiv2 bin packages ? 

Gilles Caulier
Comment 3 Luka Renko 2009-05-01 12:01:55 UTC
Gilles: Jaunty does not have 0.18.1, as it was too late to include it. But fixes for crashers (TIFF and PNG) were backported to 0.18 version in Ubuntu 9.04. 

Do you have latest exiv2 package: 0.18-1ubuntu1?

If this does not work, you could temporarily use exiv2 0.18.1 packages from my PPA:
https://launchpad.net/~lure/+archive/ppa
Comment 4 caulier.gilles 2009-06-12 17:38:46 UTC
it,

digiKam 1.0.0-beta1 is out. Can you test with this version and with Exiv2 0.18.1. Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2009-07-20 12:25:21 UTC
Please test using Exiv2 0.18.2. You need to recompile libkexiv2 + digiKam and co...

Gilles Caulier
Comment 6 caulier.gilles 2009-12-25 20:06:57 UTC
digiKam 1.0.0 is out since few days...

http://www.digikam.org/drupal/node/491

Please try with this version coming with more than 400 bug-fixes.

Thanks in advance

Gilles Caulier
Comment 7 caulier.gilles 2010-01-25 21:47:31 UTC
digiKam 1.1. release will be done in few days. Please check if this entry still valid.

Thanks in advance

Gilles Caulier
Comment 8 caulier.gilles 2010-04-04 10:42:13 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 9 caulier.gilles 2010-10-06 13:36:47 UTC
No feedback from user...

Gilles Caulier
Comment 10 caulier.gilles 2015-07-04 06:01:32 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 11 iko 2015-07-08 16:49:28 UTC
Sorry for the late reply, problem seems resolved with 4.11

Thanks