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.