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
Description: Do not build and link internal expat Author: Bernhard Ãbelacker <bernha...@mailbox.org> Bug-Debian: https://bugs.debian.org/874727 Forwarded: no Last-Update: 2018-11-04 --- --- coin3-3.1.4~abc9f50+dfsg3.orig/src/Makefile.am +++ coin3-3.1.4~abc9f50+dfsg3/src/Makefile.am @@ -83,7 +83,7 @@ libCoin@SUFFIX@_la_LIBADD = actions/liba hardcopy/libhardcopy.la threads/libthreads.la \ shaders/libshaders.la shadows/libshadows.la geo/libgeo.la \ foreignfiles/libforeignfiles.la xml/libxml.la \ - xml/expat/libexpat.la profiler/libprofiler.la \ + profiler/libprofiler.la \ vrml97/libvrml97.la scxml/libscxml.la soscxml/libsoscxml.la $(SUPERGLULIBADD) endif endif --- coin3-3.1.4~abc9f50+dfsg3.orig/src/Makefile.in +++ coin3-3.1.4~abc9f50+dfsg3/src/Makefile.in @@ -224,7 +224,6 @@ LTLIBRARIES = $(lib_LTLIBRARIES) @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ geo/libgeo.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ foreignfiles/libforeignfiles.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ xml/libxml.la \ -@HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ xml/expat/libexpat.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ profiler/libprofiler.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ vrml97/libvrml97.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ scxml/libscxml.la \ @@ -702,7 +701,7 @@ DEFAULT_INCLUDES = -I$(top_builddir)/inc @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ hardcopy/libhardcopy.la threads/libthreads.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ shaders/libshaders.la shadows/libshadows.la geo/libgeo.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ foreignfiles/libforeignfiles.la xml/libxml.la \ -@HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ xml/expat/libexpat.la profiler/libprofiler.la \ +@HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ profiler/libprofiler.la \ @HACKING_DYNAMIC_MODULES_FALSE@@MAC_FRAMEWORK_FALSE@ vrml97/libvrml97.la scxml/libscxml.la soscxml/libsoscxml.la $(SUPERGLULIBADD) @HACKING_DYNAMIC_MODULES_TRUE@@MAC_FRAMEWORK_FALSE@libCoin@SUFFIX@_la_LIBADD = --- coin3-3.1.4~abc9f50+dfsg3.orig/src/xml/Makefile.am +++ coin3-3.1.4~abc9f50+dfsg3/src/xml/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to generate Makefile.in. -SUBDIRS = expat +SUBDIRS = RegularSources = \ document.cpp \ --- coin3-3.1.4~abc9f50+dfsg3.orig/src/xml/Makefile.in +++ coin3-3.1.4~abc9f50+dfsg3/src/xml/Makefile.in @@ -424,7 +424,7 @@ target_alias = @target_alias@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ -SUBDIRS = expat +SUBDIRS = RegularSources = \ document.cpp \ element.cpp \