MinGW-W64 debugoptimized build: assert failure with softpipe/llvmpipe
System information
- OS: Windows 10.0.19042.746
- Mesa version: 21.0.0-rc3 (d4d8b778), affects master too.
Describe the issue
Any program I tried gets assert failure on start with softpipe or lllvmpipe if build type is debugoptimized. Both x86 and x64 are affected.
Regression
I bisected all the way back to 21.0.0-devel (6925c031) and 20.3.4 tag and couldn't find a good commit.
GDB log (softpipe)
GALLIUM_DRIVER=softpipe gdb -ex 'symbol-file c:/Software/Development/projects/mesa-dist-win/bin/x86/opengl32.dll' -ex 'target exec c:/Software/systools/GPU/GPU_Caps_Viewer/GPU_Caps_Viewer.exe' -ex 'run'
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Reading symbols from c:/Software/Development/projects/mesa-dist-win/bin/x86/opengl32.dll...
Starting program: c:\Software\systools\GPU\GPU_Caps_Viewer\GPU_Caps_Viewer.exe
[New Thread 7280.0x2aa4]
[New Thread 7280.0x21e0]
[New Thread 7280.0x2b8]
[New Thread 7280.0x2ec0]
[New Thread 7280.0x2630]
[New Thread 7280.0x584]
[New Thread 7280.0x1894]
[New Thread 7280.0x2498]
[New Thread 7280.0x1ab0]
[New Thread 7280.0x1218]
[New Thread 7280.0x2260]
warning: [OBS]
warning: OBS_CreateDevice: could not get device address for vkCreateSwapchainKHR
warning:
warning: [OBS]
warning: OBS_CreateDevice: could not get device address for vkDestroySwapchainKHR
warning:
warning: [OBS]
warning: OBS_CreateDevice: could not get device address for vkQueuePresentKHR
warning:
warning: [OBS]
warning: OBS_CreateDevice: could not get device address for vkGetSwapchainImagesKHR
warning:
[Thread 7280.0x2260 exited with code 0]
[Thread 7280.0x1218 exited with code 0]
[Thread 7280.0x1ab0 exited with code 0]
[Thread 7280.0x2498 exited with code 0]
[Thread 7280.0x1894 exited with code 0]
warning: [OBS] Failed to open pipe
[New Thread 7280.0x1ac8]
warning: [OBS]
warning: graphics-hook.dll loaded against process: GPU_Caps_Viewer.exe
warning:
warning: [OBS]
warning: (half life scientist) everything.. seems to be in order
warning:
warning: ../../src/gallium/auxiliary/util/u_simple_shaders.c:469:util_make_fragment_passthrough_shader: Assertion `0' failed.
[Thread 7280.0x2aa4 exited with code 3]
[Thread 7280.0x584 exited with code 3]
[Thread 7280.0x2ec0 exited with code 3]
[Thread 7280.0x2630 exited with code 3]
[Thread 7280.0x21e0 exited with code 3]
[Thread 7280.0x2b8 exited with code 3]
[Thread 7280.0x1ac8 exited with code 3]
--Type <RET> for more, q to quit, c to continue without paging--
[Inferior 1 (process 7280) exited with code 03]