Get the latest tech news
I found an 8 years old bug in Xorg
Let me set the right expectations first. This bug I found is actually not that complicated, it's very straightforward once you see what's going on.
And that is how I found out something isn't right - windows that we know exist, suddenly disappear while we are holding the X server lock. The other option is modifying the X server and adding printf s to to print out logs when interesting things happen. At first there were a couple of false positives, because some applications do legitimately grab the server and destroy windows.
Or read this on Hacker News