crash with OpenSCAD extention

Bug #1152991 reported by Frank Bouwens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Inkscape crashes when I process certain SVG-files (that are made with Adobe Illustrator) with the Paths-to-OpenSCAD-plugin.

Plugin download:
http://www.thingiverse.com/thing:25036
download zip-file.

Steps to reproduce:
(first time only:)
- paste extention-files in: ~/.config/extentions/
- restart Inkscape
(always:)
- open the file Tux.svg
- go to Extentions --> Generate from Path --> Paths to OpenSCAD
- Click the apply-button in the extention window.
- The plugin should now generate an .scad-file.
- The program crashes when using an SVG-file that was made with Adobe Illustator.

Attached:
Tux.svg (made with Adobe Illustrator)
sample2.svg (sample svg file that was included with the plugin)
gdb.txt (output from gdb)

I use Ubuntu 12.04 LTS and installed Inkscape using the Ubuntu Software Center.
The version is: Inkscape 0.48.3.1 r9886

Workaround:
- open the Tux.svg
- press Ctrl + A, press Ctrl + C
- File --> New
- press Ctrl + V
- go to Extentions --> Generate from Path --> Paths to OpenSCAD
- Click the apply-button in the extention window.
- The plugin will now generate an .scad-file, without crashing.

Revision history for this message
Frank Bouwens (frankkie12345) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Based on the information provided:
- Inkscape 0.48.3.1 r9886
- crash with "foreign" SVG files, but ok with SVG files based on Inkscape's own default template
- backtrace

this is another duplicate of the known regression in Inkscape 0.48.3.1 (which affects all script-based extensions, not just the one to export to OpenSCAD):

Bug #944077 “inkscape crashed with SIGSEGV in Inkscape::Extension::Implementation::Script::effect()”
<https://bugs.launchpad.net/inkscape/+bug/944077>

Workaround for affected files:
<https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/11>

tags: added: crash
removed: openscad
Revision history for this message
su_v (suv-lp) wrote :

Forgot to add: any feedback about whether the known workaround "worked" for you or not would be appreciated.

Revision history for this message
Frank Bouwens (frankkie12345) wrote :

The workaround works for me.
(The program does not crash and the .scad-file is correct)

Thanks !

Revision history for this message
su_v (suv-lp) wrote :

Good to hear (the regression in 0.48.3.1 is annoying, and we are sorry that it had slipped our attention until after the release. Inkscape 0.48.4 does have a proper fix, but I have no idea whether Ubuntu will upgrade the Inkscape package they offer for Ubuntu 12.04, or at least consider to backport the fix).

Thanks for reporting back!

Linking as duplicate to bug #944077.

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.