You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example was found by Godot fuzzer - Qarminer, so it is quite unlikelly that this code could be used in real project, but still this should be handled gracefully.
I’m running into the same problem, here is an even simpler Minimal reproduction project using C#, Godot 4.1.1 in Linux.
This is code I used, seems to be related to the Newline() function.
using Godot;
public partial class RichTextLabel : Godot.RichTextLabel
{
public override void _Ready()
{
AppendText("1");
AppendText("2");
// Newline(); <-- uncommenting this line crashes the project
RemoveParagraph(GetParagraphCount() - 1);
RemoveParagraph(GetParagraphCount() - 1);
}
}
Crashlog:
Godot Engine v4.1.1.stable.mono.official.bd6af8e0e - https://godotengine.org
Vulkan API 1.3.246 - Forward Mobile - Using Vulkan Device #0: AMD - AMD Radeon Graphics (RADV RENOIR)
ERROR: FATAL: Index p_index = 4294967295 is out of bounds (count = 0).
at: operator[] (./core/templates/local_vector.h:161)
================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.1.1.stable.mono.official (bd6af8e0ea69167dd0627f3bd54f9105bda0f8b5)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/share/dotnet/shared/Microsoft.NETCore.App/7.0.7/libcoreclr.so(+0x4a9cee) [0x7fcebbca9cee] (??:0)
[2] /usr/lib/libc.so.6(+0x39ab0) [0x7fcefa376ab0] (??:0)
[3] /usr/bin/godot-mono() [0x302d557] (??:0)
[4] /usr/bin/godot-mono() [0x4826124] (??:0)
[5] /usr/bin/godot-mono() [0x2d6c180] (??:0)
[6] /usr/bin/godot-mono() [0x4e89c25] (??:0)
[7] /usr/bin/godot-mono() [0x489b7b0] (??:0)
[8] /usr/bin/godot-mono() [0x2dc0253] (??:0)
[9] /usr/bin/godot-mono() [0xf24436] (??:0)
[10] /usr/bin/godot-mono() [0xe54664] (??:0)
[11] /usr/lib/libc.so.6(+0x23850) [0x7fcefa360850] (??:0)
[12] /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fcefa36090a] (??:0)
[13] /usr/bin/godot-mono() [0xe86e5e] (??:0)
-- END OF BACKTRACE --
================================================================
The program '[683979] godot-mono' has exited with code 0 (0x0).
Godot version
4.2.dev.custom_build. 60f3b79
System information
Ubuntu 22.04 CI
Issue description
When executing
Godot crashes:
This example was found by Godot fuzzer - Qarminer, so it is quite unlikelly that this code could be used in real project, but still this should be handled gracefully.
Memory leaks or asan backtraces are visibe when using Godot build with sanitizers support - https://github.com/qarmin/GodotBuilds/actions (linux -> linux-editor-sanitizers)
Steps to reproduce
Above
Minimal reproduction project
Above
The text was updated successfully, but these errors were encountered: