Bug 258106 - digiKam crahed on search Pictures on individal Album
Summary: digiKam crahed on search Pictures on individal Album
Status: RESOLVED UPSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Exif (show other bugs)
Version: 1.5.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
: 258102 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-27 20:28 UTC by Xandersoft
Modified: 2017-08-13 10:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.8.0


Attachments
one of the picture where the digiKam & new bug (56.97 KB, image/png)
2011-01-03 01:46 UTC, Xandersoft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xandersoft 2010-11-27 20:28:15 UTC
Application: digikam (1.5.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.5-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
change from libkdcraw8-4.4.4-2.1.1.x86_64 to 4.4.4-500.1 does only take the effekt on die after long time

The crash can be reproduced every time.

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7fca09a887c0 (LWP 998))]

Thread 2 (Thread 0x7fc9f275b710 (LWP 999)):
[KCrash Handler]
#5  0x00007fca0347f9e5 in raise () from /lib64/libc.so.6
#6  0x00007fca03480ee6 in abort () from /lib64/libc.so.6
#7  0x00007fca03478235 in __assert_fail () from /lib64/libc.so.6
#8  0x00007fca016be13e in Exiv2::Internal::TiffMnCreator::create (tag=37500, group=256, make=<value optimized out>, pData=0x7fc9eaf23fb8 "!", size=20164, byteOrder=Exiv2::littleEndian)
    at makernote.cpp:103
#9  0x00007fca01711d38 in Exiv2::Internal::TiffReader::visitMnEntry (this=0x7fc9f2759ea0, object=0x7fc9ec37e370) at tiffvisitor.cpp:1290
#10 0x00007fca01701ba8 in Exiv2::Internal::TiffMnEntry::doAccept (this=0x7fc9ec37e370, visitor=...) at tiffcomposite.cpp:918
#11 0x00007fca01701d17 in Exiv2::Internal::TiffDirectory::doAccept (this=0x7fc9ec266110, visitor=...) at tiffcomposite.cpp:900
#12 0x00007fca01701c3e in Exiv2::Internal::TiffSubIfd::doAccept (this=0x7fc9ec34a230, visitor=...) at tiffcomposite.cpp:912
#13 0x00007fca01701d17 in Exiv2::Internal::TiffDirectory::doAccept (this=0x7fc9ec3105e0, visitor=...) at tiffcomposite.cpp:900
#14 0x00007fca01707623 in Exiv2::Internal::TiffParserWorker::parse (pData=0x7fc9eaf23000 "II*", size=17681488, root=<value optimized out>, pHeader=<value optimized out>) at tiffimage.cpp:1380
#15 0x00007fca01707eba in Exiv2::Internal::TiffParserWorker::decode (exifData=..., iptcData=..., xmpData=..., pData=<value optimized out>, size=<value optimized out>, root=<value optimized out>, 
    findDecoderFct=0x7fca01707240 <Exiv2::Internal::TiffMapping::findDecoder(std::string const&, uint32_t, uint16_t)>, pHeader=0x7fc9f275a090) at tiffimage.cpp:1280
#16 0x00007fca01698807 in Exiv2::Cr2Parser::decode (exifData=..., iptcData=..., xmpData=..., pData=0x7fc9eaf23000 "II*", size=<value optimized out>) at cr2image.cpp:152
#17 0x00007fca016989bd in Exiv2::Cr2Image::readMetadata (this=0x7fc9ec080980) at cr2image.cpp:126
#18 0x00007fca082077b3 in KExiv2Iface::KExiv2::load(QString const&) const () from /usr/lib64/libkexiv2.so.8
#19 0x00007fca06f94d19 in Digikam::DMetadata::load(QString const&) const () from /usr/lib64/libdigikamcore.so.1
#20 0x00007fca06aba0ee in Digikam::ImageScanner::loadFromDisk() () from /usr/lib64/libdigikamdatabase.so.1
#21 0x00007fca06abf129 in Digikam::ImageScanner::fileModified() () from /usr/lib64/libdigikamdatabase.so.1
#22 0x00007fca06a72a84 in Digikam::CollectionScanner::scanModifiedFile(QFileInfo const&, Digikam::ItemScanInfo const&) () from /usr/lib64/libdigikamdatabase.so.1
#23 0x00007fca06a73939 in Digikam::CollectionScanner::scanFileNormal(QFileInfo const&, Digikam::ItemScanInfo const&) () from /usr/lib64/libdigikamdatabase.so.1
#24 0x00007fca06a743e4 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.1
#25 0x00007fca06a742c4 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.1
#26 0x00007fca06a742c4 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.1
#27 0x00007fca06a74eb7 in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () from /usr/lib64/libdigikamdatabase.so.1
#28 0x00007fca06a75180 in Digikam::CollectionScanner::completeScan() () from /usr/lib64/libdigikamdatabase.so.1
#29 0x00000000006b59c7 in ?? ()
#30 0x00007fca04211bf5 in ?? () from /usr/lib64/libQtCore.so.4
#31 0x00007fca01a07a4f in start_thread () from /lib64/libpthread.so.0
#32 0x00007fca0351d82d in clone () from /lib64/libc.so.6
#33 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fca09a887c0 (LWP 998)):
#0  0x00007fca01a0c39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fca042122bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fca04211331 in QThread::wait(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00000000006b34fa in ?? ()
#4  0x00000000006b6bdd in ?? ()
#5  0x00000000006b6df7 in ?? ()
#6  0x00007fca034824e1 in __run_exit_handlers () from /lib64/libc.so.6
#7  0x00007fca03482535 in exit () from /lib64/libc.so.6
#8  0x00007fca04c90cb8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:744
#9  0x00007fca0583fbc8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#10 0x00007fca0219ba3e in _XIOError () from /usr/lib64/libX11.so.6
#11 0x00007fca021a25a5 in ?? () from /usr/lib64/libX11.so.6
#12 0x00007fca021a290c in _XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007fca0218b7ef in XEventsQueued () from /usr/lib64/libX11.so.6
#14 0x00007fca04cc7fec in x11EventSourceCheck (s=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:85
#15 0x00007fc9fcd76718 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#16 0x00007fc9fcd76ff2 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007fc9fcd77510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fca0432167f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#19 0x00007fca04cc814e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007fca042f8292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00007fca042f8495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#22 0x00000000006b3887 in ?? ()
#23 0x000000000066b653 in ?? ()
#24 0x0000000000722d0b in ?? ()
#25 0x00007fca0346bb7d in __libc_start_main () from /lib64/libc.so.6
#26 0x000000000047bf89 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-27 22:45:36 UTC
[Comment from a bug triager]
This seems to be related/the same to your other crash on bug 258102 (KPhotoAlbum). Regards
Comment 2 caulier.gilles 2010-11-28 00:13:50 UTC
Crash appears in Exiv2 library.

Which Exiv2/libkexiv2 version you use ? Go to Help/Components Info for details.

Gilles Caulier
Comment 3 Xandersoft 2010-11-28 17:41:21 UTC
i did used th libkexiv2 4.4.4-2.1.1 by Main Update Repo
Comment 4 Andreas Huggel 2010-11-29 02:40:15 UTC
The crash appears to be in Exiv2 while reading a CR2 image. It seems to be the same issue as bug 258102 as Dario said.

Which version of Exiv2 are you using? (exiv2 -V)

Please try to find the offending image and reproduce the issue with the exiv2 command line tool: Just run something like 

$ exiv2 -v *.CR2

over the CR2 images that you were loading with kphotoalbum. We need that image to fix the problem. Please post a link, attach it here or send it to me at ahuggel at gmx dot net once you identified it.

Andreas
Comment 5 Xandersoft 2010-12-01 00:18:30 UTC
Here the answer:
exiv2 -v *.CR2

"File  1/96: 2010_10_25_IMG_100_3651.CR2
exiv2: makernote.cpp:103: static Exiv2::Internal::TiffComponent* Exiv2::Internal::TiffMnCreator::create(uint16_t, uint16_t, const std::string&, const Exiv2::byte*, uint32_t, Exiv2::ByteOrder): Assertion `tmr->newMnFct_' failed.
Aborted"

Thats what you need?
Comment 6 Andreas Huggel 2010-12-01 01:35:53 UTC
Good, can you send me this image : 2010_10_25_IMG_100_3651.CR2
Please upload it somewhere, attach it here or send it to me by mail.

Andreas
Comment 7 Dario Andres 2010-12-12 15:14:41 UTC
*** Bug 258102 has been marked as a duplicate of this bug. ***
Comment 8 Xandersoft 2011-01-03 01:46:43 UTC
Created attachment 55493 [details]
one of the picture where the digiKam & new bug

one of the pic (link) where digiKam crashed & new BUG

http://lexeck.com/pictures/crashed/2010_08_16_IMG_100_3104.CR2
Comment 9 Andreas Huggel 2011-01-03 02:45:31 UTC
Thanks for the image. I believe this problem is fixed in Exiv2 0.21, please upgrade and report if it still occurs.

http://dev.exiv2.org/issues/show/736
Comment 10 Marcel Wiesweg 2011-01-18 15:42:26 UTC
Exiv2 issue, marking as upstream.