Skip to content
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

Doubling a RefCounted native class causes an illegal dereference #669

Open
aleperaltabazas opened this issue Nov 18, 2024 · 1 comment
Open

Comments

@aleperaltabazas
Copy link

aleperaltabazas commented Nov 18, 2024

Versions

(list all versions where you have replicated the bug)

  • Godot: 4.2.1
  • GUT: 9.3.0
  • OS: Linux Mint 22

The Bug

When doubling a native class that is a RefCounted Gut tries to free something and it causes an illegal dereference because it can't be freed:
image

Steps To Reproduce

Create a double for a RefCounted native class (such as RandomNumberGenerator):

var breaking_double = double(RandomNumberGenerator).new()

EDIT: I apologize for submitting it early, I fat fingered the enter key.

@aleperaltabazas aleperaltabazas changed the title Doubling a RefCounted native class causes an illegal dereferen Doubling a RefCounted native class causes an illegal dereference Nov 18, 2024
@bitwes
Copy link
Owner

bitwes commented Dec 5, 2024

I believe this has been fixed by 3f7ac3a but hasn't been released yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants