Hi,
Using Aspose PDF to extract pages as images with multiple threads hangs about once every day.
They all hang with the exact same stack trace:
mscorlib.dll!System.Collections.Generic.Dictionary`2.FindEntry+0x6b
Aspose.Pdf.dll! .+0xdc
Aspose.Pdf.dll! . +0x9f
Aspose.Pdf.dll! .+0x7f
Aspose.Pdf.dll! .+0x64a
Aspose.Pdf.dll! . +0x25
Aspose.Pdf.dll! . +0x8a0
Aspose.Pdf.dll! .+0x25
Aspose.Pdf.dll! . +0xe6
Aspose.Pdf.dll! .+0x11a5
Aspose.Pdf.dll! . +0x108
Aspose.Pdf.dll! .+0x7b7
Aspose.Pdf.dll!Aspose.Pdf.Devices.ImageDevice.+0xe2
Aspose.Pdf.dll!Aspose.Pdf.Devices.PngDevice.Process+0x18
Or from a dump file:
mscorlib.dll!System.Collections.Generic.Dictionary<float, >.FindEntry(float key)
Aspose.Pdf.dll! .<float, >. (float , )
Aspose.Pdf.dll! .(string , object )
Aspose.Pdf.dll! . (System.Collections.Generic.List , bool )
Aspose.Pdf.dll! .(string , System.Collections.Generic.List , System.Collections.Generic.List< > , )
Aspose.Pdf.dll! .( , , bool , bool )
Aspose.Pdf.dll! . ( , , , )
Aspose.Pdf.dll! . ( )
Aspose.Pdf.dll! .( )
Aspose.Pdf.dll! . ( , System.Collections.Generic.List< > )
Aspose.Pdf.dll! . ( , , , out )
Aspose.Pdf.dll! .(out )
Aspose.Pdf.dll!Aspose.Pdf.Devices.ImageDevice.(Aspose.Pdf.Page )
Aspose.Pdf.dll!Aspose.Pdf.Devices.PngDevice.Process(Aspose.Pdf.Page page, System.IO.Stream output)
Are these threads using some static or shared dictionary?
Since most of these files are email attachments, there is a small possibility that 2 threads use a duplicate document, but always from two separate files.
Our version of Aspose: 17.2.0