{"action":"closed","issue":{"url":"https://api.github.com/repos/cjcliffe/CubicSDR/issues/254","labels_url":"https://api.github.com/repos/cjcliffe/CubicSDR/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/cjcliffe/CubicSDR/issues/254/comments","events_url":"https://api.github.com/repos/cjcliffe/CubicSDR/issues/254/events","html_url":"https://github.com/cjcliffe/CubicSDR/issues/254","id":126529320,"number":254,"title":"xcb] Unknown request in queue while dequeuing","user":{"login":"TheOncomingStorm","id":400942,"avatar_url":"https://avatars.githubusercontent.com/u/400942?v=3","gravatar_id":"","url":"https://api.github.com/users/TheOncomingStorm","html_url":"https://github.com/TheOncomingStorm","followers_url":"https://api.github.com/users/TheOncomingStorm/followers","following_url":"https://api.github.com/users/TheOncomingStorm/following{/other_user}","gists_url":"https://api.github.com/users/TheOncomingStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/TheOncomingStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheOncomingStorm/subscriptions","organizations_url":"https://api.github.com/users/TheOncomingStorm/orgs","repos_url":"https://api.github.com/users/TheOncomingStorm/repos","events_url":"https://api.github.com/users/TheOncomingStorm/events{/privacy}","received_events_url":"https://api.github.com/users/TheOncomingStorm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cjcliffe/CubicSDR/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"cjcliffe","id":247927,"avatar_url":"https://avatars.githubusercontent.com/u/247927?v=3","gravatar_id":"","url":"https://api.github.com/users/cjcliffe","html_url":"https://github.com/cjcliffe","followers_url":"https://api.github.com/users/cjcliffe/followers","following_url":"https://api.github.com/users/cjcliffe/following{/other_user}","gists_url":"https://api.github.com/users/cjcliffe/gists{/gist_id}","starred_url":"https://api.github.com/users/cjcliffe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjcliffe/subscriptions","organizations_url":"https://api.github.com/users/cjcliffe/orgs","repos_url":"https://api.github.com/users/cjcliffe/repos","events_url":"https://api.github.com/users/cjcliffe/events{/privacy}","received_events_url":"https://api.github.com/users/cjcliffe/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-01-13T22:19:22Z","updated_at":"2016-01-14T14:44:20Z","closed_at":"2016-01-14T14:44:20Z","body":"I'm using Gentoo 64-bit. \r\n\r\nFull error is:\r\n```\r\n./build/x64/CubicSDR\r\nSDR post-processing thread started..Spectrum visual data thread started.\r\n\r\nSpectrum visual data thread started.\r\nFFT visual data thread started.\r\n\r\nAudio Device #0 PulseAudio\r\n        Default Output? Yes\r\n        Default Input? Yes\r\n        Input channels: 2\r\n        Output channels: 2\r\n        Duplex channels: 2\r\n        Native formats:\r\n                16-bit signed integer.\r\n                32-bit signed integer.\r\n                32-bit float normalized between plus/minus 1.0.\r\n        Supported sample rates:\r\n                8000hz\r\n                16000hz\r\n                22050hz\r\n                32000hz\r\n                44100hz\r\n                48000hz\r\n                96000hz\r\n\r\nAvailable vertical sync SwapInterval functions: \r\n        glxSwapIntervalEXT: No\r\n        DRI2SwapInterval: No\r\n        glxSwapIntervalMESA: No\r\n        glxSwapIntervalSGI: No\r\nNo vertical sync swap interval functions available.\r\nLoaded font 'Bitstream Vera Sans Mono' from '/home/user/src/CubicSDR/build/x64/vera_sans_mono16.fnt', parsed 167 characters.\r\nLoaded font 'Bitstream Vera Sans Mono' from '/home/user/src/CubicSDR/build/x64/vera_sans_mono12.fnt', parsed 167 characters.\r\nLoaded font 'Bitstream Vera Sans Mono' from '/home/user/src/CubicSDR/build/x64/vera_sans_mono18.fnt', parsed 167 characters.\r\nSDR enumerator starting.\r\nSoapySDR init..\r\n        API Version: v0.4.0-gd17177f3\r\n        ABI Version: v0.4-2\r\n        Install root: /usr\r\n        Loading modules... \r\n        Available factories...nullJust 'null' factory found.\r\n[xcb] Unknown request in queue while dequeuing\r\n[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called\r\n[xcb] Aborting, sorry about that.\r\nCubicSDR: /var/tmp/portage/x11-libs/libX11-1.6.3/work/libX11-1.6.3/src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.\r\nAborted\r\n\r\n```\r\n\r\nhttp://stackoverflow.com/questions/31952711/threading-pyqt-crashes-with-unknown-request-in-queue-while-dequeuing\r\nThis suggests it's an issue with XInitThreads needing to be specifically set to be threadsafe in PyQt.  \r\n\r\n"}}