Trados Studio 2022 crashed multiple times within a project

I installed on a Windows 11 the Trados Studio 2022 SR1 - 17.1.8.17828, and yesterday while having translated lot of content, Studio closed unexpected after confirming a segment and the following message appeared after Studio being closed already.

That happened yesterday 5 times. The closing of Studio happened in different segments and I didn't had any multiterm file opened. Unfortunately the message is in German language, but I hope you can find the meaning of the message and the solution for that.Error message in Trados Studio indicating an attempt to read or write in protected memory, suggesting other memory might be damaged.



Generated Image Alt-Text
[edited by: Trados AI at 12:52 PM (GMT 0) on 29 Feb 2024]
emoji
Parents
  •  

    Can you please send me the error log by clicking on the save icon. You can then attach the xml to this post buy using the insert option 

    Screenshot of a message from Lydia Polydorou asking to send the error log by clicking the save icon and attaching the xml using the insert option.

    In the meatime I think it's the TM.
    What happens if you remove the TM from the project - does it crash when you translate and confirm a segment (knowing its not updating to the TM?)

    If Studio still crashes when we can help repair Studio.
    If it does not crash (project without TM) when I will help you repair your TM


    Looking forward to your reply

    Lyds 

    Lydia Simplicio | 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

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 12:52 PM (GMT 0) on 29 Feb 2024]
  • Hello Lydia,

    unfortunately the error appeared again. I have this time attached here the logs.

    <SDLErrorDetails time="20.11.2023 15:08:31">
      <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.DesktopEditor.Control</Source>
        <HResult>-2147467261</HResult>
        <StackTrace><![CDATA[   at Tree.DocumentControl.vb_RemoveMark(DocumentControl* , FieldPtr<Tree::Mark>* , Boolean )
       at FrameworkDocumentControl.vb_RemoveMark(FrameworkDocumentControl* , FieldPtr<Tree::Mark>* pco_mark, Boolean b_updateNow)
       at AbstractFrameworkEditControl.RemoveTextMark(ITextMark mark)
       at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.RemoveSpellingError(ISegmentContainerNode segment, ContentRange rangeToRemove)
       at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.Document_SpellingErrorRangeListModified(Object sender, SpellingErrorRangesModifiedEventArgs e)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.OnSpellingErrorRangesModified(SpellingErrorRangesModifiedEventArgs args)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.ClearSpellingErrorRanges(ICollection`1 affectedSegments)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.ApplyAutopropagatedTranslation(ISegmentContainerNode segmentNode, ISegmentContainerNode originalSegmentNode, SearchResult searchResult)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.ApplyAutopropagatedTranslation(AutopropagateMatchItem matchItem)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.AutopropagateSegment(AutopropagateMatchItem matchItem)
       at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.AutopropagateSegmentToList(IList`1 autopropagationList)
       at Sdl.TranslationStudio.Editor.TranslationEditor.AutopropagateService.AutopropagateSegmentToList(IList`1 autopropagationList)
       at Sdl.TranslationStudio.Editor.TranslationEditor.AutopropagateService.AutopropagateSegment(ISegmentContainerNode segment, String savedTargetSegmentText)
       at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.CheckConditionsAndAutopropagateSegment()
       at Sdl.TranslationStudio.Editor.TranslationEditor.SideBySideDocumentEditingView.ConfirmSegment(Nullable`1 segmentNavigationFilter)
       at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.ExecuteActiveSegment(SideBySideDocumentEditingView editingView, ParagraphUnitId paragraphId, SegmentId segmentId)
       at Sdl.TranslationStudio.Editor.TranslationEditor.Actions.AbstractConfirmSegmentAction.Execute()
       at Sdl.Desktop.Platform.Implementation.CommandBars.SimpleActionExecuter.Execute(ActionData actionData)
       at Sdl.Desktop.Platform.Implementation.ResourceLoggingInternalCommandExecuter`1.ExecuteWithResourceLogging(TCommandData commandData, String message)
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteAction(IAction action, ActionOrigin origin, Boolean allowToggle)
       at Sdl.Desktop.Platform.Implementation.CommandBars.ActionService.ExecuteActionForShortcut(Keys shortcut)
       at Sdl.Platform.UI.StudioWindowForm.OnPreviewKeyDown(Keys keys)
       at Sdl.Platform.UI.GlobalKeysMessageFilter.PreFilterMessage(Message& m)
       at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
       at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
       at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at Sdl.TranslationStudio.Application.Launcher.RunApplication()]]></StackTrace>
      </Exception>
      <Environment>
        <ProductName>Trados Studio</ProductName>
        <ProductVersion>Studio17</ProductVersion>
        <EntryAssemblyFileVersion>17.1.8.17828</EntryAssemblyFileVersion>
        <OperatingSystem>Microsoft Windows 11 Home</OperatingSystem>
        <ServicePack>NULL</ServicePack>
        <OperatingSystemLanguage>1031</OperatingSystemLanguage>
        <CodePage>1252</CodePage>
        <LoggedOnUser>CHRIS\chrpo</LoggedOnUser>
        <DotNetFrameWork>4.0.30319.42000</DotNetFrameWork>
        <ComputerName>CHRIS</ComputerName>
        <ConnectedToNetwork>True</ConnectedToNetwork>
        <PhysicalMemory>16070424 MB</PhysicalMemory>
      </Environment>
    </SDLErrorDetails>

    Can you see something interesting :)

    BR
    Lydia Pol

    emoji
  • Hi again,

    could it be that the solution is to set the Layout from default to flags layout?

    Screenshot of Trados Studio showing the TermBase Editor with 'Default layout' selected, and an arrow pointing towards the 'Flags layout' option in the dropdown menu.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 12:52 PM (GMT 0) on 29 Feb 2024]
Reply Children