I am converting a large number of PDFs to PNGs in a multi-threaded WPF application that gets document locations from a database and after conversion, I put the location of the converted document into another database. The program runs fine until after
some time (around an hour maybe) it just crashes with an Exception Code c0000005.
The following is the details of the exception:
Problem Event Name: BEX64
Application Name: iGen.exe
Application Version: 126.96.36.199
Application Timestamp: 53c3af4f
Fault Module Name: StackHash_1dc2
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 0000000000000000
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 2057
Additional Information 1: 1dc2
Additional Information 2: 1dc22fb1de37d348f27e54dbb5278e7d
Additional Information 3: eae3
Additional Information 4: eae36a4b5ffb27c9d33117f4125a75c2
I am using the 188.8.131.521 Magick.NET x64 version and .NET 4. It doesn't seem to be on a particular file since I was able to convert all the remaining documents (after the crash) in another process.
I have never got this error in Visual Studio's debugging mode, only when I run the application without VS. In the VS, I sometimes get another error saying 'Attempted to read or write protected memory'
Could this be the Magick.NET library?