[Bug 101881] [regression] 32bit steam games segfault when launched with DRI_PRIME=1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 8 12:37:43 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101881

--- Comment #18 from Mike Lothian <mike at fireburn.co.uk> ---
So with llvm only compiled with debugging switched on I get these stack traces
when trying to launch glxgears (32bit)

fireburn at axion ~ $ DISPLAY=:0 DRI_PRIME=1 glxgears-x86
*** Error in `glxgears-x86': malloc(): memory corruption: 0xeef062a0 ***
======= Backtrace: =========
/lib32/libc.so.6(+0x6deb8)[0xf7a09eb8]
/lib32/libc.so.6(+0x75e94)[0xf7a11e94]
/lib32/libc.so.6(+0x7886a)[0xf7a1486a]
/lib32/libc.so.6(__libc_malloc+0x73)[0xf7a16043]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/32/libstdc++.so.6(_Znwj+0x27)[0xf78260e7]
/usr/lib/llvm/6/lib32/libLLVMTarget.so.6(LLVMAddTargetLibraryInfo+0x34)[0xf5ed5b04]
/usr/lib32/dri/radeonsi_dri.so(+0x5025f7)[0xf70d25f7]
/usr/lib32/dri/radeonsi_dri.so(+0x4f8550)[0xf70c8550]
/usr/lib32/dri/radeonsi_dri.so(+0x511a62)[0xf70e1a62]
/usr/lib32/dri/radeonsi_dri.so(+0x30d4e0)[0xf6edd4e0]
/lib32/libpthread.so.0(+0x6572)[0xf767a572]
/lib32/libc.so.6(clone+0x66)[0xf7a93e66]
======= Memory map: ========
08048000-0804c000 r-xp 00000000 103:02 2125930                          
/usr/bin/glxgears-x86
0804c000-0804d000 r--p 00003000 103:02 2125930                          
/usr/bin/glxgears-x86
0804d000-0804e000 rw-p 00004000 103:02 2125930                          
/usr/bin/glxgears-x86
09062000-0918f000 rw-p 00000000 00:00 0                                  [heap]
eef00000-eef21000 rw-p 00000000 00:00 0
eef21000-ef000000 ---p 00000000 00:00 0
ef000000-ef021000 rw-p 00000000 00:00 0
ef021000-ef100000 ---p 00000000 00:00 0
ef100000-ef200000 rw-s 100612000 00:06 1629                             
/dev/dri/renderD128
ef200000-ef221000 rw-p 00000000 00:00 0
ef221000-ef300000 ---p 00000000 00:00 0
ef393000-ef3b4000 rw-p 00000000 00:00 0
ef3b4000-ef3b5000 ---p 00000000 00:00 0
ef3b5000-efbb5000 rw-p 00000000 00:00 0
efbb5000-efbd5000 rw-s 1004a3000 00:06 1629                             
/dev/dri/renderD128
efbd5000-efbf5000 rw-s 100483000 00:06 1629                             
/dev/dri/renderD128
efbf5000-efc15000 rw-s 100463000 00:06 1629                             
/dev/dri/renderD128
efc15000-efc35000 rw-s 100443000 00:06 1629                             
/dev/dri/renderD128
efc35000-efc36000 ---p 00000000 00:00 0
efc36000-f0436000 rw-p 00000000 00:00 0
f0436000-f0437000 ---p 00000000 00:00 0
f0437000-f0c37000 rw-p 00000000 00:00 0
f0c37000-f0c38000 ---p 00000000 00:00 0
f0c38000-f1438000 rw-p 00000000 00:00 0
f1438000-f1439000 ---p 00000000 00:00 0
f1439000-f1c39000 rw-p 00000000 00:00 0
f1c39000-f1c3a000 ---p 00000000 00:00 0
f1c3a000-f243a000 rw-p 00000000 00:00 0
f243a000-f243e000 r-xp 00000000 103:02 2027611                          
/usr/lib32/libtxc_dxtn.so
f243e000-f243f000 r--p 00003000 103:02 2027611                          
/usr/lib32/libtxc_dxtn.so
f243f000-f2440000 rw-p 00004000 103:02 2027611                          
/usr/lib32/libtxc_dxtn.so
f2440000-f2441000 ---p 00000000 00:00 0
f2441000-f2c41000 rw-p 00000000 00:00 0
f2c41000-f2d82000 rw-s 00000000 103:03 32243724                         
/home/fireburn/.cache/mesa/index
f2d82000-f2d8d000 r-xp 00000000 103:02 1572971                          
/lib32/libnss_files-2.25.so
f2d8d000-f2d8e000 r--p 0000a000 103:02 1572971                          
/lib32/libnss_files-2.25.so
f2d8e000-f2d8f000 rw-p 0000b000 103:02 1572971                          
/lib32/libnss_files-2.25.so
f2d8f000-f2d9b000 r-xp 00000000 103:02 1573408                          
/lib32/libnss_nis-2.25.so
f2d9b000-f2d9c000 r--p 0000b000 103:02 1573408                          
/lib32/libnss_nis-2.25.so
f2d9c000-f2d9d000 rw-p 0000c000 103:02 1573408                          
/lib32/libnss_nis-2.25.so
f2d9d000-f2db4000 r-xp 00000000 103:02 1573338                          
/lib32/libnsl-2.25.so
f2db4000-f2db5000 r--p 00016000 103:02 1573338                          
/lib32/libnsl-2.25.so
f2db5000-f2db6000 rw-p 00017000 103:02 1573338                          
/lib32/libnsl-2.25.so
f2db6000-f2db8000 rw-p 00000000 00:00 0
f2db8000-f2dc0000 r-xp 00000000 103:02 1573337                          
/lib32/libnss_compat-2.25.so
f2dc0000-f2dc1000 r--p 00007000 103:02 1573337                          
/lib32/libnss_compat-2.25.so
f2dc1000-f2dc2000 rw-p 00008000 103:02 1573337                          
/lib32/libnss_compat-2.25.so
f2dc2000-f2dc3000 ---p 00000000 00:00 0
f2dc3000-f35c3000 rw-p 00000000 00:00 0
f35c3000-f3629000 r-xp 00000000 103:02 2027917                          
/usr/lib64/llvm/6/lib32/libLLVMAsmParser.so.6.0.0svn
f3629000-f362a000 r--p 00065000 103:02 2027917                          
/usr/lib64/llvm/6/lib32/libLLVMAsmParser.so.6.0.0svn
f362a000-f362b000 rw-p 00066000 103:02 2027917                          
/usr/lib64/llvm/6/lib32/libLLVMAsmParser.so.6.0.0svn
f362b000-f36cc000 r-xp 00000000 103:02 2013356                          
/usr/lib64/llvm/6/lib32/libLLVMDebugInfoCodeView.so.6.0.0svn
f36cc000-f36ce000 r--p 000a0000 103:02 2013356                          
/usr/lib64/llvm/6/lib32/libLLVMDebugInfoCodeView.so.6.0.0svn
f36ce000-f36cf000 rw-p 000a2000 103:02 2013356                          
/usr/lib64/llvm/6/lib32/libLLVMDebugInfoCodeView.so.6.0.0svn
f36cf000-f36d3000 rw-p 00000000 00:00 0
f36d3000-f3720000 r-xp 00000000 103:02 2018652                          
/usr/lib64/llvm/6/lib32/libLLVMMCParser.so.6.0.0svn
f3720000-f3721000 r--p 0004c000 103:02 2018652                          
/usr/lib64/llvm/6/lib32/libLLVMMCParser.so.6.0.0svn
f3721000-f3722000 rw-p 0004d000 103:02 2018652                          
/usr/lib64/llvm/6/lib32/libLLVMMCParser.so.6.0.0svn
f3722000-f3737000 r-xp 00000000 103:02 1991446                          
/usr/lib64/llvm/6/lib32/libLLVMBinaryFormat.so.6.0.0svn
f3737000-f3738000 r--p 00014000 103:02 1991446                          
/usr/lib64/llvm/6/lib32/libLLVMBinaryFormat.so.6.0.0svn
f3738000-f3739000 rw-p 00015000 103:02 1991446                          
/usr/lib64/llvm/6/lib32/libLLVMBinaryFormat.so.6.0.0svn
f3739000-f378b000 r-xp 00000000 103:02 2013436                          
/usr/lib64/llvm/6/lib32/libLLVMProfileData.so.6.0.0svn
f378b000-f378c000 r--p 00051000 103:02 2013436                          
/usr/lib64/llvm/6/lib32/libLLVMProfileData.so.6.0.0svn
f378c000-f378d000 rw-p 00052000 103:02 2013436                          
/usr/lib64/llvm/6/lib32/libLLVMProfileData.so.6.0.0svn
f378d000-f37c3000 r-xp 00000000 103:02 2011938                          
/usr/lib64/llvm/6/lib32/libLLVMLinker.so.6.0.0svn
f37c3000-f37c4000 r--p 00035000 103:02 2011938                          
/usr/lib64/llvm/6/lib32/libLLVMLinker.so.6.0.0svn
f37c4000-f37c5000 rw-p 00036000 103:02 2011938                          
/usr/lib64/llvm/6/lib32/libLLVMLinker.so.6.0.0svn
f37c5000-f38db000 r-xp 00000000 103:02 1991543                          
/usr/lib64/llvm/6/lib32/libLLVMInstrumentation.so.6.0.0svn
f38db000-f38dc000 r--p 00115000 103:02 1991543                          
/usr/lib64/llvm/6/lib32/libLLVMInstrumentation.so.6.0.0svn
f38dc000-f38dd000 rw-p 00116000 103:02 1991543                          
/usr/lib64/llvm/6/lib32/libLLVMInstrumentation.so.6.0.0svn
f38dd000-f38e1000 rw-p 00000000 00:00 0
f38e1000-f3a00000 r-xp 00000000 103:02 1991545                          
/usr/lib64/llvm/6/lib32/libLLVMInstCombine.so.6.0.0svn
f3a00000-f3a01000 r--p 0011e000 103:02 1991545                          
/usr/lib64/llvm/6/lib32/libLLVMInstCombine.so.6.0.0svn
f3a01000-f3a02000 rw-p 0011f000 103:02 1991545                          
/usr/lib64/llvm/6/lib32/libLLVMInstCombine.so.6.0.0svn
f3a02000-f3a0a000 r-xp 00000000 103:02 1991326                          
/usr/lib64/llvm/6/lib32/libLLVMIRReader.so.6.0.0svn
f3a0a000-f3a0b000 r--p 00007000 103:02 1991326                          
/usr/lib64/llvm/6/lib32/libLLVMIRReader.so.6.0.0svn
f3a0b000-f3a0c000 rw-p 00008000 103:02 1991326                          
/usr/lib64/llvm/6/lib32/libLLVMIRReader.so.6.0.0svn
f3a0c000-f3a74000 r-xp 00000000 103:02 1991534                          
/usr/lib64/llvm/6/lib32/libLLVMBitWriter.so.6.0.0svn
f3a74000-f3a75000 ---p 00068000 103:02 1991534                          
/usr/lib64/llvm/6/lib32/libLLVMBitWriter.so.6.0.0svn
f3a75000-f3a76000 r--p 00068000 103:02 1991534                          
/usr/lib64/llvm/6/lib32/libLLVMBitWriter.so.6.0.0svn
f3a76000-f3a77000 rw-p 00069000 103:02 1991534                          
/usr/lib64/llvm/6/lib32/libLLVMBitWriter.so.6.0.0svn
f3a77000-f3af9000 r-xp 00000000 103:02 1991532                          
/usr/lib64/llvm/6/lib32/libLLVMBitReader.so.6.0.0svn
f3af9000-f3afa000 ---p 00082000 103:02 1991532                          
/usr/lib64/llvm/6/lib32/libLLVMBitReader.so.6.0.0svn
f3afa000-f3afb000 r--p 00082000 103:02 1991532                          
/usr/lib64/llvm/6/lib32/libLLVMBitReader.so.6.0.0svn
f3afb000-f3afc000 rw-p 00083000 103:02 1991532                          
/usr/lib64/llvm/6/lib32/libLLVMBitReader.so.6.0.0svn
f3afc000-f3be5000 r-xp 00000000 103:02 1991552                          
/usr/lib64/llvm/6/lib32/libLLVMVectorize.so.6.0.0svn
f3be5000-f3be6000 r--p 000e8000 103:02 1991552                          
/usr/lib64/llvm/6/lib32/libLLVMVectorize.so.6.0.0svn
f3be6000-f3be7000 rw-p 000e9000 103:02 1991552                          
/usr/lib64/llvm/6/lib32/libLLVMVectorize.so.6.0.0svn
f3be7000-f3be8000 rw-p 00000000 00:00 0
f3be8000-f3e88000 r-xp 00000000 103:02 1991540                          
/usr/lib64/llvm/6/lib32/libLLVMTransformUtils.so.6.0.0svn
f3e88000-f3e89000 ---p 002a0000 103:02 1991540                          
/usr/lib64/llvm/6/lib32/libLLVMTransformUtils.so.6.0.0svn
f3e89000-f3e8a000 r--p 002a0000 103:02 1991540                          
/usr/lib64/llvm/6/lib32/libLLVMTransformUtils.so.6.0.0svn
f3e8a000-f3e8c000 rw-p 002a1000 103:02 1991540                          
/usr/lib64/llvm/6/lib32/libLLVMTransformUtils.so.6.0.0svn
f3e8c000-f3e8d000 rw-p 00000000 00:00 0
f3e8d000-f3eb2000 r-xp 00000000 103:02 2027552                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUUtils.so.6.0.0svn
f3eb2000-f3eb3000 r--p 00024000 103:02 2027552                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUUtils.so.6.0.0svn
f3eb3000-f3eb4000 rw-p 00025000 103:02 2027552                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUUtils.so.6.0.0svn
f3eb4000-f3ef0000 r-xp 00000000 103:02 2027549                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUAsmPrinter.so.6.0.0svn
f3ef0000-f3ef1000 ---p 0003c000 103:02 2027549                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUAsmPrinter.so.6.0.0svn
f3ef1000-f3ef2000 r--p 0003c000 103:02 2027549                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUAsmPrinter.so.6.0.0svn
f3ef2000-f3ef3000 rw-p 0003d000 103:02 2027549                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUAsmPrinter.so.6.0.0svn
f3ef3000-f3fd5000 r-xp 00000000 103:02 2026393                          
/usr/lib64/llvm/6/lib32/libLLVMObject.so.6.0.0svn
f3fd5000-f3fd6000 ---p 000e2000 103:02 2026393                          
/usr/lib64/llvm/6/lib32/libLLVMObject.so.6.0.0svn
f3fd6000-f3fd7000 r--p 000e2000 103:02 2026393                          
/usr/lib64/llvm/6/lib32/libLLVMObject.so.6.0.0svn
f3fd7000-f3fd8000 rw-p 000e3000 103:02 2026393                          
/usr/lib64/llvm/6/lib32/libLLVMObject.so.6.0.0svn
f3fd8000-f3fe9000 r-xp 00000000 103:02 2027754                          
/usr/lib64/llvm/6/lib32/libLLVMX86Utils.so.6.0.0svn
f3fe9000-f3fea000 r--p 00010000 103:02 2027754                          
/usr/lib64/llvm/6/lib32/libLLVMX86Utils.so.6.0.0svn
f3fea000-f3feb000 rw-p 00011000 103:02 2027754                          
/usr/lib64/llvm/6/lib32/libLLVMX86Utils.so.6.0.0svn
f3feb000-f4042000 r-xp 00000000 103:02 2013419                          
/usr/lib64/llvm/6/lib32/libLLVMX86AsmPrinter.so.6.0.0svn
f4042000-f4043000 r--p 00056000 103:02 2013419                          
/usr/lib64/llvm/6/lib32/libLLVMX86AsmPrinter.so.6.0.0svn
f4043000-f4044000 rw-p 00057000 103:02 2013419                          
/usr/lib64/llvm/6/lib32/libLLVMX86AsmPrinter.so.6.0.0svn
f4044000-f43a4000 r-xp 00000000 103:02 1991349                          
/usr/lib64/llvm/6/lib32/libLLVMSelectionDAG.so.6.0.0svn
f43a4000-f43a5000 ---p 00360000 103:02 1991349                          
/usr/lib64/llvm/6/lib32/libLLVMSelectionDAG.so.6.0.0svn
f43a5000-f43a6000 r--p 00360000 103:02 1991349                          
/usr/lib64/llvm/6/lib32/libLLVMSelectionDAG.so.6.0.0svn
f43a6000-f43a8000 rw-p 00361000 103:02 1991349                          
/usr/lib64/llvm/6/lib32/libLLVMSelectionDAG.so.6.0.0svn
f43a8000-f43a9000 rw-p 00000000 00:00 0
f43a9000-f442e000 r-xp 00000000 103:02 1991412                          
/usr/lib64/llvm/6/lib32/libLLVMGlobalISel.so.6.0.0svn
f442e000-f442f000 r--p 00084000 103:02 1991412                          
/usr/lib64/llvm/6/lib32/libLLVMGlobalISel.so.6.0.0svn
f442f000-f4430000 rw-p 00085000 103:02 1991412                          
/usr/lib64/llvm/6/lib32/libLLVMGlobalISel.so.6.0.0svn
f4430000-f4b10000 r-xp 00000000 103:02 1991344                          
/usr/lib64/llvm/6/lib32/libLLVMCodeGen.so.6.0.0svn
f4b10000-f4b11000 ---p 006e0000 103:02 1991344                          
/usr/lib64/llvm/6/lib32/libLLVMCodeGen.so.6.0.0svn
f4b11000-f4b17000 r--p 006e0000 103:02 1991344                          
/usr/lib64/llvm/6/lib32/libLLVMCodeGen.so.6.0.0svn
f4b17000-f4b1b000 rw-p 006e6000 103:02 1991344                          
/usr/lib64/llvm/6/lib32/libLLVMCodeGen.so.6.0.0svn
f4b1b000-f4b22000 rw-p 00000000 00:00 0
f4b22000-f4c34000 r-xp 00000000 103:02 1991364                          
/usr/lib64/llvm/6/lib32/libLLVMAsmPrinter.so.6.0.0svn
f4c34000-f4c35000 ---p 00112000 103:02 1991364                          
/usr/lib64/llvm/6/lib32/libLLVMAsmPrinter.so.6.0.0svn
f4c35000-f4c36000 r--p 00112000 103:02 1991364                          
/usr/lib64/llvm/6/lib32/libLLVMAsmPrinter.so.6.0.0svn
f4c36000-f4c37000 rw-p 00113000 103:02 1991364                          
/usr/lib64/llvm/6/lib32/libLLVMAsmPrinter.so.6.0.0svn
f4c37000-f4c38000 rw-p 00000000 00:00 0
f4c38000-f4dab000 r-xp 00000000 103:02 1991245                          
/usr/lib64/llvm/6/lib32/libLLVMSupport.so.6.0.0svn
f4dab000-f4dae000 r--p 00172000 103:02 1991245                          
/usr/lib64/llvm/6/lib32/libLLVMSupport.so.6.0.0svn
f4dae000-f4db1000 rw-p 00175000 103:02 1991245                          
/usr/lib64/llvm/6/lib32/libLLVMSupport.so.6.0.0svn
f4db1000-f4db3000 rw-p 00000000 00:00 0
f4db3000-f51b3000 r-xp 00000000 103:02 1991302                          
/usr/lib64/llvm/6/lib32/libLLVMCore.so.6.0.0svn
f51b3000-f51bb000 r--p 003ff000 103:02 1991302                          
/usr/lib64/llvm/6/lib32/libLLVMCore.so.6.0.0svn
f51bb000-f51bd000 rw-p 00407000 103:02 1991302                          
/usr/lib64/llvm/6/lib32/libLLVMCore.so.6.0.0svn
f51bd000-f51be000 rw-p 00000000 00:00 0
f51be000-f52a9000 r-xp 00000000 103:02 2013085                          
/usr/lib64/llvm/6/lib32/libLLVMMC.so.6.0.0svn
f52a9000-f52aa000 ---p 000eb000 103:02 2013085                          
/usr/lib64/llvm/6/lib32/libLLVMMC.so.6.0.0svn
f52aa000-f52ac000 r--p 000eb000 103:02 2013085                          
/usr/lib64/llvm/6/lib32/libLLVMMC.so.6.0.0svn
f52ac000-f52ad000 rw-p 000ed000 103:02 2013085                          
/usr/lib64/llvm/6/lib32/libLLVMMC.so.6.0.0svn
f52ad000-f52ae000 r-xp 00000000 103:02 2013406                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUInfo.so.6.0.0svn
f52ae000-f52af000 r--p 00000000 103:02 2013406                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUInfo.so.6.0.0svn
f52af000-f52b0000 rw-p 00001000 103:02 2013406                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUInfo.so.6.0.0svn
f52b0000-f5394000 r-xp 00000000 103:02 2027551                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUDesc.so.6.0.0svn
f5394000-f5395000 ---p 000e4000 103:02 2027551                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUDesc.so.6.0.0svn
f5395000-f53f9000 r--p 000e4000 103:02 2027551                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUDesc.so.6.0.0svn
f53f9000-f53fa000 rw-p 00148000 103:02 2027551                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUDesc.so.6.0.0svn
f53fa000-f53fc000 rw-p 00000000 00:00 0
f53fc000-f5494000 r-xp 00000000 103:02 2027548                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUAsmParser.so.6.0.0svn
f5494000-f5495000 r--p 00097000 103:02 2027548                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUAsmParser.so.6.0.0svn
f5495000-f5496000 rw-p 00098000 103:02 2027548                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUAsmParser.so.6.0.0svn
f5496000-f5a1c000 r-xp 00000000 103:02 2012508                          
/usr/lib64/llvm/6/lib32/libLLVMAnalysis.so.6.0.0svn
f5a1c000-f5a20000 r--p 00585000 103:02 2012508                          
/usr/lib64/llvm/6/lib32/libLLVMAnalysis.so.6.0.0svn
f5a20000-f5a23000 rw-p 00589000 103:02 2012508                          
/usr/lib64/llvm/6/lib32/libLLVMAnalysis.so.6.0.0svn
f5a23000-f5a27000 rw-p 00000000 00:00 0
f5a27000-f5ec8000 r-xp 00000000 103:02 1991547                          
/usr/lib64/llvm/6/lib32/libLLVMScalarOpts.so.6.0.0svn
f5ec8000-f5ecb000 r--p 004a0000 103:02 1991547                          
/usr/lib64/llvm/6/lib32/libLLVMScalarOpts.so.6.0.0svn
f5ecb000-f5ece000 rw-p 004a3000 103:02 1991547                          
/usr/lib64/llvm/6/lib32/libLLVMScalarOpts.so.6.0.0svn
f5ece000-f5ed1000 rw-p 00000000 00:00 0
f5ed1000-f5ee0000 r-xp 00000000 103:02 2027546                          
/usr/lib64/llvm/6/lib32/libLLVMTarget.so.6.0.0svn
f5ee0000-f5ee1000 ---p 0000f000 103:02 2027546                          
/usr/lib64/llvm/6/lib32/libLLVMTarget.so.6.0.0svn
f5ee1000-f5ee2000 r--p 0000f000 103:02 2027546                          
/usr/lib64/llvm/6/lib32/libLLVMTarget.so.6.0.0svn
f5ee2000-f5ee3000 rw-p 00010000 103:02 2027546                          
/usr/lib64/llvm/6/lib32/libLLVMTarget.so.6.0.0svn
f5ee3000-f608b000 r-xp 00000000 103:02 1991550                          
/usr/lib64/llvm/6/lib32/libLLVMipo.so.6.0.0svn
f608b000-f608d000 r--p 001a7000 103:02 1991550                          
/usr/lib64/llvm/6/lib32/libLLVMipo.so.6.0.0svn
f608d000-f608f000 rw-p 001a9000 103:02 1991550                          
/usr/lib64/llvm/6/lib32/libLLVMipo.so.6.0.0svn
f608f000-f6091000 rw-p 00000000 00:00 0
f6091000-f635f000 r-xp 00000000 103:02 2027547                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUCodeGen.so.6.0.0svn
f635f000-f6360000 ---p 002ce000 103:02 2027547                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUCodeGen.so.6.0.0svn
f6360000-f6367000 r--p 002ce000 103:02 2027547                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUCodeGen.so.6.0.0svn
f6367000-f6369000 rw-p 002d5000 103:02 2027547                          
/usr/lib64/llvm/6/lib32/libLLVMAMDGPUCodeGen.so.6.0.0svn
f6369000-f636a000 rw-p 00000000 00:00 0
f636a000-f6371000 r-xp 00000000 103:02 2018677                          
/usr/lib64/llvm/6/lib32/libLLVMMCDisassembler.so.6.0.0svn
f6371000-f6372000 r--p 00006000 103:02 2018677                          
/usr/lib64/llvm/6/lib32/libLLVMMCDisassembler.so.6.0.0svn
f6372000-f6373000 rw-p 00007000 103:02 2018677                          
/usr/lib64/llvm/6/lib32/libLLVMMCDisassembler.so.6.0.0svn
f6373000-f63fd000 r-xp 00000000 103:02 2013392                          
/usr/lib64/llvm/6/lib32/libLLVMRuntimeDyld.so.6.0.0svn
f63fd000-f63ff000 r--p 00089000 103:02 2013392                          
/usr/lib64/llvm/6/lib32/libLLVMRuntimeDyld.so.6.0.0svn
f63ff000-f6400000 rw-p 0008b000 103:02 2013392                          
/usr/lib64/llvm/6/lib32/libLLVMRuntimeDyld.so.6.0.0svn
f6400000-f642a000 r-xp 00000000 103:02 2013383                          
/usr/lib64/llvm/6/lib32/libLLVMExecutionEngine.so.6.0.0svn
f642a000-f642b000 r--p 00029000 103:02 2013383                          
/usr/lib64/llvm/6/lib32/libLLVMExecutionEngine.so.6.0.0svn
f642b000-f642c000 rw-p 0002a000 103:02 2013383                          
/usr/lib64/llvm/6/lib32/libLLVMExecutionEngine.so.6.0.0svn
f642c000-f6440000 r-xp 00000000 103:02 2013388                          
/usr/lib64/llvm/6/lib32/libLLVMMCJIT.so.6.0.0svn
f6440000-f6441000 r--p 00013000 103:02 2013388                          
/usr/lib64/llvm/6/lib32/libLLVMMCJIT.so.6.0.0svn
f6441000-f6442000 rw-p 00014000 103:02 2013388                          
/usr/lib64/llvm/6/lib32/libLLVMMCJIT.so.6.0.0svn
f6442000-f6443000 r-xp 00000000 103:02 2027557                          
/usr/lib64/llvm/6/lib32/libLLVMX86Info.so.6.0.0svn
f6443000-f6444000 r--p 00000000 103:02 2027557                          
/usr/lib64/llvm/6/lib32/libLLVMX86Info.so.6.0.0svn
f6444000-f6445000 rw-p 00001000 103:02 2027557                          
/usr/lib64/llvm/6/lib32/libLLVMX86Info.so.6.0.0svn
f6445000-f6518000 r-xp 00000000 103:02 2027556                          
/usr/lib64/llvm/6/lib32/libLLVMX86Desc.so.6.0.0svn
f6518000-f6519000 ---p 000d3000 103:02 2027556                          
/usr/lib64/llvm/6/lib32/libLLVMX86Desc.so.6.0.0svn
f6519000-f6626000 r--p 000d3000 103:02 2027556                          
/usr/lib64/llvm/6/lib32/libLLVMX86Desc.so.6.0.0svn
f6626000-f6628000 rw-p 001e0000 103:02 2027556                          
/usr/lib64/llvm/6/lib32/libLLVMX86Desc.so.6.0.0svn
f6628000-f6629000 rw-p 00000000 00:00 0
f6629000-f6a13000 r-xp 00000000 103:02 2027553                          
/usr/lib64/llvm/6/lib32/libLLVMX86CodeGen.so.6.0.0svn
f6a13000-f6a14000 ---p 003ea000 103:02 2027553                          
/usr/lib64/llvm/6/lib32/libLLVMX86CodeGen.so.6.0.0svn
f6a14000-f6a19000 r--p 003ea000 103:02 2027553                          
/usr/lib64/llvm/6/lib32/libLLVMX86CodeGen.so.6.0.0svn
f6a19000-f6a1b000 rw-p 003ef000 103:02 2027553                          
/usr/lib64/llvm/6/lib32/libLLVMX86CodeGen.so.6.0.0svn
f6a1b000-f6a1c000 rw-p 00000000 00:00 0
f6a1c000-f6b80000 r-xp 00000000 103:02 2013418                          
/usr/lib64/llvm/6/lib32/libLLVMX86Disassembler.so.6.0.0svn
f6b80000-f6b81000 r--p 00163000 103:02 2013418                          
/usr/lib64/llvm/6/lib32/libLLVMX86Disassembler.so.6.0.0svn
f6b81000-f6b82000 rw-p 00164000 103:02 2013418                          
/usr/lib64/llvm/6/lib32/libLLVMX86Disassembler.so.6.0.0svn
f6b82000-f6b9c000 r-xp 00000000 103:02 2027898                          
/usr/lib32/libelf-0.170.so
f6b9c000-f6b9d000 r--p 00019000 103:02 2027898                          
/usr/lib32/libelf-0.170.so
f6b9d000-f6b9e000 rw-p 0001a000 103:02 2027898                          
/usr/lib32/libelf-0.170.so
f6b9e000-f6ba8000 r-xp 00000000 103:02 1973263                          
/usr/lib32/libdrm_amdgpu.so.1.0.0
f6ba8000-f6ba9000 r--p 00009000 103:02 1973263                          
/usr/lib32/libdrm_amdgpu.so.1.0.0
f6ba9000-f6baa000 rw-p 0000a000 103:02 1973263                          
/usr/lib32/libdrm_amdgpu.so.1.0.0
f6baa000-f6bb6000 r-xp 00000000 103:02 1974270                          
/usr/lib32/libdrm_radeon.so.1.0.1
f6bb6000-f6bb7000 r--p 0000b000 103:02 1974270                          
/usr/lib32/libdrm_radeon.so.1.0.1
f6bb7000-f6bb8000 rw-p 0000c000 103:02 1974270                          
/usr/lib32/libdrm_radeon.so.1.0.1
f6bb8000-f6bce000 r-xp 00000000 103:02 2008369                          
/usr/lib32/libz.so.1.2.11
f6bce000-f6bcf000 r--p 00015000 103:02 2008369                          
/usr/lib32/libz.so.1.2.11
f6bcf000-f6bd0000 rw-p 00016000 103:02 2008369                          
/usr/lib32/libz.so.1.2.11
f6bd0000-f7433000 r-xp 00000000 103:02 2020409                          
/usr/lib32/mesa/radeonsi_dri.so
f7433000-f7434000 ---p 00863000 103:02 2020409                          
/usr/lib32/mesa/radeonsi_dri.so
f7434000-f7468000 r--p 00863000 103:02 2020409                          
/usr/lib32/mesa/radeonsi_dri.so
f7468000-f746b000 rw-p 00897000 103:02 2020409                          
/usr/lib32/mesa/radeonsi_dri.so
f746b000-f7663000 rw-p 00000000 00:00 0
f7663000-f7668000 r-xp 00000000 103:02 1988919                          
/usr/lib32/libXdmcp.so.6.0.0
f7668000-f7669000 r--p 00004000 103:02 1988919                          
/usr/lib32/libXdmcp.so.6.0.0
f7669000-f766a000 rw-p 00005000 103:02 1988919                          
/usr/lib32/libXdmcp.so.6.0.0
f766a000-f766c000 r-xp 00000000 103:02 1970099                          
/usr/lib32/libXau.so.6.0.0
f766c000-f766d000 ---p 00002000 103:02 1970099                          
/usr/lib32/libXau.so.6.0.0
f766d000-f766e000 r--p 00002000 103:02 1970099                          
/usr/lib32/libXau.so.6.0.0
f766e000-f766f000 rw-p 00003000 103:02 1970099                          
/usr/lib32/libXau.so.6.0.0
f766f000-f7672000 r-xp 00000000 103:02 1572928                          
/lib32/libdl-2.25.so
f7672000-f7673000 r--p 00002000 103:02 1572928                          
/lib32/libdl-2.25.so
f7673000-f7674000 rw-p 00003000 103:02 1572928                          
/lib32/libdl-2.25.so
f7674000-f768f000 r-xp 00000000 103:02 1573406                          
/lib32/libpthread-2.25.so
f768f000-f7690000 r--p 0001a000 103:02 1573406                          
/lib32/libpthread-2.25.so
f7690000-f7691000 rw-p 0001b000 103:02 1573406                          
/lib32/libpthread-2.25.so
f7691000-f7693000 rw-p 00000000 00:00 0
f7693000-f76a5000 r-xp 00000000 103:02 1968541                          
/usr/lib32/libdrm.so.2.4.0
f76a5000-f76a6000 r--p 00011000 103:02 1968541                          
/usr/lib32/libdrm.so.2.4.0
f76a6000-f76a7000 rw-p 00012000 103:02 1968541                          
/usr/lib32/libdrm.so.2.4.0
f76a7000-f76ac000 r-xp 00000000 103:02 1970313                          
/usr/lib32/libXxf86vm.so.1.0.0
f76ac000-f76ad000 r--p 00004000 103:02 1970313                          
/usr/lib32/libXxf86vm.so.1.0.0
f76ad000-f76ae000 rw-p 00005000 103:02 1970313                          
/usr/lib32/libXxf86vm.so.1.0.0
f76ae000-f76b2000 r-xp 00000000 103:02 1968844                          
/usr/lib32/libxcb-dri2.so.0.0.0
f76b2000-f76b3000 r--p 00003000 103:02 1968844                          
/usr/lib32/libxcb-dri2.so.0.0.0
f76b3000-f76b4000 rw-p 00004000 103:02 1968844                          
/usr/lib32/libxcb-dri2.so.0.0.0
f76b4000-f76b6000 rw-p 00000000 00:00 0
f76b6000-f76d0000 r-xp 00000000 103:02 1968615                          
/usr/lib32/libxcb-glx.so.0.0.0
f76d0000-f76d1000 ---p 0001a000 103:02 1968615                          
/usr/lib32/libxcb-glx.so.0.0.0
f76d1000-f76d2000 r--p 0001a000 103:02 1968615                          
/usr/lib32/libxcb-glx.so.0.0.0
f76d2000-f76d3000 rw-p 0001b000 103:02 1968615                          
/usr/lib32/libxcb-glx.so.0.0.0
f76d3000-f76fd000 r-xp 00000000 103:02 1971238                          
/usr/lib32/libxcb.so.1.1.0
f76fd000-f76fe000 r--p 00029000 103:02 1971238                          
/usr/lib32/libxcb.so.1.1.0
f76fe000-f76ff000 rw-p 0002a000 103:02 1971238                          
/usr/lib32/libxcb.so.1.1.0
Aborted (core dumped)



fireburn at axion ~ $ DISPLAY=:0 DRI_PRIME=1 glxgears-x86
*** Error in `glxgears-x86': malloc(): memory corruption: 0xeef062a0 ***
======= Backtrace: =========
/lib32/libc.so.6(+0x6deb8)[0xf7a5deb8]
/lib32/libc.so.6(+0x75e94)[0xf7a65e94]
/lib32/libc.so.6(+0x7886a)[0xf7a6886a]
/lib32/libc.so.6(__libc_malloc+0x73)[0xf7a6a043]
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/32/libstdc++.so.6(_Znwj+0x27)[0xf787a0e7]
/usr/lib/llvm/6/lib32/libLLVMTarget.so.6(LLVMAddTargetLibraryInfo+0x34)[0xf5f29b04]
/usr/lib32/dri/radeonsi_dri.so*** Error in `glxgears-x86': malloc(): memory
corruption: 0xeed06998 ***
(======= Backtrace: =========
+0x/lib32/libc.so.6(+0x6deb8)[0xf7a5deb8]
/lib32/libc.so.6(+0x75e94)[0xf7a65e94]
/lib32/libc.so.6(+0x7886a)[0xf7a6886a]
/lib32/libc.so.6/usr/lib32/dri/radeonsi_dri.so(+0x4f8550)[0xf711c550]
/usr/lib32/dri/radeonsi_dri.so(+0x511a62)[0xf7135a62]
/usr/lib32/dri/radeonsi_dri.so(+0x30d4e0)[0xf6f314e0]
/lib32/libpthread.so.0(+0x6572)[0xf76ce572]
(/lib32/libc.so.6__libc_malloc+0x73)[0xf7a6a043]
(clone/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/32/libstdc++.so.6(_Znwj+0x27)[0xf787a0e7]
/usr/lib/llvm/6/lib32/libLLVMTarget.so.6(LLVMAddTargetLibraryInfo+0x34)[0xf5f29b04]
/usr/lib32/dri/radeonsi_dri.so(+0x5025f7)[0xf71265f7]
/usr/lib32/dri/radeonsi_dri.so(+0x4f8550)[0xf711c550]
/usr/lib32/dri/radeonsi_dri.so(+0x511a62)[0xf7135a62]
/usr/lib32/dri/radeonsi_dri.so(+0x30d4e0)[0xf6f314e0]
/lib32/libpthread.so.0(+0x6572)[0xf76ce572]
/lib32/libc.so.6(clone+0x66)[0xf7ae7e66]
======= Memory map: ========
+0x66Aborted (core dumped)


Once I compiled Mesa with debugging too everything goes back to working

CFLAGS="-O2 -march=native -ggdb"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fuse-ld=bfd"
FEATURES="${FEATURES} nostrip"
USE="debug valgrind"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170808/b64411ff/attachment-0001.html>


More information about the dri-devel mailing list