Skip to content

GUI crash on high system load #3382

Description

@Rustacian

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

Occasionally when the system load is very high (RAM is swapping and CPU limit), but still responsive enough to start and use apps.
The UI crashes with the following symptoms:

  • no UI updates anymore at all
  • message loop is still active
  • user input is still being processed, e.g. button clicks, close button, but with a very bad responsiveness
  • the app produces an enormous amount of logs; when logging to a disk, the log file quickly grows to hundreds of megabytes

Recovery options:

  • close the window via standard close button (specifically the window, not the entire app), then open the window again (iced::window::open)
  • kill the entire app via task manager

Note that it's not a new problem, triggered by a recent commit.

What is the expected behavior?

  1. Slower processing in general, worst case droped frames/updates or crash of the app as a whole
  2. Less extreme logging behavior
  3. Automatic recovery

Version

master

Operating System

Windows

Do you have any log output?

2026-07-06T12:36:39.207219Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207261Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207303Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207346Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207389Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207431Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207508Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207628Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207680Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207729Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207789Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207840Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207891Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207940Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.207992Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208041Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208121Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208178Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208231Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208295Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208354Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208434Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.208517Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.212073Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.212234Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.212833Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213025Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213131Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213204Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213275Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213343Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213403Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213460Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213521Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213582Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.213691Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214014Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214159Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214246Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214307Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214363Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214425Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214725Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.214889Z  WARN iced_winit: Error Other when presenting surface.
2026-07-06T12:36:39.215351Z  WARN iced_winit: Error Other when presenting surface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions