Skip to content

Godot crashes on script editor autocomplete #110393

@BlendyDev

Description

@BlendyDev

Tested versions

Found in Godot Engine v4.4.1.stable.arch_linux - https://godotengine.org

  • not reproducible in 4.3 stable
  • reproducible in 4.4 stable

System information

Godot v4.4.1.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Tue, 29 Jul 2025 15:05:00 +0000 on X11 - X11 display driver, Multi-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3070 (nvidia; 575.64.05) - 11th Gen Intel(R) Core(TM) i7-11700KF @ 3.60GHz (16 threads)

Issue description

Script editor causes a godot crash when autocomplete is used incorrectly

animation_player.
Image
ERROR: FATAL: Index p_index = 41 is out of bounds (size() = 35).
   at: get (./core/templates/cowdata.h:219)

================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.4.1.stable.arch_linux
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x3e540) [0x7fe0e774e540] (??:0)
[2] /usr/bin/godot(+0x3d04720) [0x55804eb7b720] (??:?)
[3] /usr/bin/godot(+0x3d077ad) [0x55804eb7e7ad] (??:?)
[4] /usr/bin/godot(+0x3ca8fe1) [0x55804eb1ffe1] (??:?)
[5] /usr/bin/godot(+0x3caaed8) [0x55804eb21ed8] (??:?)
[6] /usr/bin/godot(+0x3cd0b42) [0x55804eb47b42] (??:?)
[7] /usr/bin/godot(+0xeb853b) [0x55804bd2f53b] (??:?)
[8] /usr/bin/godot(+0xf03bfd) [0x55804bd7abfd] (??:?)
[9] /usr/bin/godot(+0x609f404) [0x558050f16404] (??:?)
[10] /usr/bin/godot(+0x60a0c22) [0x558050f17c22] (??:?)
[11] /usr/bin/godot(+0xf07e7f) [0x55804bd7ee7f] (??:?)
[12] /usr/bin/godot(+0xe1f7dc) [0x55804bc967dc] (??:?)
[13] /usr/lib/libc.so.6(+0x27675) [0x7fe0e7737675] (??:0)
[14] /usr/lib/libc.so.6(__libc_start_main+0x89) [0x7fe0e7737729] (??:0)
[15] /usr/bin/godot(+0xe48255) [0x55804bcbf255] (??:?)

Steps to reproduce

  • Create a script for a Node2D
  • Somewhere in code write transform. to activate autocomplete
  • Before autocomplete menu finishes loading (but not immediatly) shift down arrow to select until next line, and wait until autocomplete menu shows up
  • Click enter to accept any of the suggestions

Minimal reproduction project (MRP)

mrp.zip
(use on transform.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions