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
When "i3lock" is locking the screen, compton crashes when using --experimental-backends. I can reproduce this here reliably by manually starting i3lock like this:
i3lock
or like this:
i3lock --nofork --color=000000 --pointer=default
The crash happens with both:
compton --experimental-backends --backend glx
and also:
compton --experimental-backends --backend xrender
Compton doesn't crash when using the normal backends, for example the following work fine:
Core was generated by `build/src/compton --experimental-backends'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055c6dc8a70b8 in gl_destroy_blur_context (base=0x55c6dd216880, ctx=0x0)
at ../src/backend/gl/gl_common.c:703
703 for (int i = 0; i < bctx->npasses; ++i) {
[Current thread is 1 (Thread 0x7f15c57cc940 (LWP 9674))]
(gdb) bt
#0 0x000055c6dc8a70b8 in gl_destroy_blur_context (base=0x55c6dd216880, ctx=0x0)
at ../src/backend/gl/gl_common.c:703
#1 0x000055c6dc871fa8 in destroy_backend (ps=0x55c6dd1e68b0) at ../src/compton.c:669
#2 0x000055c6dc8737ac in redir_stop (ps=0x55c6dd1e68b0) at ../src/compton.c:1149
#3 0x000055c6dc871c38 in paint_preprocess (ps=0x55c6dd1e68b0, fade_running=0x7ffecfc9d696)
at ../src/compton.c:604
#4 0x000055c6dc874014 in _draw_callback (loop=0x7f15c6cfc720, ps=0x55c6dd1e68b0, revents=8192)
at ../src/compton.c:1306
#5 0x000055c6dc874249 in draw_callback (loop=0x7f15c6cfc720, w=0x55c6dd1e6970, revents=8192)
at ../src/compton.c:1352
#6 0x00007f15c6cf0993 in ev_invoke_pending () from /usr/lib/libev.so.4
#7 0x00007f15c6cf42dd in ev_run () from /usr/lib/libev.so.4
#8 0x000055c6dc876f88 in session_run (ps=0x55c6dd1e68b0) at ../src/compton.c:2134
#9 0x000055c6dc877237 in main (argc=2, argv=0x7ffecfc9d8f8) at ../src/compton.c:2216
(gdb)
Here is a second stack trace produced with the experimental xrender backend instead of the glx one:
Core was generated by `build/src/compton --experimental-backends --backend xrender'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055974d7c68ff in destroy_blur_context (base=0x55974f4a88e0, ctx_=0x0)
at ../src/backend/xrender/xrender.c:512
512 for (int i = 0; i < ctx->x_blur_kernel_count; i++) {
(gdb) bt
#0 0x000055974d7c68ff in destroy_blur_context (base=0x55974f4a88e0, ctx_=0x0)
at ../src/backend/xrender/xrender.c:512
#1 0x000055974d795fa8 in destroy_backend (ps=0x55974f4818b0) at ../src/compton.c:669
#2 0x000055974d7977ac in redir_stop (ps=0x55974f4818b0) at ../src/compton.c:1149
#3 0x000055974d795c38 in paint_preprocess (ps=0x55974f4818b0, fade_running=0x7ffc354296e6)
at ../src/compton.c:604
#4 0x000055974d798014 in _draw_callback (loop=0x7efe0259d720, ps=0x55974f4818b0, revents=8192)
at ../src/compton.c:1306
#5 0x000055974d798249 in draw_callback (loop=0x7efe0259d720, w=0x55974f481970, revents=8192)
at ../src/compton.c:1352
#6 0x00007efe02591993 in ev_invoke_pending () from /usr/lib/libev.so.4
#7 0x00007efe025952dd in ev_run () from /usr/lib/libev.so.4
#8 0x000055974d79af88 in session_run (ps=0x55974f4818b0) at ../src/compton.c:2134
#9 0x000055974d79b237 in main (argc=4, argv=0x7ffc35429948) at ../src/compton.c:2216
(gdb)
The text was updated successfully, but these errors were encountered:
I got the idea to test --blur-background when I saw this line of code here printed by gdb:
for (int i = 0; i < ctx->x_blur_kernel_count; i++) {
When I set blur-background = true in my config, then compton --experimental-backends does not crash anymore. The crash only happens when I use blur-background = false in my config.
When "i3lock" is locking the screen, compton crashes when using
--experimental-backends
. I can reproduce this here reliably by manually starting i3lock like this:or like this:
The crash happens with both:
and also:
Compton doesn't crash when using the normal backends, for example the following work fine:
Platform
ArchLinux
GPU, drivers, and screen setup
Environment
XFCE, xfwm4 v4.12.5
Compton version
Compton configuration:
Stack trace
Here is a second stack trace produced with the experimental xrender backend instead of the glx one:
The text was updated successfully, but these errors were encountered: