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
This ticket is relevant to developers who are using LeakSanitizer to debug memory leaks in cores (not in the frontend).
When a libretro core is unloaded, it takes all the symbols with it. In general, this is desired behavior. However, tools that produce stack traces for programs after they close might still have needed any symbols within those cores.
This means, for example, that LeakSanitizer can't identify the origin of core memory leaks unless RetroArch crashes while the core is still loaded. The leaks themselves are still reported, but the stack trace contains (<unknown module>) instead of a library/function name. See thesetwo tickets in the relevant repo for details.
I'd like to see an option to prevent cores from being unloaded, so that memory leaks within them are easier to identify. Someone on Discord suggested that this could be a CLI-only option, so that some hapless newbie doesn't accidentally cause problems for themself.
The text was updated successfully, but these errors were encountered:
This ticket is relevant to developers who are using LeakSanitizer to debug memory leaks in cores (not in the frontend).
When a libretro core is unloaded, it takes all the symbols with it. In general, this is desired behavior. However, tools that produce stack traces for programs after they close might still have needed any symbols within those cores.
This means, for example, that LeakSanitizer can't identify the origin of core memory leaks unless RetroArch crashes while the core is still loaded. The leaks themselves are still reported, but the stack trace contains
(<unknown module>)
instead of a library/function name. See these two tickets in the relevant repo for details.I'd like to see an option to prevent cores from being unloaded, so that memory leaks within them are easier to identify. Someone on Discord suggested that this could be a CLI-only option, so that some hapless newbie doesn't accidentally cause problems for themself.
The text was updated successfully, but these errors were encountered: