Menu

1 / 2

The app that never started: a Flutter Wayland deadlock

DEV Community: flutter·Frank Milvus·11 days ago
#fV6UO0Ke
#devtoflutter#devto#dev#window#wayland
Long article (1742 words) — no AI summary yet.
Reading 0:00
15s threshold

Sometimes the app did not start. Not a crash, not an error dialog — nothing. No window, no splash, no log line, no spinner. Clicking the icon again a few seconds later worked, which is exactly what makes this class of bug so easy to misread: it looks like a slow cold start, so you learn to click twice.

It is not a slow start. It is a deadlock, and the app was never going to appear no matter how long you waited.

What a hang looks like from the outside

Three observations eventually lined up:

The launch produced no window at all. Not a white window, not a frozen splash — nothing was ever mapped.

The process was not idle. A launch that had hung sat at roughly ten percent of one core, for minutes.

A second launch worked. That is what let it survive in the wild: the workaround is one extra click, and the failure leaves no trace unless you go looking.

The third point is the trap.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.