-
-
Notifications
You must be signed in to change notification settings - Fork 799
Segfault randomly related to wireplumber module #3974
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
Comments
It happens reliably immediately after I take a screenshot in Hyprland with grimblast. Not sure of the actual cause. The backtrace might be deceiving because I think there's undefined behavior. All the fields on |
yeah seems like a regression, temp fix is to just use the pulseaudio module and not the wireplumber. |
I think that was introduced here: https://github.com/Alexays/Waybar/pull/2919/files, lines 263-265 (old) and 279-281 (new). If I read this correctly, Perhaps line 277 (new) can be changed to @tokyovigilante can you have a look, please? |
Could anyone who can reproduce the issue test the fix in the linked PR, please? |
Testing it now. It hasn't crashed yet but I also couldn't get it to crash reliably before either, so I'll give it more time. Although that fix does make a lot of sense, based on reading alone. |
@RobertMueller2 Just got another crash even after adding the PR as a patch to 0.12.0. So the PR doesn't fix my issue unfortunately |
Is the backtrace identical to before? It could be something else now. |
Oops, I meant to send the backtrace. I don't have it right now but it showed the segfault happening inside the same function, but this time at line 288 with the for loop at the first iteration. Probably something weird and undefined happening still. I'll send another backtrace tomorrow when I have time. I might also try enabling some of the sanitizers in GCC. |
Sometimes waybar just crashes, not sure of the direct cause. I am running version 0.12.0.
I didn't have log output redirected anywhere so I only have the coredump right now. I'll update if I can get log output of this happening.
Here is the backtrace:
Code in frame 0:
The text was updated successfully, but these errors were encountered: