Archived Forum Post

Index of archived forum posts

Question:

System.AccessViolationException is thrown in call to Chilkat.Mime.SaveBody

Mar 28 '14 at 07:58

Hi,

We have a problem in which System.AccessViolationException is thrown when Chilkat.Mime.SaveBody is called, this happens intermittently and causes our service application to exit.

Here is part of the call stack from the event log:
Application: EncoreClientGateway.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at <Module>.ClsMime.SaveBodyX(ClsMime*, XString*) at Chilkat.Mime.SaveBody(System.String)

Here is the details on the application error from the event log.
Faulting application name: EncoreClientGateway.exe, version: 1.9.6.0, time stamp: 0x532c4fcb Faulting module name: ChilkatDotNet4.dll, version: 9.3.1.0, time stamp: 0x4f8d9787 Exception code: 0xc0000005 Fault offset: 0x0018ba69 Faulting process id: 0x5978 Faulting application start time: 0x01cf487ee52b52dc Faulting application path: C:\Program Files (x86)\H2OSatellite\Encore Server\EncoreClientGateway.exe Faulting module path: C:\Program Files (x86)\H2OSatellite\Encore Server\ChilkatDotNet4.dll Report Id: 2af94a8a-b472-11e3-80c6-005056b8604c Faulting package full name: Faulting package-relative application ID:

Please note that fault offset appears to be the same for each crash.

We have not tried upgrading to the latest version of Chilkat yet, that is one of our options that we are considering.

Can Chilkat shed any light on this?


Answer

I would recommend updating to the latest version..