On Tue, Sep 11, 2018 at 02:40:23PM +0200, Daniel wrote: > On 10/09/2018 12:56, Andrew Parsloe wrote: > > On 10/09/2018 8:20 p.m., Daniel wrote: > > > On 10/09/2018 08:30, Andrew Parsloe wrote: > > > > LyX 2.3.1, windows 7 > > > > > > > > 1. Create a new document, type a letter > > > > > > > > 2. View the pdf (eyes button) > > > > > > > > 3. From the pdf 'Save as' to a permanent directory. > > > > > > > > 4. Close the pdf viewer > > > > > > > > 5. Click on LyX -- crash. > > > > > > > > I often work in this way, viewing the pdf, correcting the LyX > > > > source, and then 'Saving as' from the pdf in the temp directory > > > > to a permanent one. LyX crashes on perhaps 80% of attempts. It > > > > seems to 'help' if, after 'Save as', I wait about half a minute > > > > before closing the pdf viewer. I use Sumatra, but also tested > > > > (once) with Adobe Reader and still got the crash. > > > > > > > > I can't generate the crash with LyX 2.2.3 (about 4 attempts). > > > > > > > > Andrew > > > > > > Might be the same or related to this one: > > > https://www.lyx.org/trac/ticket/11210 ? > > > > > > Daniel > > > > > Yes, exactly that, including the 30 second wait before closing the pdf > > viewer. > > > > Andrew > > It seems to be a very serious bug nonetheless. I am wondering whether it can > be recommended to people working on Windows to update to 2.3 while it isn't > fixed. (Once you know how the bug works it's okay, I guess.)
Note that it is not LyX crashing but rather Qt. Indeed, the crash occurs in the QtCore library. It was introduced in Qt 5.10 and is still present in Qt 5.11. Hence, the only way to solve this issue is either recompiling LyX using Qt 5.9 or waiting for a solution in the next Qt versions. The crash does not occur with LyX 2.2 only because Qt 5.9 is used there. -- Enrico