SIGSEGV on master regarding math completion
Scott Kostyshak
skostysh at lyx.org
Tue Jan 25 15:07:15 UTC 2022
On Mon, Jan 24, 2022 at 10:56:50AM +0100, Pavel Sanda wrote:
> 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.
Thanks.
> > 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.
I just took a look and there are several differences in behavior. 2.3.x
shows a different behavior than 2.3.0: it leaves the space for
"\phantom" to be drawn but it is not drawn. However, there is no crash.
On testing a different commit I received the following terminal message:
Undo.cpp (319): There is no group open (creating one)
JMarc, the backtrace suggests that painting code is involved. If a
bisect would be helpful, which change of behavior should I bisect?
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/20220125/b3d8a41d/attachment.asc>
More information about the lyx-devel
mailing list