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

Elvis Stansvik elvstone at gmail.com
Sat Nov 12 20:45:46 CET 2022


Den lör 12 nov. 2022 kl 18:08 skrev Thiago Macieira <thiago.macieira at intel.com>:
>
> On Friday, 11 November 2022 23:54:24 PST Dennis Luehring wrote:
> >    ../qt6/qtbase/configure -debug -opensource [...]
> >    # ==> https://pastebin.com/JDm0p80b  qt6_configure.txt
>
> You've only built qtbase. That means you have no Wayland client plugin.
>
> The configure output is confusing. It says "yes" for a bunch of X11 things, but
> the "XCB" section only has "no":
> >   XCB:
> >     Using system-provided xcb-xinput ..... no
> >     GL integrations:
> >       GLX Plugin ......................... no
> >         XCB GLX .......................... no
> >       EGL-X11 Plugin ..................... no
>
> Though none of them are about XCB itself, one would conclude it is enabled.
> The hint here that GLX wasn't enabled.
>
> In any case, the XCB plugin didn't get built:
>
> > linux at linux-virtual-machine:~/qt6_dev/qt6-build/plugins/platforms$ ls
> > libqeglfs.so  libqlinuxfb.so  libqminimalegl.so  libqminimal.so
> > libqoffscreen.so  libqvkkhrdisplay.so  libqvnc.so
>
> So this build has no XCB or Wayland, that's why you can't start applications.
> If you just want to test an application that starts and ends, you can use the
> offscreen one.

And just to chime in, you would do that by running with
QT_QPA_PLATFORM=offscreen.

Elvis

>
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Cloud Software Architect - Intel DCAI Cloud Engineering
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list