PankuConsole icon indicating copy to clipboard operation
PankuConsole copied to clipboard

Crashes when a script is changed while the game is running

Open spaghetus opened this issue 1 year ago • 0 comments

Describe the bug Causes Godot to segfault when a script is changed while the game is running

To Reproduce Steps to reproduce the behavior:

  1. Create a new project
  2. Install Panku Console
  3. Create a scene with a script
  4. Start the game
  5. Add a comment to the script or make any other change
  6. Save
  7. Focus the game window, wait a few seconds
  8. It doesn't seem to be entirely consistent, so try again from step 5 a few times if it doesn't happen the first time.

Expected behavior The game should not crash when changing scripts at runtime

Screenshots

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.1.stable.official (cacf49999e3fb37281d66cc591ca8bebc5712d4d)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x3e420) [0x7f8cc420b420] (??:0)
[2] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0x128d358] (??:0)
[3] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0x12c733b] (??:0)
[4] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0x45e103a] (??:0)
[5] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0x2ba6a31] (??:0)
[6] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0x45713e4] (??:0)
[7] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0x2ba187e] (??:0)
[8] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0x2bd86fe] (??:0)
[9] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0xec1d8b] (??:0)
[10] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0xe03993] (??:0)
[11] /lib64/libc.so.6(+0x27bb0) [0x7f8cc41f4bb0] (??:0)
[12] /lib64/libc.so.6(__libc_start_main+0x8b) [0x7f8cc41f4c79] (??:0)
[13] /home/willow/.local/bin/godot-4.0.1-linux.x86_64() [0xe23a0e] (??:0)
-- END OF BACKTRACE --
================================================================

Desktop (please complete the following information):

  • OS: OpenSUSE Tumbleweed
  • Godot 4.0.1 x86_64

spaghetus avatar Mar 31 '23 21:03 spaghetus