godotengine / godot

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

Program crashed with signal 11 #75568

Closed werryxgames closed 7 months ago

werryxgames commented 1 year ago

Godot version

4.0.1.stable

System information

Ubuntu, Vulkan (Mobile), Compatibility

Issue description

Godot crashed with this error message:

Vulkan API 1.3.244 - Forward Mobile - Using Vulkan Device #0: AMD - AMD Radeon R4 Graphics (RADV STONEY)

<some usual output>

================================================================
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] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0) [0x7ff6e7c3bcf0] (??:0)
[2] /opt/godot/Godot.x86_64() [0x45e12f9] (??:0)
[3] /opt/godot/Godot.x86_64() [0x45e42dd] (??:0)
[4] /opt/godot/Godot.x86_64() [0x34814c4] (??:0)
[5] /opt/godot/Godot.x86_64() [0x34817c0] (??:0)
[6] /opt/godot/Godot.x86_64() [0xf94918] (??:0)
[7] /opt/godot/Godot.x86_64() [0xf956aa] (??:0)
[8] /opt/godot/Godot.x86_64() [0x45957e8] (??:0)
[9] /opt/godot/Godot.x86_64() [0x43ce154] (??:0)
[10] /opt/godot/Godot.x86_64() [0x4b8cb65] (??:0)
[11] /opt/godot/Godot.x86_64() [0x45e3027] (??:0)
[12] /opt/godot/Godot.x86_64() [0x2bd9148] (??:0)
[13] /opt/godot/Godot.x86_64() [0xec1566] (??:0)
[14] /opt/godot/Godot.x86_64() [0xe03993] (??:0)
[15] /lib/x86_64-linux-gnu/libc.so.6(+0x23510) [0x7ff6e7c23510] (??:0)
[16] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7ff6e7c235c9] (??:0)
[17] /opt/godot/Godot.x86_64() [0xe23a0e] (??:0)
-- END OF BACKTRACE --
================================================================
./godot.sh: строка 1:  6114 Аварийный останов         (образ памяти сброшен на диск) /opt/godot/Godot.x86_64 --path ~/GodotProjects/$1/ --editor

I run Godot from command line because 4.0.1 (and 4.0) is not available in snap store

Also there is Ubuntu window about crash:

ExecutablePath
    /opt/godot/Godot.x86_64
ProblemType
    Crash
Title
    Godot.x86_64 crashed with SIGABRT
ApportVersion
    2.23.1-0ubuntu3
Architecture:
    amd64
CasperMD5CheckResult
    unknown
CoreDump
    (binary data)
CrashCounter
    1
CurrentDesktop
    ubuntu:GNOME
Date
    Sat Apr 1 18:52:40 2023
Disassembly
    => 0x7ff6e7c9926b <__GI___pthread_kill+283>:    mov %eax, %r12d
    ...6e <...+286>:    neg %r12d
    ...71 <...+289>:    cmp $0xfffff000,%eax
    ...76 <...+294>:    mov $0x0,%eax
    ...7b <...+299>:    cmovbe %eax,%r12d
    ...7f <...+303>:    jmp 0x7ff6e7c921fc <__GI___pthread_kill+172>
    ...84 <...+308>:    nopl 0x0(%rax)
    ...88 <...+312>:    mov %r13,%rdi
    ...8b <...+315>:    call 0x7ff6e7c8cb60 <__GI___lll_lock_wait_private>
    ...90 <...+320>:    jmp 0x7ff6e7c921c8 <__GI___pthread_kill+120>
    ...95 <...+325>:    nopl (%rax)
    ...98 <...+328>:    mov %r13,%rdi
    ...9b <...+331>:    call 0x7ff6e7c8cc20 <__GI___lll_lock_wait_private>
    ...a0 <...+336>:    jmp 0x7ff6e7c921e5 <__GI___pthread_kill+149>
    ...a5 <...+341>:    call 0x7ff6e7d2f620 <__stack_chk_fail>
    ...aa:    nopw 0x0(%rax,%rax,1)
# (sorry if typed something wrong, there is no "Copy" button in this window)
DistroRelease
    Ubuntu 22.10
InstallationDate
    Installed on 2023-01-10 (81 days ago)
InstallationMedia
    Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
JournalErrors
    april 01 18:52:45 <user> systemd[1806]: update-notifier-crash.service: Failed with result 'exit-code'.
    april 01 18:52:45 <user> systemd[1806]: Failed to start Notification regarding a crash report.
ProcCmdLine
    ...
ProcCwd
    /home/<user>/GodotProjects/<project name>
ProcEnviron
    SHELL=/bin/bash
    LANGUAGE=ru
    # LC-* skipped
    TERM=xterm-256color
    XDG_RUNTIME_DIR=<set>
    PATH=(custom, user)
ProcMaps
    00400000-00406000 r--p 00000000 08:05 2785204    /opt/godot/Godot.x86_64
    # (next 4 blocks groupped to 1)
    00406000-07281000 rw-p 06905000 08:05 2785204    /opt/godot/Godot.x86_64
    ...
    0842a000-22a39000 rw-p 00000000 00:00 0 [heap]
    ...
    ... /dev/dri/renderD128
    ...
    ... /memfd:pulseaudio (deleted)
    ...
ProcStatus
    Name: Godot.x86_64
    Umask: 0002
    State: S (sleeping)
    Tgid: 6114
    Ngid: 0
    Pid: 6114
    PPid: 6112
    TracerPid: 0
    Uid: 1000 1000 1000 1000
    Gid: 1000 1000 1000 1000
    FDSize: 64
    Groups: 4 24 27 30 46 122 134 135 1000
    ...
    CoreDumping: 1
    THP_enabled: 1
    Threads: 19
    SigQ: 2/29272
    Speculation_Store_Bypass: thread vulnerable
    SpeculationIndirectBranch: conditional enabled
    Cpus_allowed: f
    ...
ProcVersionSignature
    Ubuntu 5.19.0-38.39-generic 5.19.17
Registers
    rax 0x0 0
    rbx 0x17e2 6114
    rcx 0x7ff6e7c9226b ...
    rdx 0x6
    rsi (and rdi) 0x17e2
    rbp 0x6
    rsp 0x7ffc42d7fa10
    r8 0x1cd29310
    r9 0x7ffc42d7f930
    r10 0x8
    r11 0x246
    r12 0x16
    r13 0x7ffc42d7fb80
    r14 0x12
    r15 0x2102b920
    rip 0x7ff6e7c9226b
    eflags 0x246 [PF ZF IF]
    cs 0x33
    ss 0x2b
    ds (es, fs and gs) 0x0
Signal
    6
Stacktrace
    #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
    ... (no symbol table info available)
    # 20 0x00007ff6e7c23510 in __libc_start_call_main (main=main@entry=0xe02800,argv=argv@entry=...) at ../sysdeps/nptl/libc_start_call_main.h:58
        self, result = <optimized out>
        unwind_buf = {...}
        not_first_call = <optimized out>
StacktraceAddressSignature
    /opt/godot/Godot.x86_64:6:/usr/lib/x86_64-linux-gnu/libc.so.6+19c46:/usr/lib/...libc.so...:/opt/godot/Godot.x86_64+abb566
StacktraceTop
    ?? () # repeated 4 times (5 with this)
Tags
    kinetic
ThreadStacktrace
    .
    Thread 19 (...):
    #0 __futex_abstimed_wait_common64 (prvate=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0xc5882f8) at ./nptl/futex-internal.c:57
    ...
    Thread 18 (...):
    #0 __futext_abstimed_wait_common64 (private=-1143935744, cancel=true, abstime=0x7ff6ce7fddc0, op=137, expected=0, futex_word=0x1d228d74) at ./nptl/futex-internal.c:57
Uname
    Linux 5.19.0-38-generic x86_64
UnreportableReason
    Возможно, этот пакет установлен неправильно (maybe this packet installed wrong)
UpgradeStatus
    Upgraded to kinetic on 2023-03-30 (2 days ago)
UserGroups
    adm cdrom dip lpadmin lxd plugdev sambashare sudo
separator

Godot already crashed 1 time, before this crash, but I didn't report it.

Steps to reproduce

  1. Open Godot editor
  2. (not sure if related, but Godot didn't crash before editor change) Change editor to external (Sublime text) because of #74548
  3. (not sure if related) Connect to Godot language server from Sublime text
  4. (not sure if related) Unfocus Godot window for ~2 hours

Minimal reproduction project

N/A

Calinou commented 1 year ago

Can you try to get a full backtrace by running a debug build from a terminal? This will tell you where the issue comes from.

werryxgames commented 1 year ago

I updated Godot to 4.0.2 (not debug build) and Godot crashed with cmd $GODOT_PATH --path $PROJECT_PATH with error (ERROR: Condition "_first != nullptr" is true. at: (don't know what was next)) in stdout/err and ...handle_crash: Program crashed with signal 11...

Then I downloaded debug build, ran project with same command and got:

ERROR: Condition "_first != nullptr" is true.
   at: ~List (./core/templates/self_list.h:106)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.stable.custom_build (92bee43adba8d2401ef40e2480e53087bcb1eaf1)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0) [0x7fc7a943bcf0] (??:0)
[2] /opt/godot/Godot.x86_64(+0xf47315) [0x557f80e78315] (/opt/godot/./core/string/string_name.h:126)
[3] /opt/godot/Godot.x86_64(+0x5288ca4) [0x557f851b9ca4] (/opt/godot/core/object/object.cpp:793)
[4] /opt/godot/Godot.x86_64(+0x528b50e) [0x557f851bc50e] (/opt/godot/core/object/object.cpp:197)
[5] /opt/godot/Godot.x86_64(+0xb8169d) [0x557f80ab269d] (/opt/godot/./core/os/memory.h:105)
[6] /opt/godot/Godot.x86_64(+0x4f3297f) [0x557f84e6397f] (/opt/godot/./core/object/ref_counted.h:221)
[7] /opt/godot/Godot.x86_64(+0xbc6049) [0x557f80af7049] (/opt/godot/./core/os/memory.h:112)
[8] /opt/godot/Godot.x86_64(+0xb3cdb8) [0x557f80a6ddb8] (/opt/godot/platform/linuxbsd/godot_linuxbsd.cpp:77)
[9] /lib/x86_64-linux-gnu/libc.so.6(+0x23510) [0x7fc7a9423510] (??:0)
[10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7fc7a94235c9] (??:0)
[11] /opt/godot/Godot.x86_64(+0xb49d2e) [0x557f80a7ad2e] (??:?)
-- END OF BACKTRACE --
================================================================
andersmmg commented 1 year ago

I get a very similar looking crash sometimes after importing large files, especially blender files.

ERROR: Condition "!data.tree" is true. Returning: nullptr
   at: get_tree (./scene/main/node.h:329)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.1.stable.arch_linux
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x38f50) [0x7f3919569f50] (??:0)
[2] /usr/bin/godot(+0x2cb8bb7) [0x559690554bb7] (??:?)
[3] /usr/bin/godot(+0x2ecd6b6) [0x5596907696b6] (??:?)
[4] /usr/bin/godot(+0x2ecece6) [0x55969076ace6] (??:?)
[5] /usr/bin/godot(+0x474f478) [0x559691feb478] (??:?)
[6] /usr/bin/godot(+0x2c2bf8e) [0x5596904c7f8e] (??:?)
[7] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[8] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[9] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[10] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[11] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[12] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[13] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[14] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[15] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[16] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[17] /usr/bin/godot(+0x2c2bfaf) [0x5596904c7faf] (??:?)
[18] /usr/bin/godot(+0x1ce08c6) [0x55968f57c8c6] (??:?)
[19] /usr/bin/godot(+0x1ce2a6a) [0x55968f57ea6a] (??:?)
[20] /usr/bin/godot(+0x1cfcace) [0x55968f598ace] (??:?)
[21] /usr/bin/godot(+0x47d2ae2) [0x55969206eae2] (??:?)
[22] /usr/bin/godot(+0x1be5ffe) [0x55968f481ffe] (??:?)
[23] /usr/bin/godot(+0x1be8a5b) [0x55968f484a5b] (??:?)
[24] /usr/bin/godot(+0x1be9fbe) [0x55968f485fbe] (??:?)
[25] /usr/bin/godot(+0x474f478) [0x559691feb478] (??:?)
[26] /usr/bin/godot(+0x2c3afd6) [0x5596904d6fd6] (??:?)
[27] /usr/bin/godot(+0x2c8c0ce) [0x5596905280ce] (??:?)
[28] /usr/bin/godot(+0xf3c8d4) [0x55968e7d88d4] (??:?)
[29] /usr/bin/godot(+0xee2553) [0x55968e77e553] (??:?)
[30] /usr/lib/libc.so.6(+0x23790) [0x7f3919554790] (??:0)
[31] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f391955484a] (??:0)
[32] /usr/bin/godot(+0xef0d65) [0x55968e78cd65] (??:?)
-- END OF BACKTRACE --
================================================================

Edit: I get pretty much the same crash on 4.0.2 mono, the non-mono package just is still at 4.0.1

werryxgames commented 1 year ago

Godot 4.0 (debug) editor crashed (but may be unrelated). Here is Ubuntu crash handler important info (there is no Copy button in this window):

ProblemType
    Crash
Title
    Godot.x86_64 assert failure: corrupted double-linked list
AssertionMessage
    corrupted double-linked list
ProcCmdline
    /opt/godot/Godot.x86_64 --path $PROJECT_PATH --editor
Signal
    6
Stacktrace
    #0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
        ret = 0
        old_mask = {__val = {1}}
    #1 __pthread_kill_internal (signo=6, threadid=<optimiez out>) at ./nptl/pthread_kill.c:78
        No locals
    #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
        No locals
    ...
    #10 0x... in hb_buffer_destroy(buffer=<optimized out>) at thirdparty/harfbuzz/src/hb-buffer.cc:841
        No locals
    #11 0x... in TextServerAdvanced::ShapedTextDataAdvanced::~ShapedTextDataAdvanced (this=0x7f...ab0, __in_chrg=<optimized out>) at modules/text_server_adv/text_server_adv.h:523
        No locals
    #12 memdelete<TextServerAdvanced::ShapedTextDataAdvanced> (p_class=0x7f...ab0) at ./core/os/memory.h:109
        No locals
    #13 TextServerAdvanced::_free_rid (this=0x..., p_rid=...) at modules/text_server_adv/text_server_adv.cpp:399
        sd = 0x7f...ab0
        _thread_safe_method_ = {lock = {_M_device = 0x..., _M_owns = true}}
    #14 0x... in TextParagraph::~TextParagraph (this=0x..., __in_chrg=<optimized out>) at scenes/res
    [...]
StacktraceTop
    __libc_message ...
    malloc_printerr ...
    unlink_chunk ...
    _int_free ...
    __GI___libc_free ...
ThreadStacktrace
    .
    Thread 23 (Thread 0x... (LWP 175247)):
        #0 __memcpy_ssse3() at ../sysdeps/x86_64/multiarch/memmove-ssse3.S:221
            No locals
        #1 0x... in memcpy(__len=__src=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
            No locals
        #2 StringBuilder::as_sting(this=this@entry=0x...) at core/string/string_builder.cpp:76
            s = @0x...: {_cowdata = {_ptr = 0x... U"\tWOOD,"}, static_null = 0 U'\000',
            i = 41
            buffer = <optimized out>
            current_position = 392260
            godot_string_elem = 18
            c_string_elem = 23
            final_string = {_cowdata = {_ptr = 0x... U"\x1867b4f0\x55ad\x1f829c70\x55ad\x628a6900..."}, static_null = 0 U'\000', static invalid_node_name_characters = {_cowdata = {_ptr = 0x... U". : @ / \" %"}, static_null = 0 U'\000', static invalid_node_name_characters = <same as static member of an already seen type>}}
        #3 0x... in TextEdit::get_text(this=<optimized out>) at scene/gui/text_edit.cpp:3400
            ret_text = {string_length = 1048501, strings = {write = {<No data fields>}, _cowdata = {_ptr = 0x...}}, c_strings = {write = {<No data fields>}, _cowdata = ...}}
            text_size = <optimized out>
        #4 0x... in ScriptTextEditor::get_functions (this=0x...) at editor/plugins/script_text_editor.cpp:114
            te = <optimized out>
            text = ...
            fnc = {_data = 0x...}
        #5 0x... in ScriptEditor::_update_members_overview (this=0x...) at editor/plugins/script_editor_plugin.cpp:1848
            se = 0x... (same address as in text[_cowdata[_ptr]] in #4)
            functions = {write = <No data fields}, _cowdata = {_ptr = 0x... <__dynamic_cast+122>}}
            path = ...
            built_in = <optimized out>
            name = ...
        #6 0x... in ScriptEditor::_update_script_names (this=0x...) at editor/plugins/script_editor_plugin.cpp:2141
            used = {static MIN_CAPACITY_INDEX = 2, static MAX_OCCUPANCY = 0.75
        [...]
werryxgames commented 1 year ago

Another backtrace

ERROR: Condition "_first != nullptr" is true.
   at: ~List (./core/templates/self_list.h:106)
ERROR: 1 RID allocations of type 'N5GLES37TextureE' were leaked at exit.
ERROR: 1 RID allocations of type 'N18RendererCanvasCull4ItemE' were leaked at exit.

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.stable.custom_build (92bee43adba8d2401ef40e2480e53087bcb1eaf1)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0) [0x7f72a343bcf0] (??:0)
[2] godot(+0xf47315) [0x561e13e90315] (/opt/godot/./core/string/string_name.h:126)
[3] godot(+0x5288ca4) [0x561e181d1ca4] (/opt/godot/core/object/object.cpp:793)
[4] godot(+0x528b50e) [0x561e181d450e] (/opt/godot/core/object/object.cpp:197)
[5] godot(+0xb8169d) [0x561e13aca69d] (/opt/godot/./core/os/memory.h:105)
[6] godot(+0x4f3297f) [0x561e17e7b97f] (/opt/godot/./core/object/ref_counted.h:221)
[7] godot(+0xbc6049) [0x561e13b0f049] (/opt/godot/./core/os/memory.h:112)
[8] godot(+0xb3cdb8) [0x561e13a85db8] (/opt/godot/platform/linuxbsd/godot_linuxbsd.cpp:77)
[9] /lib/x86_64-linux-gnu/libc.so.6(+0x23510) [0x7f72a3423510] (??:0)
[10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7f72a34235c9] (??:0)
[11] godot(+0xb49d2e) [0x561e13a92d2e] (??:?)
-- END OF BACKTRACE --
================================================================
werryxgames commented 1 year ago

Program crashed with signal 11, but other backtrace

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.stable.custom_build (92bee43adba8d2401ef40e2480e53087bcb1eaf1)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0) [0x7f9f55c3bcf0] (??:0)
[2] godot(+0x4ff9a9d) [0x560970246a9d] (/opt/godot/core/variant/variant_call.cpp:1161 (discriminator 6))
[3] godot(+0x10da432) [0x56096c327432] (/opt/godot/./core/variant/variant.h:301)
[4] godot(+0xf47080) [0x56096c194080] (/opt/godot/modules/gdscript/gdscript.cpp:1826)
[5] godot(+0x2f9f1c4) [0x56096e1ec1c4] (/opt/godot/./core/variant/variant.h:301)
[6] godot(+0x368dbc8) [0x56096e8dabc8] (/opt/godot/./scene/main/canvas_item.h:45)
[7] godot(+0x5288c48) [0x5609704d5c48] (/opt/godot/core/object/object.cpp:792)
[8] godot(+0x2fd0db2) [0x56096e21ddb2] (/opt/godot/scene/main/scene_tree.cpp:874)
[9] godot(+0x2fd6e20) [0x56096e223e20] (/opt/godot/scene/main/scene_tree.cpp:429)
[10] godot(+0xbb12d7) [0x56096bdfe2d7] (/opt/godot/main/main.cpp:3123)
[11] godot(+0xb4c761) [0x56096bd99761] (/opt/godot/platform/linuxbsd/os_linuxbsd.cpp:880)
[12] godot(+0xb3cdb1) [0x56096bd89db1] (/opt/godot/platform/linuxbsd/godot_linuxbsd.cpp:75)
[13] /lib/x86_64-linux-gnu/libc.so.6(+0x23510) [0x7f9f55c23510] (??:0)
[14] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7f9f55c235c9] (??:0)
[15] godot(+0xb49d2e) [0x56096bd96d2e] (??:?)
-- END OF BACKTRACE --
HStep20 commented 1 year ago

Im seeing similar issues when trying to compile a project in a Github Action using ubuntu:

  savepack: end
  reimport: end
  ERROR: 2 RID allocations of type 'P11GodotBody2D' were leaked at exit.
  ERROR: 4 RID allocations of type 'P11GodotArea2D' were leaked at exit.
  ERROR: 4 RID allocations of type 'P12GodotShape2D' were leaked at exit.
  ERROR: Condition "_first != nullptr" is true.
     at: ~List (./core/templates/self_list.h:106)
  ERROR: 98 RID allocations of type 'N18RendererCanvasCull4ItemE' were leaked at exit.
  ERROR: 3 RID allocations of type 'N18RendererCanvasCull6CanvasE' were leaked at exit.
  ERROR: 28 RID allocations of type 'PN13RendererDummy14TextureStorage12DummyTextureE' were leaked at exit.
  ERROR: 62 RID allocations of type 'PN18TextServerAdvanced22ShapedTextDataAdvancedE' were leaked at exit.
  ERROR: 1 RID allocations of type 'PN18TextServerAdvanced12FontAdvancedE' were leaked at exit.

  ================================================================
  handle_crash: Program crashed with signal 11
  Engine version: Godot Engine v4.0.2.stable.official (7a0977ce2c558fe6219f0a14f8bd4d05aea8f019)
  Dumping the backtrace. 
  [1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f29981f0520] (??:0)
  [2] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0x112245f] (??:0)
  [3] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0x45788b8] (??:0)
  [4] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0xeda5ca] (??:0)
  [5] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0x1d2bdf5] (??:0)
  [6] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0x41fdce2] (??:0)
  [7] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0x41fd250] (??:0)
  [8] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0x41fd286] (??:0)
  [9] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0x426d5cc] (??:0)
  [10] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0xe09ff8] (??:0)
  [11] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f29981d7d90] (??:0)
  [12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f29981d7e40] (??:0)
  [13] /home/runner/.local/share/godot/godot_executable/Godot_v4.0.2-stable_linux.x86_64() [0xe29b3e] (??:0)
  -- END OF BACKTRACE --
  ================================================================
werryxgames commented 1 year ago

Here is backtrace from release 4.0.2 version (yes, it's full backtrace)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.2.stable.official (7a0977ce2c558fe6219f0a14f8bd4d05aea8f019)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0) [0x7f50a6e3bcf0] (??:0)
-- END OF BACKTRACE --
================================================================
HStep20 commented 1 year ago

After doing more testing to try and get my action to work, it turned out to be a faulty plugin. I had:

Excluding the Addons folder fixed it in the action for me.

JusSergey commented 1 year ago

Got similar:

ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Attempted to free invalid ID: 0
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8394)
ERROR: Condition "!shader" is true.
   at: shader_free (servers/rendering/renderer_rd/storage_rd/material_storage.cpp:2453)
ERROR: Condition "!material" is true.
   at: material_free (servers/rendering/renderer_rd/storage_rd/material_storage.cpp:2686)
ERROR: 2 RID allocations of type 'N18RendererCanvasCull4ItemE' were leaked at exit.

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.2.stable.official (7a0977ce2c558fe6219f0a14f8bd4d05aea8f019)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f78aa748520] (??:0)
[2] /home/core/godot_stable/brickswall/Godot2.x86_64() [0x2bbeabb] (??:0)
[3] /home/core/godot_stable/brickswall/Godot2.x86_64() [0x2c4a312] (??:0)
[4] /home/core/godot_stable/brickswall/Godot2.x86_64() [0x2c3d3f9] (??:0)
[5] /home/core/godot_stable/brickswall/Godot2.x86_64() [0x26d0a0e] (??:0)
[6] /home/core/godot_stable/brickswall/Godot2.x86_64() [0xb5f831] (??:0)
[7] /home/core/godot_stable/brickswall/Godot2.x86_64() [0xaca764] (??:0)
[8] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f78aa72fd90] (??:0)
[9] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7f78aa72fe40] (??:0)
[10] /home/core/godot_stable/brickswall/Godot2.x86_64() [0xae331e] (??:0)
-- END OF BACKTRACE --
================================================================
Aborted (core dumped)

It's only when I try to close the window (i.e. i press ALT+F4), interesting fact, i sometimes reload the current scene, and if i see ERROR: 2 RID this means that i reloaded the scene 2 times, this number is always the number how many times i reloaded my scene

ogrady commented 1 year ago

Similar on Manjaro with Godot 4.1.

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.1.stable.official (970459615f6b2b4151742ec6d7ef8559f87fd5c5)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x39ab0) [0x7f4929acbab0] (??:0)
[2] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x47c0a51] (??:0)
[3] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x12ec53a] (??:0)
[4] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d19fa0] (??:0)
[5] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x47c0a54] (??:0)
[6] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x12ec53a] (??:0)
[7] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d19fa0] (??:0)
[8] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x47c0a54] (??:0)
[9] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x12ec53a] (??:0)
[10] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d19fa0] (??:0)
[11] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x47c0a54] (??:0)
[12] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x12ec53a] (??:0)
[13] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d19fa0] (??:0)
[14] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x47c0a54] (??:0)
[15] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x12ec53a] (??:0)
[16] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d19fa0] (??:0)
[17] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x47c0a54] (??:0)
[18] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x12ec53a] (??:0)
[19] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d19fa0] (??:0)
[20] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x47c0a54] (??:0)
[21] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x12ec53a] (??:0)
[22] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2a11432] (??:0)
[23] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x1dea1f6] (??:0)
[24] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x1deb399] (??:0)
[25] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x1deac19] (??:0)
[26] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x46186a2] (??:0)
[27] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x4837731] (??:0)
[28] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x10fdedf] (??:0)
[29] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x3000aa2] (??:0)
[30] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d33fc0] (??:0)
[31] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d79e29] (??:0)
[32] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2d7d51c] (??:0)
[33] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x2da47d5] (??:0)
[34] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0xeb6250] (??:0)
[35] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x45ba1b3] (??:0)
[36] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0x45bb40e] (??:0)
[37] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0xeb68ff] (??:0)
[38] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0xe45aa3] (??:0)
[39] /usr/lib/libc.so.6(+0x23850) [0x7f4929ab5850] (??:0)
[40] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f4929ab590a] (??:0)
[41] /home/user/.local/share/Steam/steamapps/common/Godot Engine/godot.x11.opt.tools.64() [0xe76cee] (??:0)
-- END OF BACKTRACE --
================================================================

Note that I faced some "Load Error" (which I cba to type out, since you made that error popup readonly with seemingly no way to copy the message) during startup. There are also some leftover errors from our migration from 3.5, but they don't appear to be related. Providing an excerpt anyway:

ERROR: Attempt to disconnect a nonexistent connection from 'Skeleton3D:<Skeleton3D#2424005789782>'. Signal: 'bone_pose_changed', callable: 'BoneAttachment3D::on_bone_pose_update'.
   at: _disconnect (core/object/object.cpp:1349)
SCRIPT ERROR: Parse Error: Identifier "Geometry" not declared in the current scope.
          at: GDScript::reload (res://levels/fog_of_war3_d.gd:162)
SCRIPT ERROR: Parse Error: Invalid argument for "add_child()" function: argument 1 should be "Node" but is "ImmediateMesh".
          at: GDScript::reload (res://levels/fog_of_war3_d.gd:185)
SCRIPT ERROR: Parse Error: Identifier "Geometry" not declared in the current scope.
          at: GDScript::reload (res://levels/fog_of_war3_d.gd:136)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:324)
ERROR: Condition "!is_inside_tree()" is true. Returning: Transform3D()
   at: get_global_transform (scene/3d/node_3d.cpp:324)
ERROR: Signal 'bone_pose_changed' is already connected to given callable 'BoneAttachment3D::on_bone_pose_update' in that object.
   at: connect (core/object/object.cpp:1292)
ERROR: Signal 'bone_pose_changed' is already connected to given callable 'BoneAttachment3D::on_bone_pose_update' in that object.
   at: connect (core/object/object.cpp:1292)
ERROR: Signal 'bone_pose_changed' is already connected to given callable 'BoneAttachment3D::on_bone_pose_update' in that object.
   at: connect (core/object/object.cpp:1292)
ERROR: Navigation map synchronization error. Attempted to update a navigation region with a navigation mesh that uses a different `cell_size` than the `cell_size` set on the navigation map.
   at: update_polygons (modules/navigation/nav_region.cpp:118)
ERROR: Navigation map synchronization error. Attempted to update a navigation region with a navigation mesh that uses a different `cell_height` than the `cell_height` set on the navigation map.
   at: update_polygons (modules/navigation/nav_region.cpp:122)
werryxgames commented 1 year ago

Godot 4.1.1.stable backtrace (release build)

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.1.1.stable.official (bd6af8e0ea69167dd0627f3bd54f9105bda0f8b5)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x3c4b0) [0x7efd05c3c4b0] (??:0)
[2] /usr/bin/godot() [0x4ff9eae] (??:0)
[3] /usr/bin/godot() [0x2354c98] (??:0)
[4] /usr/bin/godot() [0x236a7bd] (??:0)
[5] /usr/bin/godot() [0x47d7128] (??:0)
[6] /usr/bin/godot() [0x2a24aa7] (??:0)
[7] /usr/bin/godot() [0x1deb2e3] (??:0)
[8] /usr/bin/godot() [0x483b9d1] (??:0)
[9] /usr/bin/godot() [0x300320b] (??:0)
[10] /usr/bin/godot() [0x3003da5] (??:0)
[11] /usr/bin/godot() [0x2d365f0] (??:0)
[12] /usr/bin/godot() [0x2d7bd68] (??:0)
[13] /usr/bin/godot() [0x2d7f9ec] (??:0)
[14] /usr/bin/godot() [0x2da6ca5] (??:0)
[15] /usr/bin/godot() [0xeb6b10] (??:0)
[16] /usr/bin/godot() [0x45be723] (??:0)
[17] /usr/bin/godot() [0x45bf97e] (??:0)
[18] /usr/bin/godot() [0xeb71bf] (??:0)
[19] /usr/bin/godot() [0xe46433] (??:0)
[20] /lib/x86_64-linux-gnu/libc.so.6(+0x23a90) [0x7efd05c23a90] (??:0)
[21] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7efd05c23b49] (??:0)
[22] /usr/bin/godot() [0xe777ae] (??:0)
-- END OF BACKTRACE --
================================================================

Full output without backtrace:

Godot Engine v4.1.1.stable.official.bd6af8e0e - https://godotengine.org
OpenGL API 4.5 (Core Profile) Mesa 23.3~git2308150600.210fe9~oibaf~l (git-210fe9f 2023-08-15 lunar-oibaf-ppa) - Compatibility - Using Device: AMD - AMD Radeon R4 Graphics (stoney, LLVM 15.0.7, DRM 3.49, 6.2.0-26-generic)

ERROR: Error opening file '/home/werryx/GodotProjects/WCK/icon.svg'.
   at: load_image (core/io/image_loader.cpp:90)
Editing project: /home/werryx/GodotProjects/TanksBattle
Godot Engine v4.1.1.stable.official.bd6af8e0e - https://godotengine.org
OpenGL API 4.5 (Core Profile) Mesa 23.3~git2308150600.210fe9~oibaf~l (git-210fe9f 2023-08-15 lunar-oibaf-ppa) - Compatibility - Using Device: AMD - AMD Radeon R4 Graphics (stoney, LLVM 15.0.7, DRM 3.49, 6.2.0-26-generic)

ERROR: Condition "!texture_allocs_cache.has(p_id)" is true.
   at: texture_free_data (drivers/gles3/storage/utilities.h:111)
ERROR: Cubemap Arrays are not supported in the GL Compatibility backend.
   at: texture_2d_layered_initialize (drivers/gles3/storage/texture_storage.cpp:763)
ERROR: Attempting to use an uninitialized RID
   at: get_or_null (./core/templates/rid_owner.h:199)
ERROR: Condition "!t" is true.
   at: texture_free (drivers/gles3/storage/texture_storage.cpp:705)
ERROR: GLTF: Can't import file 'tank4', required extension 'KHR_draco_mesh_compression' is not supported. Are you missing a GLTFDocumentExtension plugin?
   at: _parse_gltf_extensions (modules/gltf/gltf_document.cpp:7474)
ERROR: Condition "err != OK" is true. Returning: ERR_PARSE_ERROR
   at: _parse_gltf_state (modules/gltf/gltf_document.cpp:7331)
ERROR: Condition "err != OK" is true. Returning: err
   at: _parse (modules/gltf/gltf_document.cpp:7012)
ERROR: Condition "err != OK" is true. Returning: err
   at: append_from_file (modules/gltf/gltf_document.cpp:7440)
ERROR: Error importing 'res://assets/models/tank4.glb'.
   at: _reimport_file (editor/editor_file_system.cpp:2044)
Blender 3.6.1 (hash 8bda729ef4dc built 2023-07-17 23:31:33)
Read prefs: "/home/werryx/.config/blender/3.6/config/userpref.blend"
Traceback (most recent call last):
  File "/snap/blender/3822/3.6/scripts/modules/addon_utils.py", line 333, in enable
    mod = __import__(module_name)
ModuleNotFoundError: No module named 'io_scene_godot'
Read blend: "<path>.blend"
11:41:17 | INFO: Draco mesh compression is available, use library at /snap/blender/3822/3.6/python/lib/python3.10/site-packages/libextern_draco.so
11:41:19 | INFO: Starting glTF 2.0 export
11:41:19 | INFO: Extracting primitive: Cube.001
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cube.002
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cube.003
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cube.004
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: NurbsPath.001
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.008
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.009
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.010
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.011
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.012
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.013
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.014
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cube.005
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: NurbsPath.002
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.015
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.016
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.017
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.018
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.019
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.020
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:20 | INFO: Extracting primitive: Cylinder.021
Error: Tangent space can only be computed for tris/quads, aborting
11:41:20 | WARNING: Could not calculate tangents. Please try to triangulate the mesh first.
11:41:20 | INFO: Primitives created: 1
11:41:21 | INFO: Finished glTF 2.0 export in 1.543672800064087 s

Blender quit
WARNING: Glow is not supported when using the GL Compatibility backend yet. Support will be added in a future release.
     at: environment_set_glow (servers/rendering/storage/environment_storage.cpp:387)
ERROR: Path to node is invalid: 'viewport'.
   at: _setup_local_to_scene (scene/main/viewport.cpp:177)
ERROR: Viewport Texture must be set to use it.
   at: get_height (scene/main/viewport.cpp:133)
ERROR: Viewport Texture must be set to use it.
   at: get_width (scene/main/viewport.cpp:123)
ERROR: Path to node is invalid: 'viewport'.
   at: _setup_local_to_scene (scene/main/viewport.cpp:177)
ERROR: GLTF: Can't import file 'tank4', required extension 'KHR_draco_mesh_compression' is not supported. Are you missing a GLTFDocumentExtension plugin?
   at: _parse_gltf_extensions (modules/gltf/gltf_document.cpp:7474)
ERROR: Condition "err != OK" is true. Returning: ERR_PARSE_ERROR
   at: _parse_gltf_state (modules/gltf/gltf_document.cpp:7331)
ERROR: Condition "err != OK" is true. Returning: err
   at: _parse (modules/gltf/gltf_document.cpp:7012)
ERROR: Condition "err != OK" is true. Returning: err
   at: append_from_file (modules/gltf/gltf_document.cpp:7440)
ERROR: Error importing 'res://assets/models/tank4.glb'.
   at: _reimport_file (editor/editor_file_system.cpp:2044)
ERROR: Attempt to disconnect a nonexistent connection from 'tank4:<Node3D#2405668298767>'. Signal: 'replacing_by', callable: 'EditorNode::set_edited_scene'.
   at: _disconnect (core/object/object.cpp:1351)
ERROR: GLTF: Can't import file 'tank4', required extension 'KHR_draco_mesh_compression' is not supported. Are you missing a GLTFDocumentExtension plugin?
   at: _parse_gltf_extensions (modules/gltf/gltf_document.cpp:7474)
ERROR: Condition "err != OK" is true. Returning: ERR_PARSE_ERROR
   at: _parse_gltf_state (modules/gltf/gltf_document.cpp:7331)
ERROR: Condition "err != OK" is true. Returning: err
   at: _parse (modules/gltf/gltf_document.cpp:7012)
ERROR: Condition "err != OK" is true. Returning: err
   at: append_from_file (modules/gltf/gltf_document.cpp:7440)
ERROR: Error importing 'res://assets/models/tank4.glb'.
   at: _reimport_file (editor/editor_file_system.cpp:2044)
ERROR: Attempt to disconnect a nonexistent connection from 'tank4:<Node3D#2440833332691>'. Signal: 'replacing_by', callable: 'EditorNode::set_edited_scene'.
   at: _disconnect (core/object/object.cpp:1351)
res://assets/textures/tank4_albedo.png: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).
res://assets/textures/tank4_orm.png: Texture detected as used in 3D. Enabling mipmap generation and setting the texture compression mode to VRAM Compressed (S3TC/ETC/BPTC).
WARNING: Failed to load cached shader, recompiling.
     at: _load_from_cache (drivers/gles3/shader_gles3.cpp:577)
ERROR: GLTF: Can't import file 'tank4', required extension 'KHR_draco_mesh_compression' is not supported. Are you missing a GLTFDocumentExtension plugin?
   at: _parse_gltf_extensions (modules/gltf/gltf_document.cpp:7474)
ERROR: Condition "err != OK" is true. Returning: ERR_PARSE_ERROR
   at: _parse_gltf_state (modules/gltf/gltf_document.cpp:7331)
ERROR: Condition "err != OK" is true. Returning: err
   at: _parse (modules/gltf/gltf_document.cpp:7012)
ERROR: Condition "err != OK" is true. Returning: err
   at: append_from_file (modules/gltf/gltf_document.cpp:7440)
ERROR: Error importing 'res://assets/models/tank4.glb'.
   at: _reimport_file (editor/editor_file_system.cpp:2044)
ERROR: Attempt to disconnect a nonexistent connection from 'tank4:<Node3D#7978421921861>'. Signal: 'replacing_by', callable: 'EditorNode::set_edited_scene'.
   at: _disconnect (core/object/object.cpp:1351)
ERROR: GLTF: Can't import file 'tank4', required extension 'KHR_draco_mesh_compression' is not supported. Are you missing a GLTFDocumentExtension plugin?
   at: _parse_gltf_extensions (modules/gltf/gltf_document.cpp:7474)
ERROR: Condition "err != OK" is true. Returning: ERR_PARSE_ERROR
   at: _parse_gltf_state (modules/gltf/gltf_document.cpp:7331)
ERROR: Condition "err != OK" is true. Returning: err
   at: _parse (modules/gltf/gltf_document.cpp:7012)
ERROR: Condition "err != OK" is true. Returning: err
   at: append_from_file (modules/gltf/gltf_document.cpp:7440)
ERROR: Error importing 'res://assets/models/tank4.glb'.
   at: _reimport_file (editor/editor_file_system.cpp:2044)
ERROR: Attempt to disconnect a nonexistent connection from 'tank4:<Node3D#11297945088662>'. Signal: 'replacing_by', callable: 'EditorNode::set_edited_scene'.
   at: _disconnect (core/object/object.cpp:1351)
ERROR: GLTF: Can't import file 'tank4', required extension 'KHR_draco_mesh_compression' is not supported. Are you missing a GLTFDocumentExtension plugin?
   at: _parse_gltf_extensions (modules/gltf/gltf_document.cpp:7474)
ERROR: Condition "err != OK" is true. Returning: ERR_PARSE_ERROR
   at: _parse_gltf_state (modules/gltf/gltf_document.cpp:7331)
ERROR: Condition "err != OK" is true. Returning: err
   at: _parse (modules/gltf/gltf_document.cpp:7012)
ERROR: Condition "err != OK" is true. Returning: err
   at: append_from_file (modules/gltf/gltf_document.cpp:7440)
ERROR: Error importing 'res://assets/models/tank4.glb'.
   at: _reimport_file (editor/editor_file_system.cpp:2044)
ERROR: Attempt to disconnect a nonexistent connection from 'tank4:<Node3D#11995894064950>'. Signal: 'replacing_by', callable: 'EditorNode::set_edited_scene'.
   at: _disconnect (core/object/object.cpp:1351)

===...
Calinou commented 1 year ago

@werryxgames The backtraces you're posting don't contain debugging symbols, which mean they're unfortunately not useful. You need to compile the engine with debug_symbols=yes, then run it until you can reproduce the crash.

Pshy0 commented 9 months ago

Happens on Godot 4.2.1 (built from source) when closing my application or the editor:

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.2.1.stable.custom_build (b09f793f564a6c95dc76acc654b390e68441bd01)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42910) [0x7ff248c42910] (??:0)
[2] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x3e39666) [0x55af4ff59666] (/home/user/projects/godot_engine/servers/rendering/renderer_scene_cull.cpp:4074 (discriminator 1))
[3] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x3080fed) [0x55af4f1a0fed] (/home/user/projects/godot_engine/./core/string/string_name.h:192 (discriminator 1))
[4] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x3245460) [0x55af4f365460] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[5] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x2f9a008) [0x55af4f0ba008] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[6] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x422bc61) [0x55af5034bc61] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[7] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x597040) [0x55af4c6b7040] (/home/user/projects/godot_engine/./core/variant/variant.h:302)
[8] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x3149b04) [0x55af4f269b04] (/home/user/projects/godot_engine/./core/templates/cowdata.h:415)
[9] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x3144ae0) [0x55af4f264ae0] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[10] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x422bc61) [0x55af5034bc61] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[11] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x597040) [0x55af4c6b7040] (/home/user/projects/godot_engine/./core/variant/variant.h:302)
[12] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x3149b04) [0x55af4f269b04] (/home/user/projects/godot_engine/./core/templates/cowdata.h:415)
[13] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x3144ae0) [0x55af4f264ae0] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[14] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x422bc61) [0x55af5034bc61] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[15] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x7ba8fa) [0x55af4c8da8fa] (/home/user/projects/godot_engine/./core/variant/variant.h:302)
[16] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x7adb0d) [0x55af4c8cdb0d] (/home/user/projects/godot_engine/./core/templates/hash_map.h:255)
[17] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x807e21) [0x55af4c927e21] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[18] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x9074e8) [0x55af4ca274e8] (/home/user/projects/godot_engine/./core/os/memory.h:112)
[19] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x5f9f0b) [0x55af4c719f0b] (/home/user/projects/godot_engine/modules/register_module_types.gen.cpp:240)
[20] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x5d0c6b) [0x55af4c6f0c6b] (/home/user/projects/godot_engine/main/main.cpp:3819)
[21] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x552142) [0x55af4c672142] (/home/user/projects/godot_engine/platform/linuxbsd/godot_linuxbsd.cpp:78)
[22] /lib/x86_64-linux-gnu/libc.so.6(+0x280d0) [0x7ff248c280d0] (??:0)
[23] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7ff248c28189] (??:0)
[24] /home/user/projects/godot_engine/bin/godot.linuxbsd.editor.x86_64(+0x55ffe5) [0x55af4c67ffe5] (??:?)
-- END OF BACKTRACE --
================================================================
Pshy0 commented 9 months ago

This might not be specific to linux. Linux catches it and report it as segfault, but on windows, compromised code might be executing without causing a crash. I checked my project that causes the crash on windows, and it does print a lot of nul characters just before terminating. Their might be a large amount of users to who this is happening but have not noticed it. badbad

sky94520 commented 7 months ago

Me too. I run my code in Mac air m1.

handle_crash: Program crashed with signal 11 Engine version: Godot Engine v4.2.1.stable.mono.official (b09f793f564a6c95dc76acc654b390e68441bd01) Dumping the backtrace. Please include this when reporting the bug to the project developer. [1] invoke_previous_action(sigaction, int, __siginfo, void, bool) [2] 2 libsystem_platform.dylib 0x00000001836a9a24 _sigtramp + 56 [3] Object ClassDB::creator() [4] 4 ??? 0x0000000281051a00 0x0 + 10754529792 [5] 5 ??? 0x00000002810518f8 0x0 + 10754529528 [6] 6 ??? 0x00000002810515bc 0x0 + 10754528700 [7] 7 ??? 0x0000000281e0042c 0x0 + 10768876588 [8] 8 ??? 0x000000028106d9cc 0x0 + 10754644428 [9] 9 ??? 0x0000000281ddd650 0x0 + 10768733776 [10] 10 ??? 0x0000000281f65a9c 0x0 + 10770340508 [11] 11 ??? 0x00000002826b2230 0x0 + 10777993776 [12] 12 ??? 0x00000002826eea44 0x0 + 10778241604 [13] 13 ??? 0x00000002826b1c98 0x0 + 10777992344 [14] 14 ??? 0x00000002825c5cb8 0x0 + 10777025720 [15] 15 ??? 0x000000028103032c 0x0 + 10754392876 [16] Object::get_instance_id() const [17] JSON::get_data() const [18] VariantInitializer<Vector>::init(Variant) [19] Object ClassDB::creator() [20] Object::get_instance_id() const [21] JSON::get_data() const [22] CallableCustomExtension::default_compare_less(CallableCustom const, CallableCustom const) [23] CallableCustomExtension::default_compare_less(CallableCustom const, CallableCustom const) [24] Node::get_index(bool) const [25] RendererCompositorRD::_create_current() [26] void rx::mtl::GetMatrixUniformMetal(unsigned int, unsigned int, unsigned int const, bool) [27] RendererCompositorRD::_create_current()

Calinou commented 7 months ago

Closing, as this issue has become a flurry of unrelated reports with no reproduction steps included.

Please open a new issue with: