-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes when running test project #61
Comments
Hopefully resolved all crashes with #62. The ones coming from newest Clipper version are sort of known (still in development), it generally works ok apart from bugs like this. There was some recent updates upstream, maybe updating should fix the issue. EDIT: just checked, seems like triangulation unit is not ported to C++ yet, and the current version Goost uses is temporarily removed from the sandbox: https://sourceforge.net/p/polyclipping/code/HEAD/tree/sandbox/Clipper2/cpp/. There's also a project setting which allows to switch to previous version of Clipper (stable). But using it forces to use Godot's triangulation code (since triangulation unit was only added in newest Clipper 10 version), which is less robust than Clipper's one and performance is sub-optimal, in my experience. Do you know if there's a way to exclude thirdparty code from ASAN checks (so other issues can be fixed)? |
Looks that Address sanitizer allow to disable certains folders/functions, but I've never been able to do it. Looks that this patch fixes this address sanitizer error:
|
Thanks for reports, added your fix in #63! (co-authored). If you'd like to integrate your fuzzing project in CI, feel free. 🙂 Goost runs GUT tests as well: https://github.com/goostengine/goost/blob/gd3/.github/workflows/linux_builds.yml#L121-L123, perhaps can be integrated after unit tests are run. |
Goost and Godot version:
fb4fe2b
Built with address sanitizer -
use_asan =yes
OS/device including version:
Ubuntu 20.04
Issue description:
My test project found some crashes and invalid memory usage in Goost
Some of crashes:
res://AutomaticBugs/FunctionExecutor.tscn
res://Nodes/Nodes.tscn
Steps to reproduce:
use_asan=yes
Minimal reproduction project:
https://github.com/qarmin/RegressionTestProject
The text was updated successfully, but these errors were encountered: