program listing crash

Scott Kostyshak skostysh at lyx.org
Sun Aug 25 19:54:31 UTC 2024


On Sun, Aug 25, 2024 at 02:08:08PM GMT, T Rex wrote:
> 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.

Nice find (I imagine it wasn't easy to figure out the recipe to reproduce).

Just a note that I can reproduce.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240825/638fe530/attachment.asc>


More information about the lyx-devel mailing list