[Interest] QXcbConnection errors.
Konstantin Tokarev
annulen at yandex.ru
Mon Sep 5 14:11:12 CEST 2016
05.09.2016, 00:31, "Bill Crocker" <william.crocker at analog.com>:
> Hello:
>
> I am trying to port two of my apps from Qt 4.8.6 to Qt 5.7.0
> (I am also moving from RHEL5 to RHEL6 at the same time.)
> I can build them and one appears to run properly, I just get a
> little noise on start-up...
>
> App #1:
>
> XXX-lx01:app: App: *W*, failed to get the current screen resources
> (/nobackup/XXX/qt/qt-everywhere-enterprise-src-5.7.0/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:412,
> void QXcbConnection::initializeScreens())
>
> App: *W*, QXcbConnection: XCB error: 173 (Unknown), sequence: 170, resource id:
> 91, major code: 150 (Unknown), minor code: 20
> (/nobackup/XXX/qt/qt-everywhere-enterprise-src-5.7.0/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:996,
> void QXcbConnection::handleXcbError(xcb_generic_error_t*))
>
> App #2:
>
> The other one produces quite a bit more noise and never appears on the screen,
> even though the debugger shows it in the main event loop...
>
> App: *W*, failed to get the current screen resources ((null):0, (null))
> [New Thread 0x7fffed41d700 (LWP 22148)]
> App: *W*, QXcbConnection: XCB error: 173 (Unknown), sequence: 170, resource id:
> 91, major code: 150 (Unknown), minor code: 20 ((null):0, (null))
> App: *W*, QXcbConnection: XCB error: 8 (BadMatch), sequence: 364, resource id:
> 91, major code: 1 (CreateWindow), minor code: 0 ((null):0, (null))
> App: *W*, QXcbConnection: XCB error: 3 (BadWindow), sequence: 365, resource id:
> 67108868, major code: 2 (ChangeWindowAttributes), minor code: 0 ((null):0, (null))
> App: *W*, QXcbConnection: XCB error: 3 (BadWindow), sequence: 366, resource id:
> 67108868, major code: 18 (ChangeProperty), minor code: 0 ((null):0, (null))
> App: *W*, QXcbConnection: XCB error: 3 (BadWindow), sequence: 367, resource id:
> 67108868, major code: 18 (ChangeProperty), minor code: 0 ((null):0, (null))
> ...
> ...
> ...
>
> I see items in this area as a result of a web search,
> but no recommendations as to the solution.
>
> Does anyone have any experience in this area.
>
FWIW, I was using Qt Creator 4.1 over NX recently (official binaries that are shipped with Qt 5.7). It was enough to remove xcbglintegrations from Qt "plugins" dir and disable plugins that use QML.
--
Regards,
Konstantin
More information about the Interest
mailing list