Good mooring,
we are using Aspose.CAD 20.1.0 and we are running this simple piece of code.
Aspose.CAD.Image image = Aspose.CAD.Image.Load(filePath);
In debug after 60 seconds we receive this exception:
Managed Debugging Assistant ‘ContextSwitchDeadlock’ :
‘The CLR has been unable to transition from COM context 0xdfc5c0 to COM context 0xdfc678 for 60 seconds.
The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages.
This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time.
To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during
long running operations.’
This exception is throws only using some dxf files, you can see one example in attachment.
broken-example.zip (90.5 KB)
We have bought a license last week after several tests and now we have discovered this problem.
The customer is very angry, please let me know.
Thanks in advance.