Bug 374010 - Segfault on accessing DNG file
Summary: Segfault on accessing DNG file
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-RAW (show other bugs)
Version: 5.3.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-21 22:14 UTC by Malte Cornils
Modified: 2020-08-26 03:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte Cornils 2016-12-21 22:14:04 UTC
While accessing an older collection on a removable drive, digikam (Linux x64 appimage 5.3.0 on Ubuntu 16.04 LTS) eventually segfaults (on the same image, which is 64 MB big, and can be found for the next few weeks on http://srv.cornils.net/DSC09641-hdr.dng):

digikam.dimg: "/media/mcornils/82aad9c3-7dc9-4db0-9616-177ee44af6c7/fotos/2012-09-01 Nepal: Tatopani, Dhulikhel, Bakthapur, Kathmandu, Patan, Langtang/hdrenblend/DSC09641-hdr.dng"  : RAW file identified
digikam.rawengine: LibRaw: failed to run open_file:  Unsupported file format or not RAW file
digikam.dimg: "/media/mcornils/82aad9c3-7dc9-4db0-9616-177ee44af6c7/fotos/2012-09-01 Nepal: Tatopani, Dhulikhel, Bakthapur, Kathmandu, Patan, Langtang/hdrenblend/DSC09641-hdr.dng"  : QIMAGE file identified
TIFFReadDirectory: Warning, foo: unknown field with tag 18246 (0x4746) encountered.
TIFFReadDirectory: Warning, foo: unknown field with tag 18249 (0x4749) encountered.
TIFFReadDirectory: Warning, foo: unknown field with tag 33421 (0x828d) encountered.
TIFFReadDirectory: Warning, foo: unknown field with tag 33422 (0x828e) encountered.
TIFFReadDirectory: Warning, foo: unknown field with tag 50341 (0xc4a5) encountered.
/tmp/.mount_ChURHY/AppRun: Zeile 35:  5535 Speicherzugriffsfehler  (Speicherabzug geschrieben) digikam.wrapper $@

Using Gilles Caulier's appimage for 5.4.0 (beta, I think) does not show this issue, so this is mainly for reference and is probably in the same class of issues as https://bugs.kde.org/show_bug.cgi?id=373500
Comment 1 caulier.gilles 2016-12-21 22:41:37 UTC
Yes, this crash is not reproducible here with 5.4.0 pre release AppImage. This bundle use now Libraw 0.18 beta2.

So this problem will be fixed with next 5.4.0...

Gilles Caulier