Dotnet pdf throwing stack overflow exception when save method is called

We are encountering an error while using aspose pdf dotnet library when the content has Japanese characters.

Currently using:
Aspose PDF 5.1.0.0
Aspose Pdf.Kit 5.5.0.0

When the underlying content in the PDF has Japanese characters, the save operation never succeeds and waits for long time and throws Stack Overflow Exception:

pdf.Save(FileName);

The above line throws a stackoverflow exception, when the underlying content does not have Japanese characters, then the call to Save method succeeds.
Please need a resolution for this case since our application’s entire report generating logic is based on this library. Upgrading to latest Aspose dotnet pdf library is not an option for us since the changes we need to make in application would be humongous.

@hkaspose,

Thanks for contacting support.

Can you please share sample project along with source files to further investigate this issue on our end.