Studio 2019 crashed out of the blue

Hello everybody,

this morning Studio crashed in the middle of my work. I could not record the error message, because it lasted only a couple of seconds. I raised a ticket with support. I am copying the message, so if they find a solution/reason I can share it with you. Maybe you are interested, if you got the same issue.

Regards, Angelo


Hello, this morning, when I was working, Studio crashed almost without warning. There was a message for a few seconds, that I could not copy and then out it was. In the log file I found this:

FATAL [2018-08-28 07:57:07,244] Sdl.Desktop.Platform.UnhandledException - A generic error occurred in GDI+.

System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.

   at System.Drawing.Graphics.CheckErrorStatus(Int32 status)

   at System.Drawing.Graphics.FillRectangle(Brush brush, Int32 x, Int32 y, Int32 width, Int32 height)

   at System.Drawing.Graphics.FillRectangle(Brush brush, Rectangle rect)

   at Infragistics.Win.DrawUtility.DrawBackColor(Control control, Graphics graphics, AppearanceData& appearanceData, Rectangle rect, Rectangle invalidRect, Boolean enabled, IDrawCache drawCache, AlphaBlendMode alphaBlendMode, Blend blend, Boolean mirrorBackground)

   at Infragistics.Win.UIElementDrawParams.DrawBackColor(Rectangle rect)

   at Infragistics.Win.UltraWinStatusBar.UltraStatusBarUIElement.DrawBackColor(UIElementDrawParams& drawParams)

   at Infragistics.Win.UIElement.DrawElement(UIElementDrawParams& defaultDrawParams)

   at Infragistics.Win.UIElement.DrawHelper(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Boolean clipText, Boolean forceDrawAsFocused, Boolean preventAlphaBlendGraphics, Nullable`1 zoomFactor)

   at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode, Size elementSize, Boolean preventAlphaBlendGraphics)

   at Infragistics.Win.ControlUIElementBase.Draw(Graphics graphics, Rectangle invalidRectangle, Boolean doubleBuffer, AlphaBlendMode alphaBlendMode)

   at Infragistics.Win.UltraControlBase.OnPaint(PaintEventArgs pe)

   at System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion)

   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)

   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)

   at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)

   at System.Windows.Forms.ScrollableControl.OnPaintBackground(PaintEventArgs e)

   at System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion)

   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)

   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)

   at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)

   at System.Windows.Forms.ScrollableControl.OnPaintBackground(PaintEventArgs e)

   at System.Windows.Forms.TableLayoutPanel.OnPaintBackground(PaintEventArgs e)

   at System.Windows.Forms.Control.PaintTransparentBackground(PaintEventArgs e, Rectangle rectangle, Region transparentRegion)

   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle, Color backColor, Point scrollOffset)

   at System.Windows.Forms.Control.PaintBackground(PaintEventArgs e, Rectangle rectangle)

   at System.Windows.Forms.Control.OnPaintBackground(PaintEventArgs pevent)

   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)

   at System.Windows.Forms.Control.WmPaint(Message& m)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

INFO [2018-08-28 07:57:07,247] Sdl.Desktop.Platform.UnhandledException - A generic error occurred in GDI+.#ProcessName=SDLTradosStudio#PhysicalMemorySize=2879119360#VirtualMemorySize=3070328832#ThreadCount=54#HandleCount=4167#GdiHandleCount=3652#UserHandleCount=2281#TotalProcessorTime=01:45:30.3750000

After that I could restart Studio without problem. I send you this so that you can enquire what might have appened.

  • Hello ,

    I can see the support ticket that you have logged and they will of course get back to you ASAP.
    However in the mean time, I am fairly sure (after researching this),
    this is a graphic card issue (error stack) and a conflict with other installed programs that require excessive graphic card access (Windows Paint?).

    It will be interesting to find out what support say- but maybe updating all your drivers is a good first step.

    Oana Nagy | 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

  • Hello ,
    Thank you for your reply.
    Indeed, one of my two graphic cards needed an update.
    I will mention it to support and see what they will anser. I keep you posted.

    Tanks and regards,
    Angelo
  • Hi ,

    It happened again this morning, this time even without any warning.
    I raised another ticket with support.

    This is the entry of the log file:

    FATAL [2018-08-30 07:15:40,457] Sdl.Desktop.Platform.UnhandledException - Exception of type 'System.OutOfMemoryException' was thrown.
    System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
    at System.IO.StreamWriter.Init(Stream streamArg, Encoding encodingArg, Int32 bufferSize, Boolean shouldLeaveOpen)
    at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
    at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
    at Sdl.FileTypeSupport.Bilingual.SdlXliff.XliffFileWriter.Complete()
    at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
    at Sdl.FileTypeSupport.Framework.Core.Utilities.BilingualApi.BilingualContentHandlerAdapter.Complete()
    at Sdl.FileTypeSupport.Framework.Integration.AbstractBilingualProcessorContainer.Complete()
    at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.ParseNext()
    at Sdl.FileTypeSupport.Framework.Integration.MultiFileConverter.Parse()
    at Sdl.TranslationStudio.Editor.TranslationEditor.TranslatableDocument.SaveVirtualMergedFiles(String[] mergedFilePaths, Boolean isAutoSaved)
    at Sdl.TranslationStudio.Editor.AutoSave.AutoSaveWorker.AutoSaveTemporaryFiles(ITranslatableDocument translatableDocument, String projectFolderPath, IEnumerable`1 translatableFileIds)
    at Sdl.TranslationStudio.Editor.AutoSave.AutoSaveWorker.AutoSaveTimerTick(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    INFO [2018-08-30 07:15:40,457] Sdl.Desktop.Platform.UnhandledException - Exception of type 'System.OutOfMemoryException' was thrown.#ProcessName=SDLTradosStudio#PhysicalMemorySize=2356301824#VirtualMemorySize=2657374208#ThreadCount=75#HandleCount=3811#GdiHandleCount=2909#UserHandleCount=1972#TotalProcessorTime=00:49:35.3906250

    Have a nice day
    Angelo
  • And this time, unlikely the other time, I have no autosaved document (30 minutes of work lost, grrrrr).
  • Hello

    Can you tell us what support have said about this?

    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

  • Hi ,
    for the first case I got this message:

    --------------------------------------------------
    I'm afraid the error is a generic one and cannot tell for sure what happened.

    Similar errors are caused by writing access to folders.

    This one seems to be related to Studio creating the user interface but does not capture exactly what caused this.

    Let me know if this helps you or if you require further assistance.
    --------------------------------------------------
    For this morning I did not get yet a reply from support.

    I keep you posted.