Summary: | segfault with Samsung S85 RAW images | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Edelhard Becker <edelhard> |
Component: | Plugin-DImg-RAW | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, lexa, lure |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.0.0 | |
Sentry Crash Report: | |||
Attachments: |
screenshot of digiKam 0.10.0-rc2 Raw import tool try to decode S85 RAW file
Samsung S85 RAW can be decoded with libraw 0.6.0... |
Description
Edelhard Becker
2009-01-31 18:34:58 UTC
It's a binary compatibility broken with libkdcraw installed on your computer. Check your system... Note : digiKam and kipi-plugins don't use dcraw program (thrue libkdcraw) but libraw now... Gilles Caulier Edelhard, Are you read me comment #1 ? Gilles Caulier (In reply to comment #2) > Are you read me comment #1 ? ahh, yes, sorry for the silence, but i'm still puzzled what exactly to do now. As explained, im testing this in Debian experimental, with precompiled binaries. I did not compile anything locally, so i can not "check my system" apart from resolving all dependencies as they are requiered by the debian packages. All packages currently are from the 4.2.0 KDE Release (Debian revision -1) including libkdcraw7 and libkipi6. Only the kipi-plugins package has version 0.2.0~rc1-1. See http://packages.debian.org/experimental/kipi-plugins for all dependencies that i have installed. So is this a bug i should report to the debian package maintainers of kipi-plugins? Or libkdcraw? Or should i try to install libkdcraw debug packages (with symbols) and run my test under gdb? Edelhard - still puzzled (as the error message points to a free()ed pointer in libkdcraw... Luka ? Gilles Installing appropriate -dbg packages would help. Not sure about Debian packages, but this may be actually related to specific RAW file. Would it be possible to send this specific file over e-mail so that we can try on some other system? I can confirm that S85 RAW file cannot be decoded with LibRaw 0.7.0. Of course S85 RAW file is supported officially. Look messages from the console: digikam(13889) Digikam::DImg::load: "/mnt/data/photos/Albums/Test Pictures/RAW/Horizontal/SN850452.RAW" : RAW file identified digikam(13889) KExiv2Iface::KExiv2Priv::printExiv2ExceptionError: Cannot load metadata using Exiv2 (Error # 11 : /mnt/data/photos/Albums/Test Pictures/RAW/Horizontal/SN850452.RAW: The file contains data of an unknown image type Failed to read metadata from /mnt/data/photos/Albums/Test Pictures/RAW/Horizontal/SN850452.JPG digikam(13889) KDcrawIface::KDcraw::loadFromDcraw: LibRaw: dcraw emulation: ("-4", "-h", "-H 0", "-w", "-q 3", "-o 1", "/mnt/data/photos/Albums/Test Pictures/RAW/Horizontal/SN850452.RAW") digikam(13889) KDcrawIface::KDcrawPriv::progressCallback: LibRaw progress: Reading metadata pass 0 of 2 Failed to read metadata from /mnt/data/photos/Albums/Test Pictures/RAW/Horizontal/SN850452.JPG digikam(13889) KDcrawIface::KDcrawPriv::progressCallback: LibRaw progress: Reading metadata pass 1 of 2 digikam(13889) KDcrawIface::KDcrawPriv::progressCallback: LibRaw progress: Reading RAW data pass 0 of 2 Exception 4 caught digikam(13889) KDcrawIface::KDcraw::loadFromDcraw: LibRaw: failed to run unpack: Input/output error digikam(13889) Digikam::CollectionManager::locationForPath: Testing location 1 "/mnt/data/photos/Albums/Test Pictures/RAW/Horizontal" "/mnt/data/photos" This problem come from LibRaw integrated from libkdcraw. Alex Tutubalin have been contacted for investiguations. Gilles Caulier Created attachment 31015 [details]
screenshot of digiKam 0.10.0-rc2 Raw import tool try to decode S85 RAW file
Created attachment 31016 [details]
Samsung S85 RAW can be decoded with libraw 0.6.0...
I cannot reproduce this problem with LibRaw 0.7.0-Alpha5 samples. Will try with digiKam Fixed in LibRaw 0.7.0-Alpha6 Also, please note, that you need to place both .RAW and .JPG together (in same folder) to get right metadata extraction (i.e. exposure settings, lens settings). On S85 .RAW file is just a sensor data dump, all metadata is placed into .JPG with same filename. Edelhard, As Alex said in #13, It fixed in svn. Please checkout current code of libkdcraw, recompile all, and check if it's fixed for you. Thanks in advance. Gilles Caulier Hi Gilles, sorry for the delay[1]. Now i checked out SVN, let it compile over night and it works! I close the bug and thank you all very much! The .dng looks a bit "wrong", but i'll have to play with the metadata[2] to find the reason. Thanks & Greetings, Edelhard [1] i had hoped that i get the next snapshot via debian/experimental, but compilation was surprisingly smooth! [2] it's too dark and the colors are wrong, but i can correct it with the appropriate sliders in showfoto/digikam and also ufraw; from a quick look with exiftool the following values (at least) seem strange: White Level : 65535 Reference Black White : 0 255 128 255 128 255 Not reproducible with digiKam 7.0.0-beta1. |