Comment 3 for bug 962941

Revision history for this message
robitaille (thomas-robitaille) wrote :

Your comment regarding .config/inkscape prompted me to see what happened if I removed .config/inkscape before running. Here's what happens (the various flags you suggested don't affect things):

---

$ rm -r ~/.config/inkscape

$ rm arc_ellipse_svg.png

$ inkscape arc_ellipse.svg --export-png arc_ellipse_svg.png
Background RRGGBBAA: ffffff00
Area 0:0:720:540 exported to 720 x 540 pixels (90 dpi)
Bitmap saved as: arc_ellipse_svg.png

$ rm arc_ellipse_svg.png

$ inkscape arc_ellipse.svg --export-png arc_ellipse_svg.png
Background RRGGBBAA: ffffff00
Area 0:0:720:540 exported to 720 x 540 pixels (90 dpi)
Bitmap saved as: arc_ellipse_svg.png

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: 11

---

So basically the first time it runs after removing .config/inkscape, it works fine, then it crashes if .config/inkscape already exists. In fact, I can be more specific. If I remove preferences.xml, then it works fine, but then crashes the second time, when preferences.xml already exists. In fact, let's be even more specific. If I remove the following line from preferences.xml:

    <group id="autosave" enable="0" interval="10" path="" max="10"/>

Then I have no issue. Let me know if there is any other information I can provide to track down this bug!