Word crashes when my vsto add-in runs RRS feed

  • Question

  • When my addin runs, Word crashes... this popped up:

    "emet detected heap spray mitigation... closing winword.exe"

    my addin build in vs2010 and vsto 2010.

    Thursday, August 29, 2013 6:08 AM

All replies

  • Add break point and debug you add-in.

    If possible, it would be better if you post some screenshot or code here.


    • Edited by Andy_mic Sunday, September 1, 2013 5:38 PM
    Sunday, September 1, 2013 4:49 PM
  • This problem happened on client's machine. but why is this message popped up.

    for more information,  word is also crashed on our machines when we run our addin on a big document(above 100 pages), but  never shows this message("emet detected heap spray mitigation... closing winword.exe").

    Is this the client's environment problem or any other problem.



    Tuesday, September 3, 2013 5:00 PM
  • Hi Saurabh

    I've never heard of that error message before - and I've been working with Word for some 20 years.

    Searching the message on Google turns up a number of hits - you may want to do a search and read up on what causes the message. It appears to be a reaction to some kind of attack. Since we don't know what your solution is doing it's not possible to say whether it may be causing the problem, or not...

    Cindy Meister, VSTO/Word MVP, my blog

    Tuesday, September 3, 2013 7:22 PM