gimp-console-2.99 -b '(gimp-quit 1)' segfaults
$ gimp-console-2.99 -b '(gimp-quit 1)'
This is a development version of GIMP. Debug messages may appear here.
/home/massimo/prefix/lib64/gimp/2.99/plug-ins/script-fu/script-fu: fatal error: Segmentation fault
/home/massimo/prefix/lib64/gimp/2.99/plug-ins/script-fu/script-fu (pid:30130): [E]xit, show [S]tack trace or [P]roceed:
plug-in 'script-fu' aborted before sending its procedure return values
GIMP-Error: Plug-in crashed: "script-fu"
(/home/massimo/prefix/lib64/gimp/2.99/plug-ins/script-fu/script-fu)
The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.
batch command experienced a calling error:
Procedure 'plug-in-script-fu-eval' returned no return values
/home/massimo/prefix/lib64/gimp/2.99/plug-ins/script-fu/script-fu terminated: Interrupt
gimp-console-2.99: terminated: Interrupt
It seems there are two string ParamSpec. script-fu.c registers the "code" parameter as one and gimp-batch.c checks for the other, result plug-in-script-fu-eval receives a NULL code parameter