Bug#874727: closed by Anton Gladky <gladk at debian.org> (Bug#874727: fixed in coin3 3.1.4~abc9f50+dfsg2-1)

mlampert mlampert at telus.net
Tue Oct 9 00:35:21 BST 2018


I've attached an xml tool table.

* start FreeCAD from the command line
* Create a new document
* switch to "Path" Workbench
* start "Path Manager" from the Path menu
* import attached tooltable (note the file type selection)

You'll get:
Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x35fc0) [0x7f75fc00ffc0]
#1  /lib/x86_64-linux-gnu/libexpat.so.1(XML_SetHashSalt+0x1b) [0x7f75f584095b]
#2  /usr/lib/python2.7/lib-dynload/pyexpat.x86_64-linux-gnu.so(+0x75b0) [0x7f75c08145b0]
#3  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x94d6) [0x7f7602316c66]
#4  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x8e5f) [0x7f76023165ef]
#5  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x8e5f) [0x7f76023165ef]
#6  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x732) [0x7f760230d032]
....

I don't think the file itself matters at all because it segfaults while trying to initialise libexpat, but in case the attachment gets filtered, this is the content:

<?xml version="1.0" encoding="UTF-8" ?>
<HeeksCAD_Document>
    <Tool title="1/4 inch 2 flute End Mill" tool_number="2" id="11">
        <params diameter="6.35" tool_length_offset="0" automatically_generate_title="0" material="1" type="end_mill" corner_radius="0" flat_radius="0" cutting_edge_angle="0" cutting_edge_height="50.8" />
    </Tool>
    <Tool title="9/16 4 flute End Mill" tool_number="3" id="13">
        <params diameter="14.2875" tool_length_offset="0" automatically_generate_title="0" material="1" type="end_mill" corner_radius="0" flat_radius="0" cutting_edge_angle="0" cutting_edge_height="50.8" />
    </Tool>
    <Tool title="3/4 four flute" tool_number="5" id="12">
        <params diameter="19.05" tool_length_offset="0" automatically_generate_title="0" material="1" type="end_mill" corner_radius="0" flat_radius="0" cutting_edge_angle="0" cutting_edge_height="50.8" />
    </Tool>
    <Tool title="Face Mill" tool_number="4" id="14">
        <params diameter="60" tool_length_offset="0" automatically_generate_title="0" material="1" type="end_mill" corner_radius="0" flat_radius="0" cutting_edge_angle="0" cutting_edge_height="50.8" />
    </Tool>
    <Tool title="3/16 4 flute" tool_number="6" id="8">
        <params diameter="4.7625" tool_length_offset="0" automatically_generate_title="0" material="1" type="end_mill" corner_radius="0" flat_radius="0" cutting_edge_angle="0" cutting_edge_height="50.8" />
    </Tool>
</HeeksCAD_Document>




On Fri, 5 Oct 2018 10:03:26 +0200
Christoph Berg <myon at debian.org> wrote:

> Re: markus 2018-10-05 <20181004193807.40af399c at yolanda>
> > it's a packaging bug - libcoin is statically linked with libexpat,
> > and the version being used is outdated. So anything that uses
> > libcoin and libexpat will run into a segfault.
> > 
> > I am not aware of any other application that uses libcoin.  
> 
> I noticed because PostGIS is affected via postgis B-D -> libsfcgal-dev
> -> libsfcgal-osg1 -> libopenscenegraph100v5 -> libcoin80v5. Looking
> at https://udd.debian.org/cgi-bin/autoremovals.cgi there's quite a few
> packages depending on coin3. So the question whether this affects
> freecad only or more packages is making quite a difference.
> 
> Do you have a recipe on how to reproduce the bug with freecad from
> experimental?
> 
> Christoph

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tt.xml
Type: application/xml
Size: 1465 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20181008/4a87a465/attachment.xml>


More information about the debian-science-maintainers mailing list