StackOverflowException while converting to PDF/A

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
SonGokuOnBikeNext
User
Posts: 4
Joined: Mon Oct 05, 2020 10:54 pm

StackOverflowException while converting to PDF/A

Post by SonGokuOnBikeNext »

Hi all,

within our application we are using the SDK to ensure to save a dedicated PDF file into a PDF/A file.
No problem with most of PDF files.

But some PDF files generate a StackOverflowException:
image.png
OK, this file contains more than 800 pages :wink:
But memory consumption should be OK:
image1.png
So I identified the first page, throwing an error as single page.
And I get an other error, catched as exeption:
image2.png
And it's possible to reproduce this error inside PDF XChange Editor.
If I try to save this singe page as PDF/A, I get following error information:
image3.png
I hope to fix this 'character references error' inside SDK, before starting PDF/A conversion.

Thanks and best regards.


Roland
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: StackOverflowException while converting to PDF/A

Post by Tracker Supp-Stefan »

Hello Roland,

Can you please e-mail us to support@pdf-xchange.com a sample file, with a link back to this forum topic, and I will pass it on to our devs for investigation?

Kind regards,
Stefan
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8440
Joined: Wed Jan 03, 2018 6:52 pm

Re: StackOverflowException while converting to PDF/A

Post by TrackerSupp-Daniel »

Hi, Roland

It seems that the file you sent us as a sample does not allow us to reproduce the entire issue as you have described. Would it be possible for you to resend us the full size 800 page document (we have an upload server for large files, described below) and post here when it is uploaded so we can restart the investigation.

To begin uploading the file, please navigate to this page and follow the instructions therein:
https://www.pdf-xchange.com/knowle ... le-service

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
SonGokuOnBikeNext
User
Posts: 4
Joined: Mon Oct 05, 2020 10:54 pm

Re: StackOverflowException while converting to PDF/A

Post by SonGokuOnBikeNext »

Hi Daniel,

sorry for my late response, but it took some time to get an approval from my customer to send the whole file.

But now it's on your upload server: <my_name>-StackOverflowException while converting to PDFA.PDF :D

Thanks and best regards

Roland
User avatar
Paul - Tracker Supp
Site Admin
Posts: 6837
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada
Contact:

Re: StackOverflowException while converting to PDF/A

Post by Paul - Tracker Supp »

Thanks Roland, we have the file and it has been passed on to the dev team.

I expect you will hear something soon.
Best regards

Paul O'Rorke
Tracker Support North America
http://www.tracker-software.com
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: StackOverflowException while converting to PDF/A

Post by Tracker Supp-Stefan »

Hello again Roland,

We have managed to reproduce the bug with your sample file and are working on a fix!

Kind regards,
Stefan
Post Reply