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.

Richard

Reply via email to