-
-
Notifications
You must be signed in to change notification settings - Fork 589
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
picom crashes at random time (glx backend) #1062
Comments
unfortunately, a core of the non-debug build has a little use. if it’s possible do and run a debug build of picom built from the latest commit of the next branch. when a segfault happens, do |
I have a similar problem on Intel integrated hardware (Intel(R) HD Graphics 520). I will provide a debug file when I catch the crash. |
I think I managed to install a debug build of picom (I just used I now am able to reproduce the crash at will with my XMonad configuration, but not without using XMonad-specific commands. I just need to fill a workspace with 5 or 6 windows, and then
Just killing the windows doesn’t crash picom. When there are not that many windows, it doesn’t crash either. Doing
which doesn’t look very useful. So I suspect I did something wrong. If I know what, I can easily redo this, since I can now reproduce the crash at will. |
I was able to catch a crash.
|
It doesn’t look like my stack trace with the missing symbols filled in. So maybe this is another bug… But what did you do apart from building with |
I didn't do anything, meson generates binary with debug symbols by default. |
I found out what I did wrong: I used the PKGBUILD file from the AUR (Arch User Repository) and just changed the
It looks very much like Monsterovich’s trace after all. |
it seems that your crashes are actually assertion failures and they’re new (i don’t remember seeing anything like this recently). and you’re both using the glx backend on an intel gpu, so this issue may be specific to intel gpus. i’ll investigate later. |
I think it has something to do with turning on the screen and enabling compositing (maybe even related to lightdm). There can be a case where some window doesn't have time to create a pixmap and therefore picom crashes. It's very strange why there's assert instead of just skipping the window and printing a warning. |
does the issue still happen? |
With picom 11.2, it still happened a few times a day until two weeks ago when something I changed in my system reduced it to once a week. This may be an Alacritty update: before I could reproduce it by killing an XMonad workspace with many Alacritty windows, after I needed to use other kinds of windows. I just updated to 12.3, and tried to reproduce it by killing a workspace with many windows like I just did with success (i.e. a core dump) with 11.2 a few minutes ago, but could not get a core dump. So it looks like it could be solved with 12.3. |
closing as fixed. |
Platform
ArchLinux
GPU, drivers, and screen setup
Intel HD Graphics 4600
modesetting (xorg 21.1.7)
mesa 22.3.6
Environment
XMonad
picom version
vgit-05ef1
Diagnostics
Configuration:
Configuration file
Steps of reproduction
I haven’t found a way to reproduce it reliably. Even though I usually only notice that picom has crashed some time later (I use it mainly to avoid tearing), I know that just at the time it last happened, I changed workspace twice and launched mpv (but audio only, no video, the window was just black).
Expected behavior
No crash.
Current Behavior
Random crashes.
Stack trace
I’m not sure this is what I was supposed to do, but here’s:
journalctl
(mostly the same thing):coredumpctl
picom-coredump+exec.zip
Other details
As a workaround, I downgrade picom to version 9.1. Starting with version 10, it crashes several times a day.
The text was updated successfully, but these errors were encountered: