Re: 'System.StackOverflowException' occurred in Aspose.Pdf.dll

Hello, I’m having a very similar problem - since the problem does not appear to be resolved, I’d like to provide another troublesome PDF.


I"m using visual studio 2010, targeting .net 3.5, aspose.pdf v7.4.0.0 on win7x64.

the application in question is a document conversion service, and it throws this error

the following two lines seem to be enough to get this exception:
        var pdf = new AsposePdf.Document(doc.DocPath);
        pdf.OptimizeResources();
which throws:
An unhandled exception of type ‘System.StackOverflowException’ occurred in Aspose.Pdf.dll

at which point the service gets terminated. I’ve tried wrapping just these two lines with a try/catch, the catch happens, but the service still shuts down with the following in the windows event log:

Faulting application name: myapp.exe, version: 1.3.0.0, time stamp: 0x51435b95
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b
Exception code: 0xe053534f
Fault offset: 0x0000000000009e5d
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13

followed by:

Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: myapp.exe
P2: 1.3.0.0
P3: 51435b95
P4: KERNELBASE.dll
P5: 6.1.7601.18015
P6: 50b8479b
P7: e053534f
P8: 0000000000009e5d
P9:
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_myapp.exe_20d915a4f97c6ff68d9cec333e2c47d44de9e15_1aba7b94

Analysis symbol:
Rechecking for solution: 0
Report Id: 6bf4b91a-8d98-11e2-9f21-00155d05741a
Report Status: 4

right now this is a show stopper for my app. I need the optimize in there because some of the PDFs I’m getting in are 1 page/20MB and I need to clean them up/compress them down to prevent out of memory exceptions when I get too many of these in-process.

any ideas?

Thanks,

Carl

deximage:
Hello, I'm having a very similar problem - since the problem does not appear to be resolved, I'd like to provide another troublesome PDF.

I"m using visual studio 2010, targeting .net 3.5, aspose.pdf v7.4.0.0 on win7x64.

the application in question is a document conversion service, and it throws this error

the following two lines seem to be enough to get this exception:
        var pdf = new AsposePdf.Document(doc.DocPath);
        pdf.OptimizeResources();
which throws:
An unhandled exception of type 'System.StackOverflowException' occurred in Aspose.Pdf.dll
Hi Carl,

Thanks for using our products.

I have tested the scenario and I am able to reproduce the same problem. For the sake of correction, I have logged it in our issue tracking system as PDFNEWNET-35020. We will investigate this issue in details and will keep you updated on the status of a correction.

We apologize for your inconvenience.

The issues you have found earlier (filed as PDFNEWNET-35020) have been fixed in Aspose.Pdf for .NET 7.9.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.