Bug 216327 - crashed when scanning for new pictures
Summary: crashed when scanning for new pictures
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 1.0.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 00:02 UTC by Michael Bodenbach
Modified: 2017-08-10 19:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bodenbach 2009-11-27 00:02:14 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta5
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fec66c05750 (LWP 1907))]

Thread 2 (Thread 0x7fec54e76910 (LWP 1908)):
[KCrash Handler]
#5  0x00007fec4cb77b60 in ?? ()
#6  0x00007fec5eb27c5d in Exiv2::ExifKey::clone() const () from /usr/lib/libexiv2.so.5
#7  0x00007fec5eadb6c7 in Exiv2::Exifdatum::Exifdatum(Exiv2::Exifdatum const&) () from /usr/lib/libexiv2.so.5
#8  0x00007fec6532ffb0 in KExiv2Iface::KExiv2::getExifTagVariant(char const*, bool, bool, int) const () from /usr/lib/libkexiv2.so.7
#9  0x00007fec63e5ad84 in Digikam::DMetadata::fromExifOrXmp (this=0x7fec54e74d00, exifTagName=0x0, xmpTagName=0x7fec64014e7b "Xmp.tiff.Make")
    at /build/buildd/digikam-1.0.0~beta5/libs/dmetadata/dmetadata.cpp:1043
#10 0x00007fec63e569e4 in Digikam::DMetadata::getMetadataField (this=0x7fec54e74d00, field=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/libs/dmetadata/dmetadata.cpp:1174
#11 0x00007fec63e58549 in Digikam::DMetadata::getMetadataFields (this=<value optimized out>, fields=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/libs/dmetadata/dmetadata.cpp:1370
#12 0x00007fec63a7e143 in Digikam::ImageScanner::scanImageMetadata (this=0x7fec54e74cf0) at /build/buildd/digikam-1.0.0~beta5/libs/database/imagescanner.cpp:325
#13 0x00007fec63a84e53 in Digikam::ImageScanner::scanFile (this=0x7fec54e74cf0) at /build/buildd/digikam-1.0.0~beta5/libs/database/imagescanner.cpp:158
#14 0x00007fec63a3674b in Digikam::CollectionScanner::scanNewFile (this=0x7fec54e75ff0, info=..., albumId=1758) at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:722
#15 0x00007fec63a37f39 in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:637
#16 0x00007fec63a37e5b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:655
#17 0x00007fec63a37e5b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:655
#18 0x00007fec63a37e5b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:655
#19 0x00007fec63a37e5b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:655
#20 0x00007fec63a37e5b in Digikam::CollectionScanner::scanAlbum (this=<value optimized out>, location=<value optimized out>, album=<value optimized out>)
    at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:655
#21 0x00007fec63a38637 in Digikam::CollectionScanner::scanAlbumRoot (this=0x7fec54e75ff0, location=...) at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:451
#22 0x00007fec63a38980 in Digikam::CollectionScanner::completeScan (this=0x7fec54e75ff0) at /build/buildd/digikam-1.0.0~beta5/libs/database/collectionscanner.cpp:228
#23 0x00000000006c8d32 in Digikam::ScanController::run (this=0x221ecb0) at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:523
#24 0x00007fec60553445 in QThreadPrivate::start (arg=0x221ecb0) at thread/qthread_unix.cpp:188
#25 0x00007fec5e853a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#26 0x00007fec5faba7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fec66c05750 (LWP 1907)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fec605544fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x221eac0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x221eac0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fec605534e4 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:484
#4  0x00000000006c8a47 in Digikam::ScanController::shutDown (this=0x221ecb0) at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:288
#5  0x00000000006cc9bb in ~ScanController (this=0x221e19c, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:271
#6  0x00000000006ccb57 in ~ScanControllerCreator () at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:219
#7  destroy () at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:220
#8  0x00007fec5fa13c12 in __run_exit_handlers (status=1) at exit.c:78
#9  *__GI_exit (status=1) at exit.c:100
#10 0x00007fec61226328 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#11 0x00007fec625bb498 in KApplication::xioErrhandler (this=0x7fffe5dc31d0, dpy=0x2115470) at ../../kdeui/kernel/kapplication.cpp:408
#12 0x00007fec5ee56fae in _XIOError () from /usr/lib/libX11.so.6
#13 0x00007fec5ee5e9a5 in ?? () from /usr/lib/libX11.so.6
#14 0x00007fec5ee5f257 in _XEventsQueued () from /usr/lib/libX11.so.6
#15 0x00007fec5ee4801b in XEventsQueued () from /usr/lib/libX11.so.6
#16 0x00007fec6125f67c in x11EventSourceCheck (s=0x20f2b60) at kernel/qguieventdispatcher_glib.cpp:87
#17 0x00007fec59f34a9a in g_main_context_check () from /lib/libglib-2.0.so.0
#18 0x00007fec59f35280 in ?? () from /lib/libglib-2.0.so.0
#19 0x00007fec59f356b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#20 0x00007fec606621a6 in QEventDispatcherGlib::processEvents (this=0x20bc590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#21 0x00007fec6125f4be in QGuiEventDispatcherGlib::processEvents (this=0x221e19c, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#22 0x00007fec60638532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#23 0x00007fec60638904 in QEventLoop::exec (this=0x221e460, flags=) at kernel/qeventloop.cpp:201
#24 0x00000000006ca0b1 in Digikam::ScanController::completeCollectionScan (this=0x221ecb0, splash=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/digikam/scancontroller.cpp:376
#25 0x00000000006699f3 in DigikamApp (this=0x23de440, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/digikam/digikamapp.cpp:170
#26 0x000000000075fb45 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/digikam/main.cpp:163
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

Reported using DrKonqi
Comment 1 caulier.gilles 2009-11-27 10:42:54 UTC
Dound like you use an old version of libkexiv2 from kdegraphics. Please update, recompile digiKam and try again

Gilles Caulier
Comment 2 Mark Purcell 2009-11-27 10:53:42 UTC
To avoid such situations in the future is it possible for digikam to check at compile time that it is being build against the correct version of libkexiv2?
Comment 3 caulier.gilles 2009-12-25 20:10:43 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 4 caulier.gilles 2010-01-25 21:51:09 UTC
digiKam 1.1. release will be done in few days. Please check if this entry still valid.

Thanks in advance

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

Thanks in advance

Gilles Caulier
Comment 6 Michael Bodenbach 2010-04-05 08:44:46 UTC
Could not reproduce with new version.