Question:
I'm receiving sporadic access violation exceptions when using the Chilkat XML library. Specifically the exceptions seem to be thrown by Chilkat.Xml.Finalize and .Clsxml.InsertChildTreeAfter
I can't pinpoint what is causing this as it's happening in a method that gets called tens of thousands of times an hour and the issue only manifests itself once every two weeks tops.
The system is running on Windows 2008 R2 Standard. The application is a .NET 4.0 application and I'm using ChilkatDotNet4 v 9.4. I've tried 9.5 and found the issue persists there as well. I'd prefer that the library threw a catchable exception if invalid data was passed to it instead of getting into a corrupt state.
I can't include lasterrortext as this is a crashing exception by nature.
Mike
Thanks Mike,
Chilkat itself heavily uses Chilkat.Xml (and other Chilkat classes) internally, and I've had the same experience. I believe it's very likely fixed in v9.5.0.47, which is going to be released very soon (beginning late this week or next week). Here's a pre-release build if you'd like to test:
32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-x64.zip
Mike, I think it may be resolved now (since we last talked). I'm going to upload a new build (it will be the same URL, but wait for my forum reply..)
Please try these new builds:
32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-x64.zip