SIGSEGV on master regarding math completion

Pavel Sanda sanda at lyx.org
Mon Jan 24 09:56:50 UTC 2022


On Thu, Jan 20, 2022 at 09:40:21PM -0500, Scott Kostyshak wrote:
> > To reproduce:
> > 
> > 1. Start a new document.
> > 2. Ctrl + m to start math inset.
> > 3. Type \phantomx<Space>. Note that \phantomx is not a command so don't
> >    expect it to be recognized.
> > 4. Press <Left>, <Backspace>, <Backspace> to delete the "x" and the "m".
> > 5. Type "m" to finish "phantom".
> > 6. Wait for the completion pop-down to appear (this takes a second).
> > 7. Press <Tab>.
> > 
> > I tried to find a more simple recipe to reproduce but could not.
> > 
> > The result is that I get a SIGSEGV. Backtrace is attached.
> 
> Can anyone reproduce?

I can reproduce.

> I cannot reproduce on 2.3.0, but the 2.3.0 behavior is not ideal either.
> After (7) there's no crash but also the phantom inset is not created.
> That said, if it would be helpful for me to spend time on a bisect I
> don't mind.

That would be definitely helpful.

Pavel


More information about the lyx-devel mailing list