Skip to content

Running on Windows 11, I often encounter unexpected errors. #78

@359193585

Description

@359193585

Running on Windows 11, I often encounter unexpected errors. It is suspected that there may be a problem with GDI resource management.

Image

Select yes to continue running. Sometimes the program will continue to run, and sometimes it will freeze.

[2025-12-29 14:17:44.235] [ERROR ] [Exception ] [T01] Unhandled thread exception
Exception: System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc)
at System.Windows.Forms.ToolStrip.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.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions