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
Pulseffect 5.0.1-1 crashes on i3wm when getting unfocussed #913
Comments
Addendum: This behavior doesn't happen with Pulseffects 5.0.0-1 |
I am suspecting that updates done to the gtk3 and gtkmm3 packages in the Arch repositories in the last weeks are a little unstable. I have seen random crashes in PulseEffects that feel like a problem in the graphical toolkit.
We do nothing when the focus is changed. I do not see what I could do different. Specially considering that in GNOME nothing happens when switching focus by clicking somewhere else. That is why I think the issue is somewhere in the gtk3 or gtkmm3 packages. In any case it might be helpfull to see the logs. Kill the current instance |
This was happening to me, and I fixed it by clicking the reset settings button in general tab. (Be sure to save a preset before resetting.) The next time I opened Pulseffects, it stopped crashing. |
Had the same issue using sway/wlroots with pipewire-git. Resetting pulseeffects as mentioned by @chezbgone fixed it for me as well. |
I changed the Priority Type to Real Time, and it started to happen again. Reverting the setting fixes it, so I'm inclined to believe this is the cause. |
I'm digging a bit into the reasons this happens - I'll dump some info as I go:
The user stack bpf claims is active when the signal is generated is:
But that doesn't really make much sense to me so far... |
I've got some progress. After eliminating the userspace failures (everything seems to be happy and nothing calls kill() explicitly), I started digging into kernel stack, which looked like:
Digging into the Anyway, the reason there was no logs is because most systems run with
While For some reason when the audio stops and the app loses the audio stream, the delay is large enough that the watchdog is triggered in kernel's task scheduling and kills the process immediately. I'm not sure if this is related to focus itself, but it's definitely happening when the audio stream stops. |
Interesting. So that is what is going on. My guess is that we should ask for a different In any case we won't have to bother with this in our gtk4 branch. PipeWire will be the one handling the realtime priorities of the plugins threads and not us. |
Sounds good. Also, I don't think the strict setting right now is really needed. |
Fixed in EasyEffects 6.0.0 |
The application runs perfectly until I click somewhere else (take away focus from it), at which point it just straight out crashes.
I'm running arch linux with pipewire and i3wm + xorg.
This effect only seems to happen when an audio stream is actively running / being processed. No error messages when running from console.
The text was updated successfully, but these errors were encountered: