On Wed, Jan 12, 2022 at 09:24:08AM +0100, Kornel Benko wrote:
> Am Tue, 11 Jan 2022 14:43:01 -0500
> schrieb Scott Kostyshak <skost...@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

Thanks for trying.

I can only reproduce it with a specific ~/.config/LyX/lyx.conf.

If I exit LyX and remove that file, then I can no longer reproduce.

Not sure it's worth looking into since probably that lyx.conf was made with 
previous dev versions.

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to