Segmentation fault when embedding Julia and using DifferentialEquations.jl

The problem is with libgomp.so version gcc-13.2. It uses global variable environ (which it did not do before) and there is a mismatch between how libc and Python set this variable.

The fix is to replace libgomp.so with older version (for example, from Conda-packaged Python) or upgrade to Julia 1.10.3+.

Read for details here: Julia 1.10.2 crashes when embedded from Python due to `libgomp.so` compiled with GCC 13.2

1 Like