Monday, April 15, 2013

Quick tip: how to avoid the "Attempted to read or write protected memory" error in Studio

Some time a file (usually an MS Word file) causes Studio to display the following error message:

Sometimes, Studio, instead of displaying the error (or in addition to it), shows garbage characters in the Editor:

According to the SDL knowledge base, this is likely due with problems displaying certain specific fonts (and, indeed, this source file did use some unusual fonts).

If this is the reason for the error (I believe it might appear in other instances), the way to overcome it, is to prevent studio to try to display formatting. You do this by going to the Options ( Tools > Options), and change the "Formatting display style" from "Show all formatting and tags"

To "Show all tags but do not show formatting":

When you return to the Editor you'll see that the text now displays correctly:


  1. Thank you so much for this tip! I tried everything I found on Proz and SDL platforms, but only your solution has worked!

  2. My God!.. Yeah! I was thinking about harming my notebook. This really solved the problem with TMs. Thank you!..

  3. Ditto the above comments. I just installed Studio 2017 and this fixed the problem I was having with the new version.


Thank you for your comment!

Unfortunately, comment spam has grown to the point that all comments need to be moderated. All legitimate comments will be published as soon as possible.