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

[BUG] Exiting with 'Q' while waiting for other players crashes #2642

Open
1 task done
lhofhansl opened this issue Jul 27, 2024 · 0 comments
Open
1 task done

[BUG] Exiting with 'Q' while waiting for other players crashes #2642

lhofhansl opened this issue Jul 27, 2024 · 0 comments
Labels

Comments

@lhofhansl
Copy link

GZDoom version

4.12.2

Which game are you running with GZDoom?

Doom 2

What Operating System are you using?

Linux x86_64

Please describe your specific OS version

Fedora 39

Relevant hardware info

Intel

Have you checked that no other similar issue already exists?

  • I have searched and not found similar issues.

A clear and concise description of what the bug is.

Start gzdoom with -host 2. Before anybody joins press 'Q'.

Here's a gdb trace:

Console player number: 0
Press 'Q' to abort network game synchronization.
Waiting for players: .  [ 1/ 2]
Network game synchronization aborted.
Thread 1 "gzdoom" received signal SIGFPE, Arithmetic exception.
0x0000555555b0c2b6 in DFrameBuffer::ScaleCoordsFromWindow(short&, short&) ()
(gdb) bt
#0  0x0000555555b0c2b6 in DFrameBuffer::ScaleCoordsFromWindow(short&, short&) ()
#1  0x000055555567e3f8 in MessagePump(SDL_Event const&) ()
#2  0x000055555567e968 in I_GetEvent() ()
#3  0x000055555580a1e9 in D_DoomLoop() ()
#4  0x000055555580e28c in D_DoomMain_Internal() ()
#5  0x000055555580f510 in GameMain() ()
#6  0x0000555555652c64 in main ()
(gdb)

Steps to reproduce the behaviour.

See above...

Explain how to reproduce

  1. start with -host 2
  2. press 'Q'
  3. notice the exception

Your configuration

All defaults.

Provide a Log

No response

@lhofhansl lhofhansl added the bug label Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant