2.4 Crash (was: Updated LaTeXConfig.lyx (bxjsclasses added))
Pavel Sanda
sanda at lyx.org
Thu Jan 26 22:45:58 UTC 2023
On Thu, Jan 26, 2023 at 03:08:13PM +0100, Jean-Marc Lasgouttes wrote:
> Le 26/01/2023 ?? 02:05, Pavel Sanda a écrit :
> >On Thu, Jan 26, 2023 at 01:23:55AM +0100, Pavel Sanda wrote:
> >>I can reproduce it only when not running under gdb.
> >
> >It also seem impossible to reproduce when compiling with debug symbols.
> >Without them reproducibility seems to depends on the exact trajectory I do
> >with the mouse over the editing window (perhaps triggering some repaint
> >event when going over Inset?)
>
> What I see from the backtrace looks like:
> 1/ metrics are computed for some info inset
> 2/ the info inset is regenerated (and thus the paragraph it held is now
> invalid)
> 3/ We draw the inset and because of the new (disabled by default) bookmark
> display code, we access the id() of the invalid paragraph.
> 4/ boom
>
> This scenario can probably be verified using valgrind.
Unfortunately valgrind changes speed of painting and I can't reproduce it then.
But I am able to run it with any lyxer debug ouput or check potential patch
if you have some idea...
Pavel
More information about the lyx-devel
mailing list