godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.04k stars 20.19k forks source link

Godot 4 Beta 5 crashes when opening a project with a tileset #68963

Open godofgrunts opened 1 year ago

godofgrunts commented 1 year ago

Godot version

4.0.beta5.official.89a33d28f

System information

EndeavourOS, OpenGL Renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2), xf86-video-intel 1:2.99.917+916+g31486f40-2, Vulkan API 1.2.0

Issue description

Try to open a project. Godot crashes.

I believe this is due to something related to the tilemap mode as I was editing physics layers on it when it crashed.

godot4 -v -d
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
Godot Engine v4.0.beta5.official.89a33d28f - https://godotengine.org
XInput: Refreshing devices.
XInput: Absolute pointing device: xwayland-pointer:15
XInput: No touch devices found.
Detecting GPUs, set DRI_PRIME in the environment to override GPU detection logic.
Only one GPU found, using default.
Using "default" pen tablet driver...
OpenGL Renderer: Mesa Intel(R) HD Graphics 630 (KBL GT2)
JoypadLinux: udev enabled and loaded successfully.
PulseAudio: context other
PulseAudio: context other
PulseAudio: context other
PulseAudio: context ready
PulseAudio: Detecting channels for device: alsa_output.usb-MPOW_MPOW_HC6_001-00.analog-stereo
PulseAudio: detected 2 output channels
PulseAudio: audio buffer frames: 512 calculated output latency: 11ms

TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
CORE API HASH: 3803610836
EDITOR API HASH: 2719475126
EditorSettings: Load OK!
Loaded builtin certs
EditorSettings: Save OK!
WARNING: Not a PNG file
     at: check_error (drivers/png/png_driver_common.cpp:56)
ERROR: Condition "!success" is true. Returning: ERR_FILE_CORRUPT
   at: png_to_image (drivers/png/png_driver_common.cpp:69)
ERROR: Error loading image: /home/USER/programming/godot/tower-defense-godot4-1.0-beta2/icon.png
   at: load_image (core/io/image_loader.cpp:101)
Editing project: /home/USER/programming/godot/platformerv4
EditorSettings: Save OK!
Godot Engine v4.0.beta5.official.89a33d28f - https://godotengine.org
XR: Clearing primary interface
XR: Removed interfaceNative mobile
XR: Removed interfaceOpenXR
PulseAudio: context terminated
Vulkan API 1.2.0 - Using Vulkan Device #0: Intel - Intel(R) HD Graphics 630 (KBL GT2)
Orphan StringName: SceneMultiplayer
StringName: 1 unclaimed string names at exit.
WARNING: Blend file import is enabled in the project settings, but no Blender path is configured in the editor settings. Blend files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:76)
WARNING: FBX file import is enabled in the project settings, but no FBX2glTF path is configured in the editor settings. FBX files will not be imported.
     at: _editor_init (modules/gltf/register_types.cpp:100)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta5.official (89a33d28f00fec579184fb7193790d40aa09b45b)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x38a00) [0x7f8ca48caa00] (??:0)
[2] /usr/bin/godot4() [0x29aac44] (??:0)
[3] /usr/bin/godot4() [0x29accb4] (??:0)
[4] /usr/bin/godot4() [0x294c23a] (??:0)
[5] /usr/bin/godot4() [0x4297958] (??:0)
[6] /usr/bin/godot4() [0x40d3944] (??:0)
[7] /usr/bin/godot4() [0x4875095] (??:0)
[8] /usr/bin/godot4() [0x43291e7] (??:0)
[9] /usr/bin/godot4() [0x29abe45] (??:0)
[10] /usr/bin/godot4() [0xe63b95] (??:0)
[11] /usr/bin/godot4() [0xd9cca0] (??:0)
[12] /usr/lib/libc.so.6(+0x23290) [0x7f8ca48b5290] (??:0)
[13] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f8ca48b534a] (??:0)
[14] /usr/bin/godot4() [0xdbe18e] (??:0)
-- END OF BACKTRACE --

Steps to reproduce

Not 100% sure how to reproduce, but:

  1. Create a tilemap
  2. Add a resource
  3. Add collisions to the resource
  4. Starting editing the physics layer in the painter section

Minimal reproduction project

platformer.zip

clayjohn commented 1 year ago

I can't reproduce on PopOS 22.04 Intel graphics. I tried in Beta 5 and in Beta 14 and the project opened and ran successfully.