summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJon Gjengset <jon@thesquareplanet.com>2013-09-06 10:49:30 +0100
committerJon Gjengset <jon@thesquareplanet.com>2013-09-06 10:54:15 +0100
commite62ede1cf0e863e0e9173d15f46a01bd6536fa11 (patch)
tree9711c363f77bdd41924d582c2e75cad492fcc350 /README.md
parentClean up Makefile (diff)
downloadmktrayicon-e62ede1cf0e863e0e9173d15f46a01bd6536fa11.tar.gz
mktrayicon-e62ede1cf0e863e0e9173d15f46a01bd6536fa11.tar.bz2
mktrayicon-e62ede1cf0e863e0e9173d15f46a01bd6536fa11.zip
Try to fix X threading warning
Replace pthreads with GThread and g_main_context_invoke with gdk_threads_add_idle as suggested here: http://stackoverflow.com/a/18651036/472927 Problem still occurs, albeit now more rarely
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 13 insertions, 1 deletions
diff --git a/README.md b/README.md
index e290bd5..94a0caf 100644
--- a/README.md
+++ b/README.md
@@ -80,13 +80,25 @@ without blocking the GUI thread, as GTK seems to not like that. They've
deprecated most of the threading stuff, and only left this
`g_main_context_invoke` mess, which doesn't even seem to work all of the time.
-So, every now and again, the program will just die completely with the message:
+So, every now and again, the program will just die completely with one of the
+following messages:
```
+Xlib: sequence lost (0x100c1 > 0xc3) in reply type 0x1c!
+[xcb] Unknown request in queue while dequeuing
+[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
+[xcb] Aborting, sorry about that.
+
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
mktrayicon: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
+
+Xlib: sequence lost (0x100c1 > 0xc3) in reply type 0x1c!
+[xcb] Unknown request in queue while dequeuing
+[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
+[xcb] Aborting, sorry about that.
+mktrayicon: xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
```
If someone has a genious way to fix this, patches are welcome.
bgstack15