godotengine / godot

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

Godot editor crashing due to illegal instruction (Ubuntu VM) #94255

Open tobydjones opened 4 months ago

tobydjones commented 4 months ago

Tested versions

System information

Godot v4.2.2.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - GLES3 (Compatibility) - llvmpipe (LLVM 15.0.7, 256 bits) () - Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (2 Threads)

Issue description

I have been using Godot on an Azure VM (Ubuntu) for a few months with no issues. Yesterday, however, the editor started crashing a minute or so after opening my project, with no error message.

edited to remove MRP, as that introduced a different (known) bug

Here's the verbose output of my actual project: godot crash - game server project.txt

AThousandShips commented 4 months ago

This sounds like it's not a Godot problem but the VM, I'd say that if it doesn't happen on a genuine machine the error lies in the implementation of the VM and if we can identify the cause and it's trivial to fix we can do that

tobydjones commented 4 months ago

I should have said my home PC is Windows 10, not Ubuntu, so I can't rule out Ubuntu itself, but it could well be the VM. What can I do to help track down the issue? Is there any software I can install? Thanks. There's no core-dump, is that a setting or something I have to install? Would it be useful?

AThousandShips commented 4 months ago

I don't know in this case, will see if I can find some resources, but might be someone else who can point in the right direction as well

alvinhochun commented 4 months ago
tobydjones commented 4 months ago

That looks very promising, thank you.

(edit) Unfortunately that's not the issue, as my project is in Compatibility mode

huwpascoe commented 4 months ago

Can't imagine Godot requiring next gen SIMD instructions. Got to find out what's in that core dump to be sure.

tobydjones commented 3 months ago

@huwpascoe Here's the: core dump

I will attempt to look myself, though I don't know what I'm doing...

gdb gave me:

0 0x000078b5ee697edc in ?? ()

I found this thread about compiling Godot with debugging symbols but I don't want to have to go through that hassle. Is there anywhere I can download 4.2.2 with debugging symbols included please?

huwpascoe commented 3 months ago

If it's possible to get gdb to show the actual data at that address or an asm view or something then that'd help.