GdViewer hangs when displaying certain PDFs using DisplayFromByteArray

Discussions about document viewing.
Post Reply
lctxm
Posts: 4
Joined: Wed Aug 11, 2021 9:31 pm

GdViewer hangs when displaying certain PDFs using DisplayFromByteArray

Post by lctxm » Mon Nov 29, 2021 9:36 pm

GdPicture.Net 14 Version 14.1.0.113

We can display most PDFs just fine using the same code, but a small number of PDFs cause the viewer to enter a tight loop (pegging a CPU and hanging the application). The files that show this behaviour are valid PDF files that open just fine in Adobe Acrobat Reader.

I can reproduce it with a two-line WPF app:

Code: Select all

            var bytes = File.ReadAllBytes("bad.pdf");
            gdv.DisplayFromByteArray(bytes);
Any idea how to further analyze this?

Hugo
Posts: 227
Joined: Tue Dec 18, 2018 10:09 am

Re: GdViewer hangs when displaying certain PDFs using DisplayFromByteArray

Post by Hugo » Tue Nov 30, 2021 3:56 pm

Hi there,

Thanks for your feedback.

Would you be able to confirm this can be reproduced in our latest version please? V14.1.140
https://www.gdpicture.com/download-gdpicture/

If this issue can still be reproduced could you provide me with a code project isolating this issue please? This should also include the PDF files you are using as input files to get this issue.
If this is confidential you can contact us here:
https://orpalis.zendesk.com/hc/en-us/requests/new

Regards,

lctxm
Posts: 4
Joined: Wed Aug 11, 2021 9:31 pm

Re: GdViewer hangs when displaying certain PDFs using DisplayFromByteArray

Post by lctxm » Tue Nov 30, 2021 7:46 pm

Thanks. 14.1.140 does not show the same issue.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest