<div dir="ltr">Seeing the source code in disassembly and the stacktrace, it appears to me that the problem is in the std:: basic_string(), not related to mesa-dev.<br><br>Although, it's strange to me the source of this include is at MSVC dir (according to VS2017) and opengl32.dll was compiled using LLVM. Maybe the problem is LLVM compilation, not the mesa-dev compilation.<div><br>Disassembly with source:<br><br> <font face="monospace, monospace"> 1922: basic_string(const basic_string& _Right)</font><br><font face="monospace, monospace"> 1923: : _Mybase(_Alty_traits::select_on_container_copy_construction(_Right._Getal()))</font><br><font face="monospace, monospace">00007FF85FBF874B 48 89 41 18 mov qword ptr [rcx+18h],rax </font><br><font face="monospace, monospace"> 1925: _Construct_lv_contents(_Right);</font><br><font face="monospace, monospace">00007FF85FBF874F 48 83 7A 18 10 cmp qword ptr [rdx+18h],10h </font><br><font face="monospace, monospace">00007FF85FBF8754 48 8B 6A 10 mov rbp,qword ptr [rdx+10h] </font><br><font face="monospace, monospace">00007FF85FBF8758 72 03 jb std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >+2Dh (07FF85FBF875Dh) </font><br><font face="monospace, monospace">00007FF85FBF875A 48 8B 32 mov rsi,qword ptr [rdx] </font><br><font face="monospace, monospace">00007FF85FBF875D 48 83 FD 10 cmp rbp,10h </font><br><font face="monospace, monospace">00007FF85FBF8761 73 27 jae std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >+5Ah (07FF85FBF878Ah) </font><br><font face="monospace, monospace">00007FF85FBF8763 C5 F8 10 06 vmovups xmm0,xmmword ptr [rsi] </font><br><font face="monospace, monospace">00007FF85FBF8767 C5 F8 11 01 vmovups xmmword ptr [rcx],xmm0 </font><br><font face="monospace, monospace">00007FF85FBF876B 48 89 69 10 mov qword ptr [rcx+10h],rbp </font><br><br><br><font face="arial, helvetica, sans-serif">Include path of source in disassembly: </font><font face="monospace, monospace">c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.11.25503\include\xstring</font><br><br><br>Stacktrace:<br><br><font face="monospace, monospace">> opengl32.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::basic_string<char,std::char_traits<char>,std::allocator<char> >(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Right) Line 1925 C++ Symbols loaded.<br> [External Code] Annotated Frame<br> opengl32.dll!_initterm(void(*)() * first, void(*)() * last) Line 16 C++ Symbols loaded.<br> [External Code] Annotated Frame<br> python36.dll!000000005e137fd8() Unknown No symbols loaded.<br> python36.dll!000000005e1376ca() Unknown No symbols loaded.<br> python36.dll!000000005e1372a1() Unknown No symbols loaded.<br> python36.dll!000000005e137217() Unknown No symbols loaded.</font></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><table width="230" border="0" style="color:rgb(33,33,33);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><tbody><tr><td width="82" height="80" align="left"><a title="MiningMath Associates" href="http://www.miningmath.com/component/content/article/4.html?src=ass&mdm=email&cpn=FAC#Fabrício+Ceolin" style="color:rgb(126,87,194);outline:transparent solid 1px" target="_blank"><img width="82" height="80" border="0" alt="MiningMath Associates" src="http://www.miningmath.com/divulgacao/elogo.png"></a></td><td width="148" height="80" align="center"><font face="tahoma, sans-serif" color="#1D3E77" size="2pt"><b>Fabrício Ceolin</b></font><br><a title="tel:+55 (31) 8675-1359" style="color:rgb(51,103,214)"><font face="tahoma, sans-serif" color="#1D3E77" size="2pt">+55 (31) 98675-1359</font></a><br><a title="MiningMath Associates" href="http://www.miningmath.com/?src=ass&mdm=email&cpn=FAC" style="color:rgb(126,87,194)" target="_blank"><font face="tahoma, sans-serif" color="#1D3E77" size="2pt">MiningMath Associates</font></a><br><font face="tahoma, sans-serif" color="#1D3E77" size="2pt"><a title="www.miningmath.com" href="http://www.miningmath.com/?src=ass&mdm=email&cpn=FAC" style="color:rgb(126,87,194)" target="_blank">www.miningmath.com</a><br></font></td></tr></tbody></table></div><div><br><br></div></div></div></div>
<br><div class="gmail_quote">2017-10-25 20:55 GMT-02:00 Roland Scheidegger <span dir="ltr"><<a href="mailto:sroland@vmware.com" target="_blank">sroland@vmware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am 26.10.2017 um 00:26 schrieb Ilia Mirkin:<br>
> On Wed, Oct 25, 2017 at 6:15 PM, Fabrício Ceolin<br>
</span>> <<a href="mailto:fabricio.ceolin@miningmath.com">fabricio.ceolin@miningmath.<wbr>com</a> <mailto:<a href="mailto:fabricio.ceolin@miningmath.com">fabricio.ceolin@<wbr>miningmath.com</a>>><br>
<div><div class="h5">> wrote:<br>
><br>
> Hi,<br>
><br>
> Thanks. I recompiled everything (on Windows) using this real machine:<br>
><br>
> #under msys2<br>
> $ cat /proc/cpuinfo<br>
> processor : 0<br>
> vendor_id : GenuineIntel<br>
> cpu family : 6<br>
> model : 23<br>
> model name : Genuine Intel(R) CPU U2300 @ 1.20GHz<br>
> stepping : 10<br>
> cpu MHz : 1197.000<br>
> cache size : 1024 KB<br>
> physical id : 0<br>
> siblings : 2<br>
> core id : 0<br>
> cpu cores : 2<br>
> apicid : 0<br>
> initial apicid : 0<br>
> fpu : yes<br>
> fpu_exception : yes<br>
> cpuid level : 13<br>
> wp : yes<br>
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr<br>
> pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm<br>
> pbe pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave<br>
> osxsave lahf_lm dtherm<br>
> clflush size : 64<br>
> cache_alignment : 64<br>
> address sizes : 36 bits physical, 48 bits virtual<br>
> power management:<br>
><br>
> but I got the same error:<br>
><br>
> 00007FF85FBF874F 48 83 7A 18 10 cmp qword ptr<br>
> [rdx+18h],10h <br>
> 00007FF85FBF8754 48 8B 6A 10 mov rbp,qword ptr<br>
> [rdx+10h] <br>
> 00007FF85FBF8758 72 03 jb <br>
> std::basic_string<char,std::<wbr>char_traits<char>,std::<wbr>allocator<char><br>
> >::basic_string<char,std::<wbr>char_traits<char>,std::<wbr>allocator<char><br>
> >+2Dh (07FF85FBF875Dh) <br>
> 00007FF85FBF875A 48 8B 32 mov rsi,qword ptr [rdx] <br>
> 00007FF85FBF875D 48 83 FD 10 cmp rbp,10h <br>
> 00007FF85FBF8761 73 27 jae <br>
> std::basic_string<char,std::<wbr>char_traits<char>,std::<wbr>allocator<char><br>
> >::basic_string<char,std::<wbr>char_traits<char>,std::<wbr>allocator<char><br>
> >+5Ah (07FF85FBF878Ah) <br>
</div></div>> *00007FF85FBF8763 C5 F8 10 06 vmovups xmm0,xmmword ptr<br>
> [rsi] *<br>
<span class="">> 00007FF85FBF8767 C5 F8 11 01 vmovups xmmword ptr<br>
> [rcx],xmm0 <br>
> 00007FF85FBF876B 48 89 69 10 mov qword ptr<br>
> [rcx+10h],rbp<br>
><br>
> Are there any parameters that I can use for avoid to use AVX (or<br>
> better) instructions?<br>
><br>
><br>
> LP_NATIVE_VECTOR_WIDTH=128 should force you to a non-avx path. There's<br>
> also a LP_FORCE_SSE2=1 which will also avoid sse3/4 usage. However all<br>
> this stuff should be getting detected, so it's odd that it's messing up.<br>
> Perhaps run with GALLIUM_DUMP_CPU=1 to see what's being detected?<br>
><br>
<br>
</span>Also, a backtrace when it crashes would be nice. I am not convinced this<br>
is actually happening inside a code-generated shader...<br>
<span class="HOEnZb"><font color="#888888"><br>
Roland<br>
<br>
<br>
</font></span></blockquote></div><br></div>