ReadSVGImage crashes in case of concurrent access
Posted: 2013-08-29T06:39:23-07:00
Calling ReadImage (with image type svg) in different threads results in a crash in “xmlCleanupParser”.
According to the definition of xmlCleanupParser this function must only be called when the process has finished using the xml library.
See also http://xmlsoft.org/html/libxml-parser.h ... anupParser
According to the definition of "xmlInitParser" this function must also be called only once.
The same problem seems to be in the file msl.c (ProcessMSLScript).
According to the definition of xmlCleanupParser this function must only be called when the process has finished using the xml library.
See also http://xmlsoft.org/html/libxml-parser.h ... anupParser
According to the definition of "xmlInitParser" this function must also be called only once.
The same problem seems to be in the file msl.c (ProcessMSLScript).