Skip to content

Fix random crash from the GC freeing thread data - #1473

Open
MRK2009 wants to merge 1 commit into
HaxeFoundation:masterfrom
MRK-Stuff:fix/threadGc
Open

MRK2009 wants to merge 1 commit into
HaxeFoundation:masterfrom
MRK-Stuff:fix/threadGc

Conversation

@MRK2009

@MRK2009 MRK2009 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

@tobil4sk

Copy link
Copy Markdown
Member

Do you have a simple example program that could reproduce the crash? Ideally we could have a regression test for this.

It looks like these HX_OBJ_WB_NEW_MARKED_OBJECT calls existed in the past, but got removed in #1336. That means those two linked issues are probably unrelated, since they are much older.

@MRK2009

MRK2009 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Do you have a simple example program that could reproduce the crash? Ideally we could have a regression test for this.

Well, Pooki have the example of crash, but I didn't show it yet.

It looks like these HX_OBJ_WB_NEW_MARKED_OBJECT calls existed in the past, but got removed in #1336. That means those two linked issues are probably unrelated, since they are much older.

Oh I didn't know these issues unrelated to my pr.

@MRK2009

MRK2009 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

This is the example how this crash reproducible, although this is related to Funkin.

Screenshot 2026-11-23 175916

But I didn't tested on other projects to reproduce it.

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

Successfully merging this pull request may close these issues.

3 participants