Skip to content

IntersectSphere failure #240

@cignoni

Description

@cignoni

I have this minimal cpp example where calling of the IntersectSphere on a specific point for a rather simple mesh (bunny10k.obj) it causes a crash. It happens when compiled on macos 15.16.1 with clang++ 17.0.
Not sure of the reason (in the debugger the stack seems garbled)

minimal % ./build/simple_example bunny10k.obj
midpoint test (-4.473825,10.806343,-1.921793)
zsh: abort      ./build/simple_example bunny10k.obj

minimal.cpp
CMakeLists.txt
bunny10k.obj.zip

It happens very rarely (like 1/1000 ~ 1/10000 calls) but sometime happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions