View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004528 | File formats | Bug | public | 2021-01-04 21:04 | 2021-01-04 21:06 |
Reporter | StefanBruens | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 0.18 | ||||
Summary | 0004528: Crash in SVG import | ||||
Description | Note: This has been reported several times, but as the other reports are all closed, it is not possible to add new comments to it. Background: The crash is caused by two different expat library versions imported at the same time. One is from python (typically using the the system expat) and one from Coin3D (defaulting to a bundled expat). The crash happens when the two expat versions have different ABIs. Coin3D before 4.0.0 bundled expat 2.0.1, while 4.0.0 was updated to 2.2.6, which is ABI compatible with the current 2.2.10. This issue will likely reappear when expat changes the ABI again. How to fix: Use ABI compatible versions. Best is to use the system libexpat for both Coin3D and python. Coid3D defaults to the bundled libexpat, system libexpat has to be explicitly configured: CMake (since 4.0.0): `-DUSE_EXTERNAL_EXPAT` autoconf (legacy): `--enable-system-expat`, but CAVEAT: https://github.com/coin3d/coin/issues/436 | ||||
Steps To Reproduce | Try to import an SVG file. | ||||
Tags | No tags attached. | ||||
FreeCAD Information | OS: openSUSE Tumbleweed Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.18.Unknown Build type: Release Python version: 3.8.6 Qt version: 5.15.2 Coin version: 3.1.3 OCC version: 7.3.0 Locale: English/United States (en_US) | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-01-04 21:04 | StefanBruens | New Issue | |
2021-01-04 21:05 | StefanBruens | Relationship added | related to 0003307 |
2021-01-04 21:06 | StefanBruens | Relationship added | related to 0003355 |
2021-01-04 21:06 | StefanBruens | Relationship added | related to 0003557 |