Project

General

Profile

Actions

Bug #3869

closed

Errors when drawing MDI window backgrounds should be ignored

Added by Cassio Luz S. over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Interface
Target version:
Start date:
04/18/2018
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Detaills:

Out of memory.

Void CheckErrorStatus(Int32)

at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y)
at System.Drawing.Graphics.DrawImageUnscaled(Image image, Int32 x, Int32 y)
at AdiIRC.GUI.MainForm.MdiClientOnPaint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
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.MdiClient.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)

How it happened: My notebook was in sleeping mode. So, after i turned it on to the normal mode, the crash happened. The picture window does have a background, and AdiIRC has not been able to recognize it at the moment of the crash for some reason related with ram memory.

Do you remember this? https://dev.adiirc.com/issues/3864

Looks like this issue does have a direct or indirectly relation with that other issue. AdiIRC should not try load an image if somehow is unable to recognize it due an unexpected failure or if someone set a non-existing file in a picture window.

Actions

Also available in: Atom PDF