Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF throws System.AccessViolationException exception Options
Pavel Srot
Posted: Wednesday, March 12, 2014 11:05:06 AM
Rank: Newbie
Groups: Member

Joined: 7/26/2013
Posts: 6
Hi we have upgraded EO.PDF component to version 5.0.34.2 and since we deployed it in our final release on customer environment customer getting this type of error:
FAIL: Convertion failed.

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that

other memory is corrupt.
at EO.Pdf.Internal.dc.d.Invoke(IntPtr A_0, String A_1)
at EO.Pdf.Internal.dc.c(IntPtr A_0)
at EO.Pdf.Internal.dc.a(g A_0, Int32 A_1, Int32 A_2, Int32 A_3)
at EO.Pdf.Internal.dc.n.Invoke(IntPtr A_0, String A_1, String A_2, Boolean A_3)
at EO.Pdf.Internal.dc.a(String A_0, Boolean A_1, Byte[] A_2)
at EO.Pdf.Internal.dc.a(String A_0, Boolean A_1, Boolean A_2, Int32 A_3, t A_4, String[] A_5, Byte[] A_6, h2

A_7)
at EO.Pdf.Internal.dc.a(HtmlToPdfOptions A_0, String A_1, Boolean A_2)
at EO.Pdf.Internal.dc.b(HtmlToPdfOptions A_0, String A_1, Boolean A_2)
at EO.Pdf.Internal.dc.a(hi A_0)
at EO.Pdf.Internal.lr.c.a(hi A_0)
at EO.Pdf.Internal.lr.c.a(Byte[] A_0)

We don't know what exactly can cause this type of error, because it happens just sometimes (during last 14 days just twice). We use your component for scheduling report, therefore this component is hosted in our process which runs as windows service and for scheduling using ncrontab (http://code.google.com/p/ncron/downloads/detail?name=ncron-2.1.zip). I don't know if this can relate with, that it is hosted in process where runs other tasks in threads, but according what I find here: http://www.essentialobjects.com/forum/postsm31506_AccessViolationError-when-generating-PDFs-with-multiple-threads.aspx where someone had similar issue, but I don't see that it was finally resolved, it will not be related to other threads. I have question whether you solved similar issue and was able to resolve into new released version or not or if you have idea what can cause this type of issue. Do you use some unsafe access to memory in your component which could lead to this type of issue?

We upgraded from EO.Pdf version 3.0.104.2 there we didn't have this type of issue, but because this component has lot of others flaws we can't downgrade.

Thanks for response
eo_support
Posted: Wednesday, March 12, 2014 1:00:01 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Many things can cause such errors such as coding errors, system overload (failed to allocate memory). We have fixed one issue recently related to HTTP post request that would give you this error. So you might want to update to the latest build and see if the problem still occurs. The current version should have a DLL version number 5.0.68.2. (The version you are running was built in August last year, so it's a bit old). Please let us know if the problem still occurs with the current build.

Thanks!
Pavel Srot
Posted: Friday, March 21, 2014 10:28:54 AM
Rank: Newbie
Groups: Member

Joined: 7/26/2013
Posts: 6
We tried to deploy EO.PDF version 5.0.68.2 on customer environment there it is from time to time reproduce and unfortunately same result, still we are sometimes able to get same error
eo_support
Posted: Friday, March 21, 2014 2:38:37 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

We will have to have a repro in order to look further. If you can isolate it into a test project (even if it doesn't happen every time) and send it to us we will try to run it here and see what we can find.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.