godot icon indicating copy to clipboard operation
godot copied to clipboard

Godot 4.0 crashes if game window closed while debug break

Open elvisish opened this issue 3 years ago • 3 comments

Godot version

4.0b6

System information

Windows 10

Issue description

In 3.x if the game breaks during a debug error, you could close the game window and go back to Godot to fix the issue, but since 4.0 if you try to X the game window while it's running, it crashes and hangs until windows has to force it to close.

Steps to reproduce

  • Run a game in godot
  • Wait until debug error causes the game to halt
  • Close the game window image

Minimal reproduction project

crashbug.zip

elvisish avatar Dec 05 '22 20:12 elvisish

Not reproducible on Ubuntu 20.04

RumblingTurtle avatar Dec 05 '22 20:12 RumblingTurtle

@elvisish Please upload a minimal reproduction project to make this easier to troubleshoot.

Calinou avatar Dec 06 '22 00:12 Calinou

@elvisish Please upload a minimal reproduction project to make this easier to troubleshoot.

I literally did? image

elvisish avatar Dec 06 '22 00:12 elvisish

Still broken on beta 10.

elvisish avatar Dec 27 '22 22:12 elvisish

Still doing this on 4.0.2 stable.

elvisish avatar Apr 05 '23 21:04 elvisish

Still on 4.0.3 RC2.

elvisish avatar May 18 '23 15:05 elvisish

Still on 4.1.1 stable.

elvisish avatar Sep 22 '23 07:09 elvisish

This could probably be worked around by disabling the handling of quit requests just before performing a debug break (and restoring the previous state when resuming).

Note that pressing F8 or the Stop button in the editor doesn't send a quit request. It kills the process instead, so that functionality will keep working regardless.

Calinou avatar Sep 22 '23 17:09 Calinou

Still happens on 4.2 stable.

elvisish avatar Dec 24 '23 21:12 elvisish

Still happens on 4.3 beta 2.

elvisish avatar Jul 12 '24 22:07 elvisish