Infinite Loop When Converting DOCX to PDF Using Aspose.Words with w:hint="eastAsia" Character

When converting a specific .docx file to PDF using Aspose.Words, the process enters an infinite loop and never completes. This hangs the service until it is manually restarted.

This issue occurs consistently and can be reproduced not only in our service but also when using the Aspose Online Word to PDF Converter.


Root Cause (Suspected):

Upon inspecting the document, I found that it contains a character with the following attribute in document.xml (inside the .docx file):

 w:hint w:val="eastAsia"

It seems the placement of this character is critical. Moving the character in different position, rewriting it by myself or removing w:hint w:val="eastAsia" from document.xml manually fixes the problem. I’ve included comments inside the Word document to indicate where the problem occurs.

Please find the document with problem attached:
eastasia_hint_infinite_loop_error.docx (18.0 KB)

@unoriginalMe
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-28369

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSNET-28369) have been fixed in this Aspose.Words for .NET 25.7 update also available on NuGet.