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

Sebastian Bachmann me at free-minds.net
Tue Oct 9 10:14:18 BST 2018


Sorry for the noise but I got 0.17 working... Not sure what the problem was
(just reinstalled).

The SVG import bug works as well in 0.17.

You can also trigger it using the python console in FreeCAD:

from xml.parsers import expat
expat.ParserCreate()

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x35fc0) [0x7f1690c36fc0]
#1  /lib/x86_64-linux-gnu/libexpat.so.1(XML_SetHashSalt+0x1b) [0x7f168b4b595b]
#2  /usr/lib/python2.7/lib-dynload/pyexpat.x86_64-linux-gnu.so(+0x75b0) [0x7f167c9785b0]
#3  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9327) [0x7f1694caaab7]
#4  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x732) [0x7f1694ca1032]
#5  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19) [0x7f1694ca1649]
[...]


It is still the same bug as described in the forum:
https://forum.freecadweb.org/viewtopic.php?f=15&t=23380&p=190525&hilit=expat#p190172

I build a working coin version back then by simply removing all attemps to
build the internal expat version. It looks like the flag --enable-system-expat
does not enable system expat but still uses the internal version.

hth!

regards
sebastian




On Tue, 9 Oct 2018 10:55:12 +0200 Sebastian Bachmann <me at free-minds.net> wrote:
> There is another method to trigger this bug:
> 
> * Open FreeCAD
> * File --> Open
> * Select any SVG File, click Open
> * Select "SVG as Geometry (importSVG)", click Select
> 
> It crashes with a similar stacktrace:
> 
> Program received signal SIGSEGV, Segmentation fault.
> #0  /lib/x86_64-linux-gnu/libc.so.6(+0x35fc0) [0x7f11a255efc0]
> #1  /lib/x86_64-linux-gnu/libexpat.so.1(XML_SetHashSalt+0x1b) [0x7f119968c95b]
> #2  /usr/lib/python2.7/lib-dynload/pyexpat.x86_64-linux-gnu.so(+0x75b0) [0x7f118d4f65b0]
> #3  /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x94d6) [0x7f11a3b6cc66]
> [...]
> 
> Tested here with FreeCAD 0.18 Revision: 14928 (Git)
> 
> I tried with .17 from experimental but it looks like that the SVG import was not
> supported in that version?
> But this version is pretty much unusable. No UI elements other that the
> menu bar loads and there are only 2 Workspaces available for me...
> 
> regards
> Sebastian
> 
> 
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (700, 'unstable'), (500, 'oldstable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages libcoin80v5 depends on:
> ii  libc6       2.27-6
> ii  libgcc1     1:8.2.0-7
> ii  libgl1      1.1.0-1
> ii  libice6     2:1.0.9-2
> ii  libsm6      2:1.2.2-1+b3
> ii  libstdc++6  8.2.0-7
> ii  libx11-6    2:1.6.6-1
> ii  libxext6    2:1.3.3-1+b2
> 
> libcoin80v5 recommends no packages.
> 
> Versions of packages libcoin80v5 suggests:
> ii  libbz2-1.0     1.0.6-9
> ii  libfreetype6   2.8.1-2
> pn  libopenal0a    <none>
> pn  libsimage-dev  <none>
> ii  zlib1g         1:1.2.11.dfsg-1
> 



More information about the debian-science-maintainers mailing list