verb FileQuit leads to segfault in 1.0alpha
Steps to reproduce:
- create a blank svg file or use an existing one, e.g. drawing.svg
- run
inkscape drawing.svg --verb=FileQuit
- Segfault, e.g. inkscape encountered an internal error and will close now
What happened?
Inkscape crashed when FileQuit is used and a file is selected.
Note that inkscape drawing.svg
runs fine and Ctrl+Q runs fine and adding breakpoints in gdb seems to alter it enough that no crash occurs (at least for the 2 I tested).
Note problem initially occurred when running inkscape drawing.svg --verb=EditSelectAll --verb=ObjectFlowtextToText --verb=FileSave --verb=FileClose --verb=FileQuit
Inkscape Version and Operating System:
Inkscape 1.0alpha (5c345eb882, 2019-02-16) build on Lubuntu (ubuntu 18.04.2)
Inkscape 1.0alpha (061c42fe18, 2019-03-03) build on Linux Mint 19.1
Inkscape 1.0alpha (9dee831, 2019-01-15) appimage on Linux Mint 19.1
No error with Inkscape 0.92.3 (2405546, 2018-03-11) ppa on Linux Mint 19.1
No error with Inkscape 0.92.4 5da689c313, 2019-01-14 flatpak on Linux Mint 19.1
Possibly related? Segfault with the --verb=FileQuit commandline option used with two or more files (0.92.1)