Add new comment

Segmentation Fault when processing some raw images

Hi,

I am facing Segmentation Fault when I execute any of the samples with a CR3/CR2 file. DNG files are working properly.

I have used samples/raw-identify.cpp, samples/dcraw_emu.cpp and samples/simple_dcraw.cpp but all of them give a Segmentation Fault as soon as I enter the command.

I also isolated the issue to occur within the LibRaw::open_file() function.

I have also tried to use the option -F on dcraw_emu to consider file as a big one but it does not help.

Samples:
https://img.photographyblog.com/reviews/canon_eos_r/photos/canon_eos_r_1...
http://www.rawsamples.ch/raws/canon/30d/RAW_CANON_30D.CR2
https://www.camerafv5.com/files/photos/raw1/calella1.dng

Thanks

Forums: