Beep6581 / RawTherapee

A powerful cross-platform raw photo processing program
https://rawtherapee.com
GNU General Public License v3.0
2.75k stars 313 forks source link

Segfault in rawtherapee-cli if output folder does not exist #4231

Open Beep6581 opened 6 years ago

Beep6581 commented 6 years ago
$ rm -rvf /tmp/tiff
$ ./build/release/rawtherapee-cli -o /tmp/tiff/horizontal ~/photos/test_images/
RawTherapee, version 5.3-297-gc202a612, command line
Processing: /home/morgan/photos/test_images/great_bernera_1.hdr.dng
  Merging procparams #0
TIFFOpen: /tmp/tiff/horizontal.tif: No such file or directory.
Segmentation fault (core dumped)

https://github.com/Beep6581/RawTherapee/blob/dev/rtgui/main-cli.cc#L334

Beep6581 commented 6 years ago

Once a decision is made about how to handle this, then we will know what info to put into the --help text (and RawPedia).