Skip to content
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

wlserver: wlserver_run(): ensure waylock is released when wl_event_lo… #1649

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sharkautarch
Copy link

…op_dispatch returns ret<0

@matte-schwartz reported that they found another bug w/ gamescope hanging, which wasn’t fixed by #1335
When looking at matt’s backtrace for wlserver, it appeared to be stuck waiting on mutex g_SteamCompMgrXWaylandServerMutex

This makes me think that said hang is due to a deadlock w/ the mutexes g_SteamCompMgrXWaylandServerMutex and waylock
Which hopefully will be fixed by this PR which will prevent wlserver from trying to lock g_SteamCompMgrXWaylandServerMutex while having currently locked waylock

@sharkautarch
Copy link
Author

Edit: it appears that this PR does not fix that hang, and the hang matt reported that still occurred w/ pr #1335
Is due to that PR not unlocking the mutex when steamcompmgr_exit() is called from handle_io_error()
I’ve been discussing the issue w/ misyl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant