-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Built ecode from latest git on artix linux.
Steps to reproduce:
- remove the ecode config folder
- start ecode
- open a new tab
- enter a character, for example 'a'
- move the carret back to the beginning of the same line
- enter '>'
- the below crash occurs
- the crash should not occur of course, but the line should have become '>a'
/usr/include/c++/15.2.1/bits/basic_string.h:1349: constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator const [with _CharT = char32_t; _Traits = std::char_traits<char32_t>; _Alloc = std::allocator<char32_t>; const_reference = const char32_t&; size_type = long unsigned int]: Assertion '__pos <= size()' failed.
Stack trace (most recent call last):
#20 Object "/usr/lib/ld-linux-x86-64.so.2", at 0xffffffffffffffff, in
#19 Object "/usr/lib/ecode/ecode", at 0x55febe16ae54, in
#18 Object "/usr/lib/libc.so.6", at 0x7fae6fc397fb, in __libc_start_main
#17 Object "/usr/lib/libc.so.6", at 0x7fae6fc3973a, in
#16 Object "/usr/lib/ecode/ecode", at 0x55febe1616c4, in
#15 Object "/usr/lib/ecode/ecode", at 0x55febe2e02a5, in
#14 Object "/usr/lib/ecode/libeepp.so", at 0x7fae708bfd4a, in EE::Window::Window::runMainLoop(std::function<void ()>, int)
#13 Object "/usr/lib/ecode/ecode", at 0x55febe2acff3, in
#12 Object "/usr/lib/ecode/libeepp.so", at 0x7fae705664fc, in EE::Window::Backend::SDL2::InputSDL::update()
#11 Object "/usr/lib/ecode/libeepp.so", at 0x7fae70565a96, in EE::Window::Backend::SDL2::InputSDL::sendEvent(SDL_Event const&)
#10 Object "/usr/lib/ecode/libeepp.so", at 0x7fae705626c9, in EE::Window::Input::sendEvent(EE::Window::InputEvent*)
#9 Object "/usr/lib/ecode/libeepp.so", at 0x7fae707df3b8, in EE::UI::UIEventDispatcher::inputCallback(EE::Window::InputEvent*)
#8 Object "/usr/lib/ecode/libeepp.so", at 0x7fae704e45b3, in EE::Scene::EventDispatcher::inputCallback(EE::Window::InputEvent*)
#7 Object "/usr/lib/ecode/libeepp.so", at 0x7fae704e4074, in EE::Scene::EventDispatcher::sendTextInput(unsigned int const&, unsigned int const&)
#6 Object "/usr/lib/ecode/libeepp.so", at 0x7fae7077c9aa, in EE::UI::UICodeEditor::onTextInput(EE::Scene::TextInputEvent const&)
#5 Object "/usr/lib/ecode/libeepp.so", at 0x7fae707a3a2d, in EE::UI::UICodeEditor::checkAutoCloseXMLTag(EE::String const&)
#4 Object "/usr/lib/ecode/libeepp.so", at 0x7fae7042c64d, in
#3 Source "/usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/assert_fail.cc", line 41, in __glibcxx_assert_fail [0x7fae6fe9a4a0]
#2 Object "/usr/lib/libc.so.6", at 0x7fae6fc37666, in abort
#1 Object "/usr/lib/libc.so.6", at 0x7fae6fc4fc47, in raise
#0 Object "/usr/lib/libc.so.6", at 0x7fae6fca7b0c, in
Aborted (Signal sent by tkill() 29274 1000)
zsh: IOT instruction ecode