On Thu, Jan 26, 2023 at 01:23:55AM +0100, Pavel Sanda wrote: > But fun times ahead! I get SIGSEGV when loading your file (when view is > scrolled on your changes). > > I can reproduce it only when not running under gdb.
It seems that the crash happens just after preview background run is generated. It seems that yo reliably reproduce the crash you need to change focus to lyx window right before the preview is ploted. When I run crashing session with lyx -dbg graphics, the last console msgs are: ... graphics/GraphicsCache.cpp (81): LyX recognises the following image formats: graphics/GraphicsCache.cpp (83): bmp, graphics/GraphicsCache.cpp (83): gif, graphics/GraphicsCache.cpp (83): jpg, graphics/GraphicsCache.cpp (83): pbm, graphics/GraphicsCache.cpp (83): pgm, graphics/GraphicsCache.cpp (83): png, graphics/GraphicsCache.cpp (83): ppm, graphics/GraphicsCache.cpp (83): xbm, graphics/GraphicsCache.cpp (83): xpm, graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{N}$ graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{Z}$ graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{Q}$ graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{R}$ graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{C}$ graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{1}$ graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{h}$ graphics/PreviewLoader.cpp (525): adding snippet: $\mathds{k}$ graphics/PreviewLoader.cpp (582): PreviewLoader::startLoading() Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel