> Am Fri, 6 Jun 2025 09:24:16 +0200
> schrieb Kornel Benko <kor...@lyx.org>:
> 
>> Since I get crashes on these tests, here the output I get:
>> ...
>> SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
>> /usr2/src/lyx/lyx-git/src/mathed/InsetMathIntertext.cpp:86:36
>> 
>> lyx: SIGSEGV signal caught!
>> Sorry, you have found a bug in LyX, hope you have not lost any data.
>> Please read the bug-reporting instructions in 'Help->Introduction' and send 
>> us a bug
>> report, if necessary. Thanks!
>> Bye.
>> Error: LyX crashed!
>> ...
> 
> Here the backtrace running under gdb


Thanks! This probably occurs when intertext contains \ensuremath, so I need to 
distinguish math/text modes of MathInset (which doesn’t look very 
straightforward).

I also need sort out the insertion of <mrow> whose behavior is different 
depending on whether the next row after \intertext contains the left-hand-side 
stuff or not.

Koji
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to