DNG file causes crash in LibRaw 0.19-Snapshot-20170812


I have a DNG file that causes a crash in LibRaw 0.19-Snapshot-20170812 (no problem with LibRaw 0.8.16). The crash happens in the "unpack" function.

I used the Visual Studio project provided in LibRaw 0.19-Snapshot-20170812 without changing any settings. I opened and compiled the project with Visual Studio 2010 Express in 32bit / release mode. I did the same with LibRaw 0.18.6 and got not problem.

I send you the file by WeTransfer right now. The owner of this image agrees that I send it to you this file for debug purpose but asked me to specify that it cannot be shared or published.

Thanks for your understanding and help.


Thank you (again) for the

Thank you (again) for the file.

I'm unable to reproduce the crash using LibRaw compiled with gcc5/freebsd. Will check more with Windows/Visual studio

-- Alex Tutubalin

Also, no problems with

Also, no problems with
MSVC 2013/x64, nmake -f Makefile.msvc

dcraw_emu -T yourfile.dng produces TIFF file as expected

Could you please provide more details about the crash? May be binary + .pdb file + crash dump?

-- Alex Tutubalin