Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.7
-
None
Description
I use a Qt build with -sanitize address configure option.
After the latest submodule update, the qsb tool from Qt Shader Tools does not handle the shaders from Qt Quick properly.
Sometimes I get an address sanitizer issue like this:
[4/2592] Generating .qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb FAILED: src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb /home/ivan/qt6-build/debug/qtdeclarative/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb cd /home/ivan/qt6-build/debug/qtdeclarative/src/quick && /home/ivan/qt6-build/debug/qtbase/bin/qsb --glsl 100es,120,150 --hlsl 50 --msl 12 -b -O -s -o /home/ivan/qt6-build/debug/qtdeclarative/src/quick/.qsb/scenegraph/shaders_ng/8bittextmask.frag.qsb /home/ivan/qt5/qtdeclarative/src/quick/scenegraph/shaders_ng/8bittextmask.frag AddressSanitizer:DEADLYSIGNAL ================================================================= AddressSanitizer:DEADLYSIGNAL AddressSanitizer: nested bug in the same thread, aborting.
And sometimes the build just gets stuck with all cores processing various shaders and eating gigabytes of memory.
The only workaround for now is to have a second build without ASAN, and copy the qsb binary from there.
Attachments
Issue Links
- relates to
-
QTBUG-106100 Building QtDeclarative with -sanitize address fails on Windows
-
- Closed
-