godot: Program crashed with signal 11

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

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 17 (3 by maintainers)

Most upvoted comments

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 --

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 --
================================================================