login about faq

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.


asked Jan 06 '15 at 14:27

mikeygnyc's gravatar image


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


answered Jan 06 '15 at 15:21

chilkat's gravatar image

chilkat ♦♦

Thanks! I will try this release out. -Mike

(Jan 06 '15 at 16:32) mikeygnyc

I'm still seeing access violation exceptions with, this time on Chilkat.Xml.Dispose(Boolean).

(Jan 21 '15 at 17:29) mikeygnyc

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..)


answered Jan 21 '15 at 17:34

chilkat's gravatar image

chilkat ♦♦


answered Jan 21 '15 at 17:46

chilkat's gravatar image

chilkat ♦♦

Thanks! Appreciate the fast response. I'll try them now.

(Jan 21 '15 at 17:47) mikeygnyc

Now I'm seeing the same exceptions on Chilkat.Xml.LoadXml(System.String) <module>.ClsXmlLoadXml(ClsXml,XString)

(Jan 22 '15 at 16:53) mikeygnyc

Thanks Mike, let' take this offline so we can get it resolved more quickly. If you can send me a recipe to reproduce the problem, such as sample code + data, that would be great. (support@chilkatsoft.com)

(Jan 22 '15 at 17:23) chilkat ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jan 06 '15 at 14:27

Seen: 1,741 times

Last updated: Jan 22 '15 at 17:23

powered by OSQA