Skip to content

Terminate called after throwing an instance of 'std::logic_error' #1238

@Zin-ful

Description

@Zin-ful

Tested versions

Redot Engine LTS v26.2.alpha.1.custom_build.2a02d9ce4
Pulled from AUR: redot-git 26.2.r77413.7ff80936be-2

Issue is not present on 26.1 LTS

System information

Redot v26.2.alpha.1 (2a02d9c) - Artix Linux #1 SMP PREEMPT_DYNAMIC Sun, 22 Mar 2026 19:35:12 +0000 on Tty - X11 (XLibre) display driver, Multi-window, 2 monitors - OpenGL 3 (Compatibility) - AMD Radeon RX 6600 (radeonsi, navi23, ACO, DRM 3.64, 6.19.9-artix1-1) - AMD Ryzen 9 9950X 16-Core Processor (32 threads) - 30.36 GiB memory

Issue description

*This is on a freshly converted Godot 4.6 project with zero additions or changes other than correcting scripts

When editing scripts, resources, or other objects Redot crashes with the errors:

terminate called after throwing an instance of 'std::logic_error'
what(): basic_string: construction from null is not valid

With a separate error when force closing upon the software hanging:

terminate called after throwing an instance of 'std::logic_error'
what(): basic_string: construction from null is not valid
^CWARNING: ObjectDB instances leaked at exit (run with --verbose for details).
at: cleanup (core/object/object.cpp:2570)
ERROR: 1 resources still in use at exit (run with --verbose for details).
at: clear (core/io/resource.cpp:806)

All within a short amount of time of the project being opened. The file uploaded will be the --verbose log from Redot

debug.txt

Steps to reproduce

Clone the game repo from github, open (checking yes to backup), and fixing the errors that have appeared such as "Error while loading 'world.tscn' due to coal_ore.tres"

Minimal reproduction project (MRP)

clone here: https://github.com/Zin-ful/muck2

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Open

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions