Bug#874727: libcoin80v5: Program using libcoin80v5 and any other library that uses lebexpat1 segfaults.

Bernhard Übelacker bernhardu at mailbox.org
Sun Nov 4 17:19:59 GMT 2018


Hello all,
tried to reproduce and still receive the crash triggered by either SVG
import or the manual action in the python console.

The parameter --enable-system-expat seems to just defines HAVE_SYSTEM_EXPAT,
which seems not used later.

Attached patch makes coin3 not to build the subdirectory src/xml/expat
and avoids linking to that local libexpat.la.

I assume therefore now following warning is shown:
dpkg-shlibdeps: warning: symbol XML_ParserFree used by debian/libcoin80v5/usr/lib/x86_64-linux-gnu/libCoin.so.80.0.0 found in none of the libraries.

But a local built package libcoin80v5 with this patch applied makes
Freecad not crash on SVG import or the manual action in python console.

Upstream seems to have added in [1] related changes into the cmake build system.

Kind regards,
Bernhard


freecad 0.17+dfsg1-5
libcoin80v5 3.1.4~abc9f50+dfsg3-2

[1] https://bitbucket.org/Coin3D/coin/pull-requests/107/allow-to-use-system-expat/diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021_Do-not-build-and-link-internal-expat.patch
Type: text/x-patch
Size: 2937 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20181104/50a00de0/attachment.bin>


More information about the debian-science-maintainers mailing list