SIGSEGV when doing undo after putting bib items in a note

Scott Kostyshak skostysh at lyx.org
Mon Jul 15 16:14:44 UTC 2024


On Mon, Jul 15, 2024 at 02:58:10PM GMT, Jean-Marc Lasgouttes wrote:
> Le 02/07/2024 à 18:01, Scott Kostyshak a écrit :
> > To reproduce:
> > 
> > 1. Fresh build on current master.
> > 2. Open User Guide.
> > 3. Make sure that editing is enabled, and turn off change tracking.
> > 4. Scroll to the end.
> > 5. Select multiple bib items.
> > 6. Click on the yellow note.
> > 7. Do Undo with ctrl + z.
> > 
> > I get the attached backtrace. Can anyone else reproduce?
> > 
> > If I don't turn off change tracking, different strange behavior occurs.
> 
> I cannot reproduce, but the following patch makes sense. Does it work?

Yes it fixes the behavior both with and without change tracking.

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/20240715/b5a812ff/attachment.asc>


More information about the lyx-devel mailing list