Command Line "--select" and "--verb" generate segfault

Bug #1774713 reported by Kristian Benoit
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I'm trying to generate files by enabling/disabling layers from a Makefile (command line). For this I try to use "--select" and "--verb", but it generate a Segfault as soon as these commands are part of the command line. By the way, I'm using Ubuntu 18.04, updated to try to fix this bug from Ubuntu 17.10. I tried the official deb for Inkscape 0.92.2 (5c3e80d, 2017-08-06) on 17.10 and Inkscape 0.92.3 (2405546, 2018-03-11) on 18.04. Here's a more explicit version of how I'm (trying) to call Inkscape:

inkscape -z -f=Golo.svg -A=Golo_test.pdf --select=Frame --verb=LayerToggleHide --verb=FileSave --verb=FileQuit

It might be a problem with the way I'm using it, my system, Ubuntu, Inkscape? Can anyone help me figure out where the problem come from. If it's me, the documentation should be enhanced and Inkscape should not segfault, but give help on what I'm doing wrong even if it's a rarely used feature.

Revision history for this message
Kristian Benoit (kristian-benoit) wrote :
summary: - Command Line "--select" and "--word" generate segfault
+ Command Line "--select" and "--verb" generate segfault
description: updated
Revision history for this message
Alvin Penner (apenner) wrote :

could you attach the DOS output you are getting from the segfault?

Revision history for this message
Kristian Benoit (kristian-benoit) wrote :

What do you mean by DOS output? Here's a question I posted on askubuntu that contain the output to the terminal (stdout and stderr):
https://askubuntu.com/questions/1041427/core-dumped-upon-selection-of-object-in-inkscape

Revision history for this message
Hachmann (marenhachmann) wrote :

Pasting:

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at
www.inkscape.org
with a detailed description of the steps leading to the crash, so we
can fix it.
** Message: Error: Inkscape encountered an internal error and will
close now.

Segmentation fault (core dumped)

Revision history for this message
Hachmann (marenhachmann) wrote :

I think it's not possible to combine conversion actions with editing actions on the Inkscape command line. The documentation doesn't mix them (but it shouldn't crash, instead give a helpful message - or better, Inkscape should allow it).

Additionally, verbs require the gui: https://bugs.launchpad.net/inkscape/+bug/843260 , you cannot use -z with them.

Revision history for this message
Hachmann (marenhachmann) wrote :

(just added the -z / --verb incompatibility info to the man page)

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.