I suggest installing the Xorg debug symbols and then attaching gdb to it while it's using 100% CPU. Do that a few times and you should get a good idea of the stack trace.
A lazier way to do it would be to just kill Xorg with a fatal signal, upload the resulting crash file (ubuntu-bug /var/crash/...) and see if the robots have any luck providing a stack trace.
I suggest installing the Xorg debug symbols and then attaching gdb to it while it's using 100% CPU. Do that a few times and you should get a good idea of the stack trace.
A lazier way to do it would be to just kill Xorg with a fatal signal, upload the resulting crash file (ubuntu-bug /var/crash/...) and see if the robots have any luck providing a stack trace.