Intermittent Python Process Crash on Windows Server 2022 with Aspose Libraries

We are facing an intermittent issue with our Python application when deployed in a client environment (Windows Server 2022 Datacenter Azure Edition).

The application becomes unresponsive during execution and eventually terminates. The Windows Event Viewer logs show the following error:

Faulting application name: python.exe, version: 3.11.9150.1013, time stamp: 0x660bda91 Faulting module name: ntdll.dll, version: 10.0.20348.4294, time stamp: 0x4cdc53dc Exception code: 0xc0000374 Fault offset: 0x0000000000103e89 Faulting process id: 0x13f8 Faulting application path: C:\Program Files\Python311\python.exe Faulting module path: C:\Windows\SYSTEM32\ntdll.dll

Our application uses the following Aspose libraries:

  • aspose-words==25.6.0
  • Aspose.Email-for-Python-via-NET==25.6.0

We observed that when we remove the Aspose-related logic from the code, the application runs without issues. This suggests the crash might be related to Aspose components.

Could you please confirm:

  1. Are there any known compatibility issues between these Aspose versions and Windows Server 2022 Datacenter Azure Edition?
  2. Are there recommended steps for debugging such crashes (e.g., enabling detailed Aspose logs or memory diagnostics)?
  3. Is there any patch or workaround available?

Any guidance would be greatly appreciated.

Thanks.

@Sijo.Kolambran

I need a couple of details to give a precise answer:

  1. Which product/SDK and version are you using? (current guess: Aspose, python, Aspose.Words 25.6.0, Aspose.Email 25.6.0, Python 3.11.9150.1013, Windows Server 2022 Datacenter Azure Edition)
  2. File types and goal: source=unknown → target=unknown
  3. Minimal code snippet plus the full error/stack trace (if any).
  4. Programming language/runtime: python
  5. Confirm this is the main question: “Intermittent Python Process Crash on Windows Server 2022 with Aspose Libraries
    a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #”
  6. Context: issue kind detected as bug. Add any constraints we should respect.

@Sijo.Kolambran

No, there are no known compatibility issues between Aspose products and Windows Server 2022 Datacenter Azure Edition

Please try isolation the problematic document and code that causes the problem. Then, please, attach the problematic document and code here for testing. We will check the issue and provide you more information.

Unfortunately, it is hard to answer the question. We need to reproduce the problem on our side to analyze it. So, please provide the problematic document and code here for testing.