On Fri, Mar 20, 2015 at 03:15:58PM +0100, Stephan Witt wrote: > Am 20.03.2015 um 11:55 schrieb Kornel Benko <kor...@lyx.org>: > > > Am Freitag, 20. März 2015 um 11:45:43, schrieb Stephan Witt > > <st.w...@gmx.net> > >> This is lyx-build/LyX-2.2.0dev-7416064 (git commit hash > >> 74160640337b63b1fb21c9690289f0ebb29c0820) > >> > >> After quit LyX with the cursor at a line containing an icon and restart it > >> I get a crash on load of the mentioned LyX file. > >> I tried to activate malloc debug but this did not help to pin point the > >> problem. I cannot interpret the state of the stack trace and of the local > >> variables. The ParagraphMetrics instance in TextMetrics::redoParagraph > >> (stack frame 4) is corrupt. The call stack is: > > > > Could not reproduce on ubuntu. Maybe a specific icon? Which line, if yes? > > Which icon-set? (Classic, Oxygen)? Lang env? > > > The debugger is running with LANG=de_DE.UTF-8 > > I tried to create a minimal example and this does not crash. But it possibly > answers your questions. I'll have to investigate if QtSession settings are > the problem here.
I have seen this strange behavior, although it does not seem to occur anymore for me. Once LyX starts crashing, one cannot effectively load that document anymore. I did not understand why that happens and the only workaround I found is editing the ~/.lyx/session file and deleting the line with cursor info for that particualr document. After doing that, LyX doesn't crash anymore, even placing the cursor at the same position that initially triggered the crash. -- Enrico