We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

StackOverflow with PdfDocumentAnalyzer

Thread ID:

Created:

Updated:

Platform:

Replies:

148726 Oct 31,2019 11:12 PM UTC Nov 18,2019 01:50 PM UTC WinForms 8
loading
Tags: PDF
Derek
Asked On October 31, 2019 11:12 PM UTC

Hello,

I'm using the sample code from https://www.syncfusion.com/blogs/post/how-to-find-corrupted-pdf-files-in-c-sharp.aspx, and with some PDFs that seem to open normally, rather than analyzing them at the "SyntaxAnalyzerResult analyzerResult = analyzer.AnalyzeSyntax()" line, instead the program crashes with 

"An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll"

Wrapping everything in try-catch does not eat this exception and it's not recoverable.

The PDFs that cause it seem to be consistent, and I can read them in a PDF reader so I don't *think* they're malformed?

Has anyone else seen this?

Sowmiya Loganathan [Syncfusion]
Replied On November 1, 2019 01:13 PM UTC

Hi Derek 

Thank you for contacting Syncfusion support.  

We have checked the reported issue and suspect that this to be a document specific issue. Could you please share us the PDF document which throws the exception “An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll”. It will helpful for us analyze further and provide the precise solution on this.  
 
Regards, 
Sowmiya Loganathan 


Derek
Replied On November 1, 2019 09:15 PM UTC

Sure; they're not PDFs for me to share publicly though, is there a drop point where I can put them for your support folks to see?

Derek
Replied On November 2, 2019 04:09 PM UTC

Actually this file should be a good example.

Attachment: LPCXpresso_User_Guide_633103f9.zip

Sowmiya Loganathan [Syncfusion]
Replied On November 4, 2019 11:58 AM UTC

Hi Derek, 

Thank you for the document.  

We were able to reproduce the reported issue and suspect that this to be a defect. Currently we are validating the same and we will update the further details by 6th November, 2019.  

Regards, 
Sowmiya Loganathan 


Sowmiya Loganathan [Syncfusion]
Replied On November 7, 2019 12:15 PM UTC

Hi Derek, 

We confirmed that the issue with “StackOverflow exception occurs while finding the corrupted PDF document with SyntaxAnalyzerResult” is a defect and we have logged a defect report. The patch for this issue is estimated to available by 14th November, 2019.  

Regards, 
Sowmiya Loganathan 


Sowmiya Loganathan [Syncfusion]
Replied On November 14, 2019 01:58 PM UTC

Hi Derek, 
 
The reported issue has been fixed and the patch for this fix can be downloaded from the following location.     
  
Recommended approach - exe will perform automatic configuration    
Please find the patch setup from below location:    
  
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment    
Please find the patch assemblies alone from below location:    
 
   
Assembly Version: 17.3.0.26 
   
Installation Directions :     
This patch should replace the files “Syncfusion.Pdf.Base.dll” under the following folder.    
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\ 
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\17.3.0.26\precompiledassemblies\17.3.0.14\ 
  
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.    
   
Disclaimer :     
Please note that we have created this patch for version 17.3.0.26 specifically to resolve the following issue(s) reported in this/the Incident(s). 148726  
  
If you have received other patches for the same version for other products, please apply all patches in the order received.    
  
This fix will be included in our 2019 Volume 4 release which will be available by December 2019 tentatively.   
 
Regards, 
Sowmiya Loganathan 
 



Derek
Replied On November 17, 2019 01:33 AM UTC

I get error "You are not authorized to download this patch" with all three links.  Is there a secret to it?

Sowmiya Loganathan [Syncfusion]
Replied On November 18, 2019 01:50 PM UTC

  
Hi Derek,  
  
Sorry for the inconvenience caused. We have regenerate the patch and which can be downloaded from below link,  
   
Recommended approach - exe will perform automatic configuration     
Please find the patch setup from below location:     
 
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment     
Please find the patch assemblies alone from below location:     
    
Assembly Version: 17.3.0.26  
    
Installation Directions :      
This patch should replace the files “Syncfusion.Pdf.Base.dll” under the following folder.     
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\  
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\17.3.0.26\precompiledassemblies\17.3.0.14\  
   
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.     
    
Disclaimer :      
Please note that we have created this patch for version 17.3.0.26 specifically to resolve the following issue(s) reported in this/the Incident(s). 148726   
   
If you have received other patches for the same version for other products, please apply all patches in the order received.     
   
This fix will be included in our 2019 Volume 4 release which will be available by December 2019 tentatively.    
  
Regards,  
Sowmiya Loganathan  
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon