Regular crash in modifying regex
kornel at lyx.org
Thu Jan 14 08:08:19 UTC 2021
Am Wed, 13 Jan 2021 22:01:43 -0500
schrieb Richard Kimberly Heck <rikiheck at lyx.org>:
> On 1/13/21 7:39 PM, Kornel Benko wrote:
> > Am Thu, 14 Jan 2021 00:58:40 +0100
> > schrieb Kornel Benko <kornel at lyx.org>:
> >> How to reproduce
> >> 1.) Open lyx file e.g. Additional.lyx
> >> 2.) select AdvFind
> >> 3.) select regexp-mode-
> >> 4.) insert any text not in this file
> >> 5.) select search for section
> >> 6.) change to not ignore format
> >> 7.) start search
> >> 8.) cancel the search (with escape)
> >> 9.) clean the regex content and try to insert anything ==> crash
> >> BTW, lyx2.3 does not crash.
> >> Kornel
> > Git bisect leads me to
> > a7018252b75316b7855f04c51be2342dc269f96c is the first bad commit
> > commit a7018252b75316b7855f04c51be2342dc269f96c
> > Author: Yuriy Skalko <yuriy.skalko at gmail.com>
> > Date: Wed Oct 21 11:35:40 2020 +0300
> > Constify
> > Hm, I hardly believe it.
> I don't see how that could really be the cause. I read through the
> patch. Unless it's a problem with the compiler. Maybe a false optimization?
> In any event, i don't fully follow the recipe. Do you mean at (3)
> Insert> Regular Expression? Can you make the whole thing a bit more precise?
3.) Insert into the regex any text not found in this file
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
More information about the lyx-devel