xmlCleanupParser is generated in with connectionDidFinishLoading.
In programs that also use the libxml2 library this can cause corruption that is
very difficult to find. Resulting in EXC_BAD_ACCESS sometime after the first
use of a webservice.
To fix the issue I removed the xmlCleanupParser calls and handled
xmlInitParser/xmlCleanupParser in the main application that was consuming the
webservice.
This is very important for multithreaded applications.
The following link explains the proper use of these functions:
http://xmlsoft.org/html/libxml-parser.html#xmlCleanupParser
Original issue reported on code.google.com by spourc...@gmail.com on 21 Dec 2012 at 1:19
Original issue reported on code.google.com by
spourc...@gmail.com
on 21 Dec 2012 at 1:19