-
Notifications
You must be signed in to change notification settings - Fork 282
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
Segfault in parse_overlay_env when passing graphs option via MANGOHUD_CONFIG #997
Comments
Can you post a gdb backtrace of the segfault please? |
Ran with
|
I also experienced the segfault. A side question, why aren't graph options documented in the readme? I couldn't find details on it, except in one of the old release notes. |
This shouldn't segfault anymore since 7f94562
Because no one has taken the time to do it |
Works for me now. Thanks! |
Describe the bug
Passing
graphs
options viaMANGOHUD_CONFIG
environment variable causes segfault.This seems to happen because
parse_overlay_env
is called insideparse_overlay_config
before theHUDElements.params
field is set.Inside
parse_overlay_env
,HUDElements.sort_elements
is called, where thegraphs
option has a special case in whichHUDElements.params
is being accessed. But the field is stillnullptr
, thus the segfault.List relevant hardware/software information
To Reproduce
Built MangoHud locally with
buildtype=debug
, but segfault also happens with release version from Void's repos.Expected behavior
No segfault.
Screenshots
None.
Additional context
None.
The text was updated successfully, but these errors were encountered: