SIGSEGV when doing undo after putting bib items in a note

Scott Kostyshak skostysh at lyx.org
Sat Jul 13 14:42:26 UTC 2024


On Sat, Jul 13, 2024 at 02:49:06PM GMT, Kornel Benko wrote:
> 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.

Good to know. Are you sure you turned off the change tracking (in step
3)? I only get those messages if change tracking is on.

I can still reproduce on current master.

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


More information about the lyx-devel mailing list