Skip to content

* fixed: debugger crash on ios26, "Too many root sets"#838

Open
dkimitsa wants to merge 1 commit intoMobiVM:masterfrom
dkimitsa:fix/debugger-crash-too-many-root-sets
Open

* fixed: debugger crash on ios26, "Too many root sets"#838
dkimitsa wants to merge 1 commit intoMobiVM:masterfrom
dkimitsa:fix/debugger-crash-too-many-root-sets

Conversation

@dkimitsa
Copy link
Copy Markdown
Contributor

@dkimitsa dkimitsa commented Mar 9, 2026

Root case: hooks code was initiated before GC one, as result GC_set_no_dls(false) was not called, and GC_init_dyld was triggered by hoods code. As result it received callbacks for all modules available and tried to register root for each.

It was working before just due amount of modules was less than limit.

Also was fixed root registration in hooks module. From code it seems as it was expected to be chained but each object was registered as root as result.

Root case: hooks code was initiated before GC one, as result `GC_set_no_dls(false)` was not called, and `GC_init_dyld` was triggered by hoods code. As result it received callbacks for all modules available and tried to register root for each.

It was working before just due amount of modules was less than limit.

Also was fixed root registration in hooks module. From code it seems as it was expected to be chained but each object was registered as root as result.
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.

2 participants