Convert wmf to mathml crash after running many times

0

Use mathtype sdk 6.9 to convert many wmf to mathml file, after converting several hundreds of wmf files successfully, it crashed (unhandled exception) in below position of MathTypeSDK.cs(MTXFormSetTranslatorMgn function)

retCode = MTXFormSetTranslator(options, transName);

the exception details are:

System.AccessViolationException
  HResult=0x80004003
  Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt
  Source=.....
  StackTrace:
.....

My convertion code is as below:

ConvertEquation ce = new ConvertEquation();
return ce.Convert(new EquationInputFileWMF(wmfFile),
    new EquationOutputFileText(outputML, "MathJax-MathML.tdl"));
mathtype
asked on Stack Overflow Aug 12, 2020 by James Hao

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0