mahkoh / jay

A Wayland Compositor
GNU General Public License v3.0
245 stars 11 forks source link

Infinite loop in io_uring_enter #259

Closed mahkoh closed 2 weeks ago

mahkoh commented 1 month ago

During the development of #258 I encountered a situation where io_uring_enter would return and then immediately be called again without any events being dequeued. This caused the compositor to be frozen. I accidentally killed the compositor while inspecting it with GDB so I was unable to find the root cause. It's unclear if it was caused by #258 or if this is a pre-existing bug.

mahkoh commented 1 month ago

I encountered a different kind of corruption when switching from the vulkan to the opengl renderer at runtime. In this case, the problem was that I had upgraded mesa and loading opengl mixed and matched different library versions. This caused the application to hang in some at_exit call in libgallium during shutdown.

Maybe this was something similar.

mahkoh commented 2 weeks ago

It hasn't happend again since.