Ok, I believe it's "mixed MS runtime" problem. It crashes on this line:

xmlDumpDoc(output, doc);

at the very end of the example. The solution is to set code generation to
"Multithreaded DLL" (/MD). Note: *not* "Debug Multithreaded DLL"
even for debug project.

The attached is MS VC project and make files. The assumption is that
all include and library files for all libraries (xmlsec/libxml/libxslt/openssl/iconv)
are in "include" and "lib" folders of the top project folder. Change it if necessary.

With best regards,
Aleksey


Aleksey Sanin wrote:

Slava Kostin wrote:

Compiled binary was not chashing in simple start or on other tests. It
is crashing only while processing dsig1-tmpl.xml.


What is the stack trace? The "mixed MS runtime" problem cause usualy crashes
either in first IO function or in malloc/free.

Aleksey




Attachment: dsig1.zip
Description: Zip compressed data

Reply via email to