FreeCAD_assembly3 icon indicating copy to clipboard operation
FreeCAD_assembly3 copied to clipboard

FreeCAD crash when compiled against realthunder/coin

Open ceremcem opened this issue 3 years ago • 1 comments

I'm trying to compile LinkStage3 against your fork of coin and I've run into several troubles. I removed libcoin-dev, then I compiled and installed your fork of coin:

#!/bin/bash
set -ue

cd $HOME
[[ -d coin ]] \
    || git clone --recurse-submodules https://github.com/realthunder/coin coin \
    && (cd coin; git pull)
cmake \
    -Hcoin \
    -Bcoin_build \
    -G "Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX=/usr/local \
    -DCMAKE_BUILD_TYPE=Release \
    -DCOIN_BUILD_DOCUMENTATION=OFF

cd coin_build
make
sudo make install

FreeCAD crashes with the following backtrace when I try to open a file or create a new one:

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7efed6e46840]

Version

OS: Debian GNU/Linux 10 (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.27679 (Git)
Build type: Release
Branch: LinkStage3
Hash: b7209f7f70b1e1a4c833d3f6da68e39fde8df51a
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.1
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)

Original issue is here: https://github.com/ceremcem/build-freecad-asm3/issues/14

Question

Might the backtrace indicate anything I'm doing wrong?

ceremcem avatar Mar 13 '21 14:03 ceremcem

@ceremcem is this still an issue?

luzpaz avatar Jun 30 '22 10:06 luzpaz