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

Memory leaking at program exit #14

Open
stechyo opened this issue Jan 6, 2024 · 1 comment
Open

Memory leaking at program exit #14

stechyo opened this issue Jan 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@stechyo
Copy link
Owner

stechyo commented Jan 6, 2024

WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
     at: cleanup (core/object/object.cpp:2208)
Leaked instance: :105003360452765
Leaked instance: AudioStreamPlaybackMP3:-9222368182738616162
Leaked instance: AudioStreamMP3:-9222476484633951005 - Resource path: res://sound/2.mp3
Leaked instance: :-9222377528587451125
Leaked instance: :-9222376978831637123
Leaked instance: :-9222376429075823234
Leaked instance: AudioStreamPlaybackMP3:-9222368732494428801
Leaked instance: AudioStreamPlaybackMP3:-9222367632982801024
Hint: Leaked instances typically happen when nodes are removed from the scene tree (with `remove_child()`) but not freed (with `free()` or `queue_free()`).

We seem to be leaking the stream/playbacks somehow on the demo scene. I believe hand-freeing them on the SteamAudioStreamPlayback destructor leads to a double-free crash, so we'll have to do some investigation. This shouldn't greatly impact the extension for now however.

@stechyo stechyo added the enhancement New improvement to an existing feature label Jan 6, 2024
@stechyo stechyo added bug Something isn't working and removed enhancement New improvement to an existing feature labels Jan 13, 2024
@stechyo

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant