With the second bug OP laments that Wayland compositors are implemented in C, an unsafe language.
That’s not what they’re saying. They’re saying wlroots is full of race conditions, which will be very hard to fix because they’re part of a fundamental design problem.