StackOverflowException from PdfDocumentAnalyzer.AnalyzeSyntax

I have a problem that is occurring in a .NET Core 3.1 Console Application and an Azure function.  We execute the following code which will then crash with an exception being thrown.

       // Create a new instance of PDF document syntax analyzer.
       var analyzer = new PdfDocumentAnalyzer(pdfStream);

       // Analyze the syntax and return the results.
       SyntaxAnalyzerResult analyzerResult = analyzer.AnalyzeSyntax();

The PDF does not seem to be corrupt and is attached to this thread.



Attachment: Sample_PDF_Fillable_Form_Chrome_Saved_67220fa.zip

5 Replies 1 reply marked as answer

GK Gowthamraj Kumar Syncfusion Team April 28, 2021 03:39 PM UTC

Hi Mark, 
 
Thank you for contacting Syncfusion support. 
 
We were able to reproduce the reported exception with provided details on our end. Currently we are validating the same and we will update the further details by April 30th 2021. 
 
Regards, 
Gowthamraj K   



PH Praveenkumar H Syncfusion Team April 30, 2021 02:52 PM UTC

Hi Mark, 

We have confirmed this as a bug and a fix for this issue will available in our weekly release on 11 May 2021. 

Regards, 
Praveen 



MO Mark Oliver May 17, 2021 02:48 PM UTC

I have downloaded, through Nuget, the latest update to the Syncfusion libriaries and this problem still occurs.

The DLL throwing the exception is Syncfusion.Pdf.Portable.dll and this is reporting version 19.1.0.63.

Is this the version that is intended to resolve this issue?


GK Gowthamraj Kumar Syncfusion Team May 18, 2021 09:25 AM UTC

Hi Mark, 
 
Sorry for the inconvenienced caused. 
 
Due to Volume 1 SP1 release rolled out on last week, we are unable to include the fix in our latest release. We have included the fix for the reported issue in our upcoming weekly NuGet release which will be expected on May 19th, 2021.  
 
Please let us know if you need any further assistance with this. 
 
Regards, 
Gowthamraj K 



GK Gowthamraj Kumar Syncfusion Team May 19, 2021 09:00 AM UTC

Hi Mark, 
 
Thank you for your patience. 
 
We have included the fix for the reported issue in our latest weekly NuGet release (v19.1.0.64). Please use the below link to download our latest weekly NuGet,      
 
  
Please let us know if you need any further assistance with this. 
 
Regards, 
Gowthamraj K 


Marked as answer
Loader.
Up arrow icon