On Fri, Apr 15, 2016 at 02:33:24PM -0400, Richard Heck wrote: > On 04/15/2016 01:10 PM, PhilipPirrip wrote: > > Don't ask me how I find these... > > I'm at 744f6e3cd802 now, compiled with Qt 5.6.0 on Linux Fedora 24. I > > get the same behavior with an older binary compiled with Qt 4.8.7. > > Before filing a bug report, I need someone to confirm: > > > > Start LyX 2.2 > > New Document > > Type something in, say, abcd > > Document Settings > Fonts > Use non-TeX fonts > > Roman: Utopia > > View [PDF (XeTeX)] > > LyX crashes > > > > This only seems to happen when I choose Utopia, tried at least 20 others. > > > > xdvipdfmx:fatal: Cannot proceed without the font: > > /usr/share/X11/fonts/Type1/UTRG____.pfa > > > > Output file removed. > > support/lassert.cpp (51): ASSERTION status != ExportSuccess VIOLATED > > IN /home/ivo/AllWorkAndNoPlay/lyx/src/Buffer.cpp:4323 > > This is an assertion in the following code: > > if (status != ExportSuccess) > return status; > if (previewFile.exists()) { > if (!formats.view(*this, previewFile, format)) > return PreviewError; > else > return PreviewSuccess; > } > else { > // Successful export but no output file? > // Probably a bug in error detection. > LATTEST (status != ExportSuccess); > > return status; > } > > The terminal log shows that, indeed, there is no output file, but we are > not detecting the error for some reason.
Great! Thanks for finding this, Philip. The short answer is: this assertion is new in 2.2.0dev (see [1]) and before this issue just went undetected, so I don't believe there is anything critical for 2.2.0, except if it is indicative of an underlying behavior that changed between 2.1.x and 2.2.0. I will check this out. Nonetheless, the reason I am excited is that it gives us a chance to improve our error detection (perhaps too late for 2.2.0 but at least for later). Note that in release, assertions are disabled. Scott [1] http://www.lyx.org/trac/changeset/7416064/lyxgit
signature.asc
Description: PGP signature