[Interest] ASAN (Qt 6.4 + Glib) build shows stackoverflow in trivial Qt program

Henry Skoglund henry at tungware.se
Sun Nov 13 18:03:40 CET 2022


On 2022-11-13 17:52, Thiago Macieira wrote:
> On Saturday, 12 November 2022 23:11:45 PST Dennis Luehring wrote:
>> forcing -xcb gives me these configure output (https://pastebin.com/ML8QCJRQ)
>>
>>     XCB:
>>       Using system-provided xcb-xinput ..... no
>>       GL integrations:
>>         GLX Plugin ......................... yes
>>           XCB GLX .......................... yes
>>         EGL-X11 Plugin ..................... yes
>>
>> but also configure fails with
>>
>> ERROR: Feature "xcb": Forcing to "ON" breaks its condition:
>>       QT_FEATURE_thread AND TARGET XCB::XCB AND TEST_xcb_syslibs AND
>> QT_FEATURE_xkbcommon_x11
>>
>>
>> i've double checked every required package that is needed and can't find
>> a missing package
> Your log says:
>
>>        TEST_xcb_syslibs = "FALSE"
> This is the problem. You're missing the XCB libraries in your environment (we
> don't ship them bundled in Qt any more). You may want to increase the log
> level because XCB support requires several tiny libraries and any of them
> missing means the entire support is missing.
>

I can confirm "several tiny libraries" i.e. I had the same problem when 
building Qt on Ubuntu 22.04.
After fiddling for a while, I took the easy way out:
sudo apt-get install libxcb*

That installed 68 libs (all beginning with libxcb-) probably overkill 
but at least it solved the problem :-)
/Henry



More information about the Interest mailing list