program listing crash

T Rex sixpalax at gmail.com
Sun Aug 25 19:08:08 UTC 2024


Hi everyone,

I was trying to indent code inside the "program listing" environment and
the program closed with the key combination: shift+tab.

Steps:
1. select all the content inside the "program listing" environment
2. press shift+tab
3. click on any unselected region inside the environment
4. LyX closes

My system is debian12 and lyx 2.4.1 I attach a .lyx file.

The error message:
/usr/include/c++/13.2.0/bits/basic_string.h:1246:
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference
std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type)
[with _CharT = wchar_t; _Traits = std::char_traits<wchar_t>; _Alloc =
std::allocator<wchar_t>; reference = wchar_t&; size_type = long unsigned
int]: Assertion '__pos <= size()' failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240825/00cd2ebc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cra.lyx
Type: application/x-lyx
Size: 2174 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240825/00cd2ebc/attachment.lyx>


More information about the lyx-devel mailing list