<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/96270>96270</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
asan does not work in wine.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
trcrsired
</td>
</tr>
</table>
<pre>
```
cqwrteur@otsiningo:~/Libraries/fast_io/examples/0007.legacy$ wine ./construct_fstream_from_syscall.exe
==1344==interception_win: unhandled instruction at 0x6fffffa6c714: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6fffffa6c714: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6fffffa6fedc: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6fffffa6fedc: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6fffffa6f024: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6fffffa6f024: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6ffffeb02070: 48 89 c8 0f b6 d2 48 b9
==1344==interception_win: unhandled instruction at 0x6ffffeb02070: 48 89 c8 0f b6 d2 48 b9
==1344==interception_win: unhandled instruction at 0x6fffffc89280: 48 89 c8 0f b6 d2 48 b9
==1344==interception_win: unhandled instruction at 0x6fffffc89280: 48 89 c8 0f b6 d2 48 b9
==1344==interception_win: unhandled instruction at 0x6ffffeb00370: 80 39 00 74 1b 48 89 c8
==1344==interception_win: unhandled instruction at 0x6ffffeb00370: 80 39 00 74 1b 48 89 c8
==1344==interception_win: unhandled instruction at 0x6fffffc89740: 80 39 00 74 1b 48 89 c8
==1344==interception_win: unhandled instruction at 0x6fffffc89740: 80 39 00 74 1b 48 89 c8
==1344==interception_win: unhandled instruction at 0x6ffffeb003a0: 48 89 d0 48 85 d2 74 1b
==1344==interception_win: unhandled instruction at 0x6ffffeb003a0: 48 89 d0 48 85 d2 74 1b
==1344==interception_win: unhandled instruction at 0x6fffffc899f0: 4c 8d 04 11 48 89 c8 48
==1344==interception_win: unhandled instruction at 0x6fffffc899f0: 4c 8d 04 11 48 89 c8 48
==1344==interception_win: unhandled instruction at 0x6ffffeb021f0: 0f b6 01 84 c0 75 1c eb
==1344==interception_win: unhandled instruction at 0x6ffffeb021f0: 0f b6 01 84 c0 75 1c eb
==1344==interception_win: unhandled instruction at 0x6fffffc895e0: 0f b6 01 84 c0 75 2c eb
==1344==interception_win: unhandled instruction at 0x6fffffc895e0: 0f b6 01 84 c0 75 2c eb
==1344==interception_win: unhandled instruction at 0x6ffffeb02250: 45 31 c9 4d 85 c0 74 41
==1344==interception_win: unhandled instruction at 0x6ffffeb02250: 45 31 c9 4d 85 c0 74 41
==1344==interception_win: unhandled instruction at 0x6fffffc89880: 31 c0 4d 85 c0 74 3d 49
==1344==interception_win: unhandled instruction at 0x6fffffc89880: 31 c0 4d 85 c0 74 3d 49
==1344==interception_win: unhandled instruction at 0x6fffffc89b10: 80 39 00 74 54 66 66 2e
==1344==interception_win: unhandled instruction at 0x6fffffc89b10: 80 39 00 74 54 66 66 2e
==1344==interception_win: unhandled instruction at 0x6ffffeb02160: 48 89 c8 eb 13 66 66 2e
==1344==interception_win: unhandled instruction at 0x6ffffeb02160: 48 89 c8 eb 13 66 66 2e
==1344==interception_win: unhandled instruction at 0x6fffffc895b0: 48 89 c8 eb 13 66 66 2e
==1344==interception_win: unhandled instruction at 0x6fffffc895b0: 48 89 c8 eb 13 66 66 2e
==1344==interception_win: unhandled instruction at 0x6ffffeb02190: 45 31 c0 66 66 2e 0f 1f
==1344==interception_win: unhandled instruction at 0x6ffffeb02190: 45 31 c0 66 66 2e 0f 1f
==1344==interception_win: unhandled instruction at 0x6fffffc89a80: 45 31 c0 66 66 2e 0f 1f
==1344==interception_win: unhandled instruction at 0x6fffffc89a80: 45 31 c0 66 66 2e 0f 1f
==1344==interception_win: unhandled instruction at 0x6ffffeb026d0: 44 0f b6 11 45 84 d2 74
==1344==interception_win: unhandled instruction at 0x6ffffeb026d0: 44 0f b6 11 45 84 d2 74
==1344==interception_win: unhandled instruction at 0x6fffffc89ac0: 44 0f b6 11 45 84 d2 74
==1344==interception_win: unhandled instruction at 0x6fffffc89ac0: 44 0f b6 11 45 84 d2 74
==1344==interception_win: unhandled instruction at 0x6fffffc896e0: 44 0f b6 11 45 84 d2 74
==1344==interception_win: unhandled instruction at 0x6fffffc896e0: 44 0f b6 11 45 84 d2 74
==1344==interception_win: unhandled instruction at 0x6ffffeb02730: 44 0f b6 09 45 84 c9 74
==1344==interception_win: unhandled instruction at 0x6ffffeb02730: 44 0f b6 09 45 84 c9 74
==1344==interception_win: unhandled instruction at 0x6fffffc89a20: 44 0f b6 09 45 84 c9 74
==1344==interception_win: unhandled instruction at 0x6fffffc89a20: 44 0f b6 09 45 84 c9 74
==1344==interception_win: unhandled instruction at 0x6ffffeb021c0: 48 89 c8 4d 85 c0 74 18
==1344==interception_win: unhandled instruction at 0x6ffffeb021c0: 48 89 c8 4d 85 c0 74 18
==1344==interception_win: unhandled instruction at 0x6fffffc89120: 48 89 c8 4d 85 c0 74 18
==1344==interception_win: unhandled instruction at 0x6fffffc89120: 48 89 c8 4d 85 c0 74 18
==1344==interception_win: unhandled instruction at 0x6ffffeb1b9a0: 66 83 39 00 74 22 48 89
==1344==interception_win: unhandled instruction at 0x6ffffeb1b9a0: 66 83 39 00 74 22 48 89
==1344==interception_win: unhandled instruction at 0x6fffffc99840: 66 83 39 00 74 22 48 89
==1344==interception_win: unhandled instruction at 0x6fffffc99840: 66 83 39 00 74 22 48 89
==1344==interception_win: unhandled instruction at 0x6ffffeb1b760: 48 89 d0 48 85 d2 74 2c
==1344==interception_win: unhandled instruction at 0x6ffffeb1b760: 48 89 d0 48 85 d2 74 2c
==1344==interception_win: unhandled instruction at 0x6fffffc99ce0: 48 89 c8 48 85 d2 75 12
==1344==interception_win: unhandled instruction at 0x6fffffc99ce0: 48 89 c8 48 85 d2 75 12
==1344==interception_win: unhandled instruction at 0x6ffffeaffcd0: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6ffffeaffcd0: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6fffffc894e0: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6fffffc894e0: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6ffffeaffab0: 45 31 c0 48 89 c8 66 2e
==1344==interception_win: unhandled instruction at 0x6ffffeaffab0: 45 31 c0 48 89 c8 66 2e
==1344==interception_win: unhandled instruction at 0x6fffffc89650: 45 31 c0 48 89 c8 66 2e
==1344==interception_win: unhandled instruction at 0x6fffffc89650: 45 31 c0 48 89 c8 66 2e
==1344==interception_win: unhandled instruction at 0x6ffffeaffe60: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6ffffeaffe60: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6fffffc89770: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6fffffc89770: 80 39 00 48 89 c8 49 89
==1344==interception_win: unhandled instruction at 0x6ffffeaff8d0: 45 31 c9 48 89 c8 4d 85
==1344==interception_win: unhandled instruction at 0x6ffffeaff8d0: 45 31 c9 48 89 c8 4d 85
==1344==interception_win: unhandled instruction at 0x6fffffc898e5: 48 89 cb 4d 85 c0 75 23
==1344==interception_win: unhandled instruction at 0x6ffffeafd8c5: 48 89 cb 48 85 c9 74 4b
==1344==interception_win: unhandled instruction at 0x6ffffeb00734: 45 31 c9 31 d2 41 b8 0a
==1344==interception_win: unhandled instruction at 0x6ffffeb00814: 45 31 c9 31 d2 41 b8 0a
==1344==interception_win: unhandled instruction at 0x6ffffeb00880: 45 31 c9 41 b8 0a 00 00
==1344==interception_win: unhandled instruction at 0x6ffffeb00880: 45 31 c9 41 b8 0a 00 00
==1344==interception_win: unhandled instruction at 0x6ffffeb008e4: 45 31 c9 e8 e4 fa ff ff
==1344==interception_win: unhandled instruction at 0x6fffffc8a1f3: 49 89 c9 49 89 d3 41 83
==1344==interception_win: unhandled instruction at 0x6ffffeb006c0: 45 31 c9 e9 08 fd ff ff
==1344==interception_win: unhandled instruction at 0x6ffffeb006c0: 45 31 c9 e9 08 fd ff ff
==1344==interception_win: unhandled instruction at 0x6ffffead5250: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6ffffead5270: 31 d2 49 89 c8 48 8b 0d
==1344==interception_win: unhandled instruction at 0x6ffffead51c0: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6ffffead5330: 48 8d a4 24 00 00 00 00
==1344==interception_win: unhandled instruction at 0x6ffffead4de0: 49 89 d0 48 89 ca b9 10
=================================================================
AddressSanitizer: CHECK failed: asan_win.cpp:256 "((tsd_key_inited)) != (0)" (0x0, 0x0) (tid=1348)
<empty stack>
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzcms1uqzgbx6_G2Tw6kb8Ae5FF3_ZErzSzmwuIjP3Qeg6BDHZO21nMtY9s0jbp6OwoElRWcQjhh__8bT_-MCH4xw5xR4r_keJhY87xqR92cbBD8AO6Td271x0p6SXRB0Lv7F_PQ8TzQCTtY_Cd7x57Iu7-IXz_u68HM3gMhO8bE-LB94Tv8cUcT20-SSmtti0-GvtKuIRn3yFsCd_bvgtxONt4aEIc0BwPzdAfD-E1WNO2W3xBGOFEPBDxwISUY853EQeLp-j77vDsOyLu4Nw9mc616MBf7ur7DkwE-lI26c-UtmIyXSoVKAdGApdA6XtaLKtBZ1fJonw-DediYU05regbS4NVQBuoS3A8nan1MlmNVZqr9bGwplSMGioKQic_VBJY_Y5eJitpWMn1sbKG5sobjuZMkbyRoctkJQ11M7JsaqOoBMY-_C8nfl9zsVIbxUbWWIUpAyXBUqgKYBZw2vc1GytpWOAvWHy5rKQhL0ZvFCAYWA3SJc_bXKklWyY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