SIGSEGV when doing undo after putting bib items in a note

Kornel Benko kornel at lyx.org
Sat Jul 13 12:49:06 UTC 2024


Am Wed, 3 Jul 2024 22:04:44 -0400
schrieb Scott Kostyshak <skostysh at lyx.org>:

> On Thu, Jul 04, 2024 at 12:39:22AM 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, and I am surprised because I obtained that with 2.3 once
> > when trying to fix the previous bug.
> > 
> > Do you have a more precise recipe? I tried running under valgrind (because
> > your backtrace is about deleting paragraph objects), without much success.  
> 
> This one I can reproduce pretty reliably. I think the only thing
> imprecise about the recipe is (5), right? I attach a screenshot of a
> specific selection of multiple bib items.
> 
> Scott

Cannot reproduce. These are the messages i get on terminal are
----------------------------------------
The key Armenian already exists,
it will be changed to Armenian-1.
Warning: Keys must be unique!
----------------------------------------
The key Cyrillic already exists,
it will be changed to Cyrillic-1.
Warning: Keys must be unique!
----------------------------------------
The key Farsi already exists,
it will be changed to Farsi-1.
Warning: Keys must be unique!
----------------------------------------
The key Hebrew already exists,
it will be changed to Hebrew-1.
Warning: Failed to produce 1 preview snippet(s)

Undo works without crash.

	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/20240713/13bd6645/attachment.asc>


More information about the lyx-devel mailing list