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

Occasional hang on game exit (GUI) #7329

Closed
Berbe opened this issue Mar 5, 2019 · 3 comments
Closed

Occasional hang on game exit (GUI) #7329

Berbe opened this issue Mar 5, 2019 · 3 comments

Comments

@Berbe
Copy link
Contributor

Berbe commented Mar 5, 2019

Version of OpenTTD

93a6fd4
To be honest, I derived from it the content of #7328 on it (specifically bc45ebc), but those changes, in their current state, shall not have an impact. Moreover, I already experimented that on trunk versions too.

Output of -d driver=1 (added on @nielsmh request)

dbg: [driver] Successfully loaded blitter '32bpp-anim'
dbg: [driver] SDL: using mode 1920x921x32
dbg: [driver] SDL: using driver 'x11'
dbg: [driver] Successfully probed video driver 'sdl'
dbg: [driver] Successfully probed sound driver 'sdl'
dbg: [driver] Successfully probed music driver 'extmidi'
dbg: [driver] Successfully loaded blitter '32bpp-sse2-anim'
dbg: [driver] SDL: using mode 1920x921x32
dbg: [driver] SDL: using threads
dbg: [driver] extmidi: set volume not implemented

OS information (added on @nielsmh request)

Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux

Expected result

No hang

Actual result

Sometimes the game freezes.
After having done a strace on the last occurrence, it gave:

futex(0x7f72103c49d0, FUTEX_WAIT, 4337, NULL

Steps to reproduce

Load a game (does not seem to be dependent on the type), and use the Exit GUI menu option.
On clicking on Yes in the popup window which appears, the game might hang.

I do not have any idea about specific conditions the game state must be in.

@nielsmh
Copy link
Contributor

nielsmh commented Mar 5, 2019

OS, and what video, sound, music drivers are in use?

Next time it happens, can you try to get a stack trace of all threads in the process?

@LordAro
Copy link
Member

LordAro commented Mar 5, 2019

(using gdb, probably)

@LordAro
Copy link
Member

LordAro commented Feb 16, 2020

There's been no activity on this in quite some time, and this issue has not been seen before or since. If there's no further activity on this issue, it will be closed in the next few weeks

@Berbe Berbe closed this as completed Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants