dominikh / gotraceui

Go execution trace frontend
https://gotraceui.dev
MIT License
1.06k stars 28 forks source link

[Wayland/Sway] Hang/Crash when clicking "select user region" where there are many regions #157

Open JackMordaunt opened 2 months ago

JackMordaunt commented 2 months ago

I have a graphical application where I've instrumented each frame with a trace region. I want to run statistics across all frames, however that's a ton of user regions (since there's many frames).

When I click "select user region", a CPU is pegged at 100% for about 30 seconds then gotraceui quits.

Total number of spans is around 6000 (mixed).

JackMordaunt commented 2 months ago

Ahh you know what, I'm using a tiling window manager (sway), and if I float the window it doesn't crash.

If the window is tiled, it exits with 2024/04/24 13:31:05 wayland: wl_display_flush failed: broken pipe.

dominikh commented 2 months ago

That's definitely something to look into.