The reason I call this error weird is because it only happens one out of
ten runs, and each run is loading multiple (5-25) clips (reading 5-25 XML
files).
If anyone has any idea why/how this could be happening I am very
interested.
Thanks so much!!
Joe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Get an export of the problematic XML datas into a file. Write a test program that runs that XML through TinyXML repeatedly to make it blow up. Then run the application with a (memory) debugger (such as valgrind) and see what's going on.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone. I'm using TinyXML to parse XML files created by Panasonic
P2 cameras (to load metadata from HD clips) and I've run into a weird
error:
Unhandled exception at 0x00461c8c in xxx.exe: 0xC0000005: Access violation
reading location 0x018f900c.
at line: (tinyxml.h line 916) version 2.5.3
TiXmlAttribute* First() { return ( sentinel.next == &sentinel ) ? 0 :
sentinel.next; }
The reason I call this error weird is because it only happens one out of
ten runs, and each run is loading multiple (5-25) clips (reading 5-25 XML
files).
If anyone has any idea why/how this could be happening I am very
interested.
Thanks so much!!
Joe
Here's what I would do.
Get an export of the problematic XML datas into a file. Write a test program that runs that XML through TinyXML repeatedly to make it blow up. Then run the application with a (memory) debugger (such as valgrind) and see what's going on.