EML to PDF conversion in .NET on Linux

Hi. There is a problem with a conversion of specific EML files to any other format on Linux which results in an unhandled(uncatchable) exception which crashes the whole process.
Exception: Screenshot 2021-09-12 194133.png (161.4 KB)
Test EML: test.7z (9.9 KB)

Conversion code is straight forward

    using var sourceStream = new MemoryStream(source);
    var loadOptions = new EmailLoadOptions
    {
        ConvertOwner = true,
        ConvertOwned = true,
        Depth = 2
    };

    using var converter = new Converter(() => sourceStream, () => loadOptions);

    var pdfOptions = new PdfConvertOptions();
    var outputStreams = new List<MemoryStream>();
    converter.Convert(() => new MemoryStream(), resultStream =>
    {
        var outputStream = new MemoryStream();
        resultStream.CopyTo(outputStream);
        outputStreams.Add(outputStream);
    }, pdfOptions);

Online conversion is not working as well Online EML to PDF Converter | Free GroupDocs Apps

Ubuntu 20, .NET 5, GroupDocs.Conversion 21.8.0

@IhorC

We’ve logged this issue in our internal issue tracking system with ID CONVERSIONNET-4821. It’ll be now further investigated. You’ll be notified as there’s any progress update.

Problem is observed only with the latest SkiaSharp.NativeAssets.Linux 2.80.3. Rollback to 2.80.2 fixed the issue.

1 Like

@IhorC

Glad to know that the issue is fixed.