Crash on master because of cursor position in session

Scott Kostyshak skostysh at lyx.org
Tue Jan 11 19:43:01 UTC 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.23.lyx
Type: application/x-lyx
Size: 5173 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220111/cee8dfa2/attachment-0001.lyx>
-------------- 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/20220111/cee8dfa2/attachment-0001.asc>


More information about the lyx-devel mailing list