Can not clean up file

Can not clean up on SDL Trados Studio2014 versioned (SP2 - 11.2.4435.12) when the source file type is .doc. Error occurs as: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The reason we found is that the head content of base64 is rewritten everytime the internal-file label is saved. For example, UEsDBBQAAAAIAKMIjUjg8SkRFQgAAM0wAAAQAAAA(andheXYyMGUuNWEy)LnRtcO1a3W7bNhs+, the content inside those parentheses is rewritten randomly. The rando
mly rewritten contents lead to the failure of cleaning up. What is the randomly rewritten contents? How can I guarantee the correctness?


Exception

<SDLErrorDetails time="2016/4/14 16:39:21">
  <ErrorMessage>Attempted to read or write protected memory. This is often an indication that other memory is corrupt.</ErrorMessage>
  <Exception>
    <Type>System.AccessViolationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
    <HelpLink />
    <Source>Sdl.FileTypeSupport.Framework.Adapter.Framework1</Source>
    <StackTrace><![CDATA[   at Sdl.FileTypeSupport.Framework.Adapter.Framework1.Writer.EndOfInput()
   at Sdl.FileTypeSupport.Framework.Integration.NativeWriterMessagesProxy.EndOfInput()
   at Sdl.FileTypeSupport.Framework.Integration.FileGenerator.CallEndOfInput()
   at Sdl.FileTypeSupport.Framework.Integration.FileGenerator.FileComplete()
   at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.FileComplete()
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.FileComplete()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.FileComplete()
   at Sdl.FileTypeSupport.Framework.BilingualApi.AbstractBilingualContentProcessor.FileComplete()
   at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.FileComplete()
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.OnEndFile()
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.<ContinueScanning>b__2(ISdlXliffStreamContentHandler handler)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.SdlXliffFeeder.ContinueScanning()
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ContinueParsing()
   at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileReader.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.FileExtractor.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
   at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
   at Sdl.ProjectApi.AutomaticTasks.NativeFileGenerator.GenerateFiles(ContentRestriction restriction, Boolean preview, Int32 filePercentBase, Int32 filePercentFactor)
   at Sdl.ProjectApi.AutomaticTasks.GenerateTargetTranslation.GenerateTargetTranslationTask.ProcessFile(IExecutingTaskFile executingTaskFile)
   at Sdl.ProjectApi.AutomaticTasks.AbstractFileLevelAutomaticTaskImplementation.Execute()]]></StackTrace>
  </Exception>
  <Environment>
    <ProductName>SDL Trados Studio</ProductName>
    <ProductVersion>11.0.0.0</ProductVersion>
    <EntryAssemblyFileVersion>11.2.4435.12</EntryAssemblyFileVersion>
    <OperatingSystem>Microsoft Windows 7 旗舰版 </OperatingSystem>
    <ServicePack>Service Pack 1</ServicePack>
    <OperatingSystemLanguage>1033</OperatingSystemLanguage>
    <CodePage>936</CodePage>
    <LoggedOnUser>user-PC\Administrator</LoggedOnUser>
    <DotNetFrameWork>4.0.30319.1</DotNetFrameWork>
    <ComputerName>USER-PC</ComputerName>
    <ConnectedToNetwork>True</ConnectedToNetwork>
    <PhysicalMemory>3854696 MB</PhysicalMemory>
  </Environment>
</SDLErrorDetails>

  • Hello Hu,

    Perhaps one of these article will help... not exactly what you describe but sometimes the causes are similar things:

    kb.sdl.com/.../article

    kb.sdl.com/.../article

    If they don't help then to troubleshoot files try these articles:

    How to troubleshoot issues with generating your target file in SDL Trados Studio : http://goo.gl/gW6X6

    How to troubleshoot problematic files : http://goo.gl/Mlodc

    More often, the solution to these problems is resolved like this:

    - Open the source file again using the "Translate Single Document" process
    - Save it to create a single file project
    - Try to save target now before you do anything.
    - If it works go onto the next step, but if not try the more advanced trouble shooting steps in the KB article as it may be a problem with the source file
    - Pretranslate the file using your Translation Memory
    - Save the target file

    If none of that helps, and if you are allowed to share the file you can send me the fully translated sdlxliff and the original source file and I'll happily take a look.

    Regards

    Paul
    pfilkin@sdl.com

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub