diff options
author | Daniel Stone <daniel@fooishbar.org> | 2011-05-12 16:21:50 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2011-05-20 17:45:18 +0100 |
commit | 761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325 (patch) | |
tree | b3c1d7432f3166f02e60922b6999cb0371260f0f /specs | |
parent | 159bf292477048b9a2f074735afc516f52c93d80 (diff) | |
download | xorg-lib-libX11-761b8aa0c9b3c58c478ac5ea1b3aaafadcfc1325.tar.gz |
XCB: Add more friendly error messages for common asserts
This patch adds more friendly error messages for three common classes of
assertion:
- missed sequence numbers due to being griefed by another thread
- unknown requests in queue due to being griefed by another thread
- extensions dequeuing too much or too little reply data
It adds error messages offering advice (e.g. call XInitThreads() first)
on stderr, but still generates actual assertions. Hopefully this means
it's a little more Googleable and a little less frightening.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'specs')
0 files changed, 0 insertions, 0 deletions