View Issue Details

IDProjectCategoryView StatusLast Update
0001817FreeCADBugpublic2015-01-24 14:16
Reportersquaretoround Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformDell desktopOSUbuntuOS Version14.04
Summary0001817: Attempt to load simple (3-point) SVG file (created by GIMP) crashes FreeCAD
DescriptionOS: Ubuntu 14.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4152 (Git)
Branch: master
Hash: 2836f4cb99e22c3d1a713aa370ba9faeda6987c4
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a


Steps To Reproduce1. File->New
2. Import Triangle-path-export.svg (created as 3-point closed-path in GIMP), as "SVG as geometry (importSVG)"
3. crash, no error msg on screen; console reports:
processing element 1: svg
existing group transform: []
done processing element 1
processing element 2: path
existing group transform: [Matrix ((0.352778,0,0,0),(0,0.352778,0,0),(0,0,1,0),(0,0,0,1))]
name: Unnamed
data: {u'stroke': u'black', u'stroke-width': u'1', u'fill': u'none', u'd': [u'M', u'483.00', u'504.00', u'C', u'483.00', u'504.00', u'580.00', u'289.00', u'580.00', u'289.00', u'580.00', u'289.00', u'678.00', u'508.00', u'678.00', u'508.00', u'678.00', u'508.00', u'483.00', u'504.00', u'483.00', u'504.00', u'Z'], u'id': [u'Unnamed']}
move Vector (483.0, -504.0, 0.0)
applying group transform: Matrix ((0.352778,0,0,0),(0,0.352778,0,0),(0,0,1,0),(0,0,0,1))
done processing element 2
closing group
*** Abort *** an exception was raised, but no catch was found.
    ... The exception is:SIGSEGV 'segmentation violation' detected. Address 8

Additional InformationI'd like to submit two files, the SVG and the .log, but I am limited to one.
The SVG seems to be the smaller of the two, so I copy its contents here.
$ cat Triangle-path-export.svg

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
              "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

<svg xmlns="http://www.w3.org/2000/svg"
     width="10in" height="10in"
     viewBox="0 0 720 720">
  <path id="Unnamed"
        fill="none" stroke="black" stroke-width="1"
        d="M 483.00,504.00
           C 483.00,504.00 580.00,289.00 580.00,289.00
             580.00,289.00 678.00,508.00 678.00,508.00
             678.00,508.00 483.00,504.00 483.00,504.00 Z" />
</svg>
TagsStart Workbench
FreeCAD Information

Activities

squaretoround

2014-11-04 20:44

reporter  

FreeCAD.log (Attachment missing)

shoogen

2014-11-04 22:09

developer   ~0005276

Last edited: 2014-11-04 22:12

It doesn't crash on
OS: Debian GNU/Linux 7.7 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4152 +7 (Git)
Branch: sketcher-geoidcheck,dev-openscad
Hash: d9094aef871c1209b66468f781ee774cd981c5c3
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.0.beta

processing element 1: svg
existing group transform: []
done processing element 1
processing element 2: path
existing group transform: [Matrix ((0.352778,0,0,0),(0,0.352778,0,0),(0,0,1,0),(0,0,0,1))]
name: Unnamed
data: {u'stroke': u'black', u'stroke-width': u'1', u'fill': u'none', u'd': [u'M', u'483.00', u'504.00', u'C', u'483.00', u'504.00', u'580.00', u'289.00', u'580.00', u'289.00', u'580.00', u'289.00', u'678.00', u'508.00', u'678.00', u'508.00', u'678.00', u'508.00', u'483.00', u'504.00', u'483.00', u'504.00', u'Z'], u'id': [u'Unnamed']}
move Vector (483.0, -504.0, 0.0)
applying group transform: Matrix ((0.352778,0,0,0),(0,0.352778,0,0),(0,0,1,0),(0,0,0,1))
done processing element 2
closing group

squaretoround

2014-11-04 23:08

reporter   ~0005277

It also doesn't crash if I select PartWB or PartDesignWB or ArchWB, or even Complete, first.

Only with Start, and if it's opened in another Workbench first, it can even be opened in StartWB later.

yorik

2014-11-05 20:35

administrator   ~0005278

No crash for me either (debian)

yorik

2014-11-05 20:35

administrator  

Triangle-path-export.svg (Attachment missing)

shoogen

2015-01-24 12:54

developer   ~0005702

I would vote to close it as not reproduceable

Issue History

Date Modified Username Field Change
2014-11-04 20:44 squaretoround New Issue
2014-11-04 20:44 squaretoround File Added: FreeCAD.log
2014-11-04 22:09 shoogen Note Added: 0005276
2014-11-04 22:12 shoogen Note Edited: 0005276
2014-11-04 23:08 squaretoround Note Added: 0005277
2014-11-05 13:21 shoogen Tag Attached: Start Workbench
2014-11-05 20:35 yorik Note Added: 0005278
2014-11-05 20:35 yorik File Added: Triangle-path-export.svg
2015-01-24 12:54 shoogen Note Added: 0005702
2015-01-24 14:16 wmayer Status new => closed
2015-01-24 14:16 wmayer Resolution open => unable to reproduce