Sergey Alirzaev
Sergey Alirzaev
A Great Axe familiarity only gives one 3.125% less stamina consumption per swing in case of a fire axe, that is negligibly low anyway.
I don't understand what you're asking me to provide. There're more than two segfaulting tests, as i'm commenting them out. Is your request about `testBrepImportExport`, or about the first crashing...
It's compiled by a Gentoo ebuild. `cmake -C /var/tmp/portage/sci-libs/opencascade-7.7.2-r1/work/OCCT-7_7_2_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -D3RDPARTY_DIR=/usr -DBUILD_CPP_STANDARD=C++17 -DBUILD_SOVERSION_NUMBERS=2 -DBUILD_DOC_Overview=no -DBUILD_Inspector=no -DBUILD_ENABLE_FPE_SIGNAL_HANDLER=no -DBUILD_USE_PCH=no -DBUILD_RELEASE_DISABLE_EXCEPTIONS=no -DINSTALL_DIR=/usr -DINSTALL_DIR_BIN=lib64/opencascade/bin -DINSTALL_DIR_CMAKE=lib64/cmake/opencascade -DINSTALL_DIR_DATA=share/opencascade/data -DINSTALL_DIR_DOC=share/doc/opencascade-7.7.2-r1 -DINSTALL_DIR_INCLUDE=include/opencascade -DINSTALL_DIR_LIB=lib64/opencascade -DINSTALL_DIR_RESOURCE=share/opencascade/resources -DINSTALL_DIR_SAMPLES=share/opencascade/samples -DINSTALL_DIR_SCRIPT=lib64/opencascade/bin...
I failed to export brep, but produced a minimal segfault reproducer: ``` #!/usr/bin/python3 import cadquery as cq r_wheel = 25 w_wheel = 10 wheel = cq.Workplane("YZ").circle(r_wheel).extrude(w_wheel, both=True) wheel.val().exportBrep("wheel.brep") ```
The `circle` brep: https://tinystash.undef.im/il/5MpwSPcG7mTHLufdLBqbVD9s94u5WQAxigxoYm6Hf3e3S3R1dZsFhSLKD8D9yzSv8EgfeRN5jzK1rDtNCeK2ozwm.brep
On Fri, May 17, 2024 at 10:38:20AM GMT, AU wrote: > That does not look too weird. I assume that `cq.Workplane("YZ").circle(r_wheel).extrude(w_wheel, both=True, clean=False)` does not segfault, right? Yes, this doesn't...
> Looking at your cmake flags, -DBUILD_ENABLE_FPE_SIGNAL_HANDLER=no might be suspicious. I never unset it, could you check what happens without it? No effect.
On Fri, May 17, 2024 at 11:26:42AM GMT, AU wrote: > OK, could you then check with a debug build of OCCT and share the coredump? I have the coredump....
> For any future travelers: this was fixed for me by applying the [blobfish patch](https://github.com/conda-forge/occt-feedstock/blob/f95e88194e0a98ea1e92ff35cb4911af642e19aa/recipe/patches/blobfish.patch). For some reason the new set of [patches](https://github.com/conda-forge/occt-feedstock/tree/main/recipe/patches) does not seem to fix it. Indeed,...
Reproduced it on today's 0.D.