Page 1 of 1

ReadSVGImage crashes in case of concurrent access

Posted: 2013-08-29T06:39:23-07:00
by GerhardT
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).

Re: ReadSVGImage crashes in case of concurrent access

Posted: 2013-08-29T06:48:57-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.6-10 Beta available by sometime tomorrow. Thanks.