crash export preset with lua
We probably want to fix that before the release as this is a regression.
Put the attached Lua script into your local Lua directory.
Start dt and do:
- select "Gimp" in the export dialog target storage
- select the preset button to create a new preset
- dt crashes
The backtrace is:
Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00007ffebc9f8419 in get_params (self=<optimized out>, size=0x7fffffffd26c) at /home/obry/dev/builds/darktable/src/src/libs/export.c:915 #2 0x00007ffff7a483a9 in popup_callback (button=0x190f460, module=0x14af6f0) at /home/obry/dev/builds/darktable/src/src/libs/lib.c:730 #3 0x00007ffff7378474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
int32_t sversion = mstorage->version();
And at this point version is null. So no surprise. This used to work,
maybe I have missed a change in Lua?