Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | brainsick | |
Old Version | Published before Godot 3 was released. |
When Godot crashes, it shows a backtrace.
todd@todd-ab28d3:~/repos/remote/brainsick-godot$ ERROR: _base_get_text: Index p_to_column=1 out of size (text[p_to_line].length() + 1=1)
At: scene/gui/text_edit.cpp:3294.
ERROR: _base_get_text: Index p_to_column=1 out of size (text[p_to_line].length() + 1=1)
At: scene/gui/text_edit.cpp:3294.
ERROR: operator[]: FATAL: Index p_index=0 out of size (size()=0)
At: ./core/vector.h:146.
handle_crash: Program crashed with signal 4
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x37140) [0x7f7ce2144140] (??:0)
[2] Vector<wchar_t>::operator[](int) const (??:0)
[3] TextEdit::_notification(int) (??:0)
[4] TextEdit::_notificationv(int, bool) (??:0)
[5] Object::notification(int, bool) (??:0)
[6] CanvasItem::_update_callback() (??:0)
[7] MethodBind0::call(Object*, Variant const**, int, Variant::CallError&) (??:0)
[8] Object::call(StringName const&, Variant const**, int, Variant::CallError&) (??:0)
[9] MessageQueue::_call_function(Object*, StringName const&, Variant const*, int, bool) (??:0)
[10] MessageQueue::flush() (??:0)
[11] SceneTree::iteration(float) (??:0)
[12] Main::iteration() (??:0)
[13] OS_X11::run() (??:0)
[14] /home/todd/repos/remote/brainsick-godot/bin/godot.x11.tools.64(main+0xd5) [0x55d6ddd9a27f] (??:0)
[15] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f7ce212e1c1] (??:0)
[16] /home/todd/repos/remote/brainsick-godot/bin/godot.x11.tools.64(_start+0x2a) [0x55d6ddd9a0ca] (??:0)
-- END OF BACKTRACE --
Mine are just showing (??:0) for the source file/line. How do I fix that? This is a self-compiled binary, Ubuntu 17.10, platform x11, target debug.
Similarly, the Godot 3.0 Beta 2 crash backtrace also shows ??:0 and ??:?.
todd@todd-ab28d3:~/Downloads/Godot3.0Beta2$ ERROR: operator[]: FATAL: Index p_index=0 out of size (size()=0)
At: ./core/vector.h:146.
handle_crash: Program crashed with signal 4
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x37140) [0x7f9b32a55140] (??:0)
[2] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x67ba2b] (??:0)
[3] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0xf6bc5b] (??:?)
[4] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x195fa14] (??:?)
[5] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x120c909] (??:?)
[6] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x45e01d] (??:0)
[7] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x19ca819] (??:?)
[8] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x1b04eaa] (??:?)
[9] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x1730dcf] (??:?)
[10] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0xe81d16] (??:?)
[11] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x4bfdaf] (??:0)
[12] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x44f38d] (??:0)
[13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f9b32a3f1c1] (??:0)
[14] /home/todd/Downloads/Godot3.0Beta2/Godot_v3.0-beta2_x11.64() [0x45ad3f] (??:0)
-- END OF BACKTRACE --
Am I supposed to do something with the corresponding .debugsymbols file or is that only read/used by gdb?