You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attached example project demonstrates a specific crash when a function with Variant return type is called on a registered singleton. This happens as MethodBind::bind_ptrcall() is called with r_return == nullptr.
I'm not sure what makes your example different than a very similar function in the automated tests for godot-cpp, but I can definitely get it to crash with your project.
I've updated PR #83054 with a change that fixes the crash for me
Godot version
v4.2.dev.custom_build (544601a686eed6b35a346de1f7a5b607fcf8ce97)
System information
Ubuntu 20.04.6 LTS (Focal Fossa)
Issue description
The attached example project demonstrates a specific crash when a function with
Variant
return type is called on a registered singleton. This happens asMethodBind::bind_ptrcall()
is called withr_return == nullptr
.Steps to reproduce
Commit IDs where the issue CAN be reproduced:
Commit IDs where the issue CANNOT be reproduced:
Steps to reproduce:
scons .
Expected result:
Actual result:
Minimal reproduction project
gdextension_crash_example.zip
The text was updated successfully, but these errors were encountered: