On Mon, Jul 15, 2024 at 02:11:41PM +0200, Pavel Sanda wrote: > On Mon, Jul 15, 2024 at 10:56:43AM +1000, Robert Betz wrote: > > I am running MAC OSX Sonoma 14.5 with Lyx 2.4.1. > > > > I have my documents under Subversion Version control. When I commit a > > document after changes I am suffering a crash with the following dump from > > Lyx. The crash is repeatable. > > > > Thanks for your assistance with respect to this issue. > > Seems related to math grid. Can you shre sample document which crashes? > (you can send privately or use buffer-anonymize to obfuscate the content).
I received the document privately and was capable to get similar backtrace. As expected this has nothing to do with svn per se. Rather our machinery for document reload got broken. I anonymized the document to the bare minimum to show the problem. Recipy: 1. load the document 2. have math preview on & wait for the rendering of math align environment 3. save as differrent document 4. kaboom ... ( 5) bin/lyx: lyx::InsetMathGrid::cellXOffset(lyx::BufferView const&, unsigned long) const ( 6) bin/lyx: lyx::InsetMathGrid::draw(lyx::PainterInfo&, int, int) const ( 7) bin/lyx: lyx::InsetMathHull::draw(lyx::PainterInfo&, int, int) const ( 8) bin/lyx: lyx::RowPainter::paintInset(lyx::Row::Element const&) const ( 9) bin/lyx: lyx::RowPainter::paintText() ( 10) bin/lyx: lyx::TextMetrics::drawParagraph(lyx::PainterInfo&, long, int, int) const ( 11) bin/lyx: lyx::TextMetrics::draw(lyx::PainterInfo&, int, int) const ( 12) bin/lyx: lyx::BufferView::draw(lyx::frontend::Painter&, bool) ( 13) bin/lyx: lyx::frontend::GuiWorkArea::paintEvent(QPaintEvent*) ... Bisect leads to: commit 20d5851fb7ad2d03e499f7f59f022a771cee9a93 Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Mon Jul 25 22:13:35 2022 +0200 Regenerate equations previews when their numbering changes. Time will tell whether this is too expensive (because most equations after this on will change too, unless equations are numbered by section). Related to bug #11535. Pavel
t7.lyx
Description: application/lyx
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel