Crash on master because of cursor position in session
Kornel Benko
kornel at lyx.org
Wed Jan 12 08:24:08 UTC 2022
Am Tue, 11 Jan 2022 14:43:01 -0500
schrieb Scott Kostyshak <skostysh at lyx.org>:
> To reproduce on current master:
>
> 1. Open the attached file.
> 2. Move cursor to just in front of the second comment inset.
> 3. Exit LyX.
> 4. Open the file again.
>
> LyX has caught an exception, it will now attempt to save all unsaved documents and exit.
>
> Exception: basic_string::substr: __pos (which is 44) > this->size() (which is 43)
>
> Can anyone reproduce?
>
> Scott
Neither with lyx2.4 compiled with -fsanitize flag, nor without.
I tried also lyx2.3, but still no crash here.
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220112/37365747/attachment.asc>
More information about the lyx-devel
mailing list