Good afternoon,
I'm currently experiencing a odd issue, where the entire web app crashes when a pdf file is uploaded and compressed. It does not throw any exception.
I've been able to narrow down when the crash happens, and it only happens in the deployed environment.
I attached a zip file containing the method with a comment where the crash occurs and a PDF file with which it seems to often happen.
Packages Used:
<PackageReference Include="Syncfusion.Blazor.SfPdfViewer" Version="25.2.7" />
<PackageReference Include="Syncfusion.Blazor.Themes" Version="25.2.7" />
<PackageReference Include="Syncfusion.Pdf.Imaging.Net.Core" Version="25.2.7" />
<PackageReference Include="Syncfusion.Pdf.Net.Core" Version="25.2.7" />
Deployment environment:
- Ubuntu 22.04.4 LTS
- Blazor Web App Net 8.0
Please let me know if you need anymore information
Hi Azif,
Currently, we are analyzing this and will update with further details on June 13, 2024.
Regards,
Jeyalakshmi T
Thank you, i should stress that it doesn't always seem to happen initially, but once it does it does for almost any pdf file we attempt to compress.
Hi Azif,
Thank you for the update. We are still analyzing this and will provide further details on June 13, 2024.
Regards,
Jeyalakshmi T
Hi Azif,
Thank you for your patience.
We have tried to replicate the problem by publishing the Blazor web app in the Azure Linux environment, but we could not reproduce the crashing issue. We have shared the published service link for your reference:
https://blazorapp120240613195730.azurewebsites.net/counter
We also request you to install the SkiaSharp.NativeAssets.Linux.NoDependencies package in your application when deploying it on Ubuntu.
If the issue still exists, please share more information about your application deployment steps. This will help us analyze and provide a precise solution.
Regards,
Raashith Ahamed S
Thanks for the help, that seems to have resolved the issue
We are pleased to hear that the issue you reported has been resolved on your end. Please let us know if you require any additional assistance.