[MacOS] Patcher from DMG still seems to use AVX2

Hardware: Mid-2011 MBP with a CPU that supports AVX but not AVX2.
OS: macOS Catalina 10.15.7 in a qemu Virtual Machine with host CPU passthrough running on Fedora Linux as macOS natively refuses to upgrade past 10.13.

hw.optional.avx1_0: 1
hw.optional.avx2_0: 0

When launching the patcher it shows a window, downloads some data and attempts to restart. It crashes with a SIGILL shortly thereafter. The faulting instruction is like earlier crashes a vextracti128 with YMM registers which I believe is from AVX2. I do not know if this is the same part of the code that used to crash before, which was in the SHA256 implementation.

Running under a debugger (with SIP disabled)
https://gist.github.com/zao/127b6000052a0142c9aa87efd6755528:
"
lars@Larss-iMac ~ % lldb /Applications/Path\ of\ Exile.app/Contents/MacOS/Path\ of\ Exile
(lldb) target create "/Applications/Path of Exile.app/Contents/MacOS/Path of Exile"
Current executable set to '/Applications/Path of Exile.app/Contents/MacOS/Path of Exile' (x86_64).
(lldb) r
Process 754 launched: '/Applications/Path of Exile.app/Contents/MacOS/Path of Exile' (x86_64)
2021-01-23 21:32:45.469957+0100 Path of Exile[754:11435] Path of Exile root: /Users/lars/Library/Application Support/Path of Exile/
2021-01-23 21:32:45.470467+0100 Path of Exile[754:11435] Path of Exile cache: /Users/lars/Library/Caches/com.GGG.PathOfExile/
2021-01-23 21:32:45.470814+0100 Path of Exile[754:11435] Path of Exile preferences: /Users/lars/Library/Application Support/Path of Exile/Preferences/
2021-01-23 21:32:45.471128+0100 Path of Exile[754:11435] Path of Exile folder set to /Users/lars/Library/Application Support/Path of Exile
2021-01-23 21:32:55.549474+0100 Path of Exile[754:11585] Patching from patch.pathofexile.com:12995...
2021/01/23 21:32:55 821239622 [I Path of Exile 754] Send patching protocol version 6
2021/01/23 21:32:55 821239679 [I Path of Exile 754] Web root: http://patchcdn.pathofexile.com/3.13.0.3/
2021/01/23 21:32:55 821239679 [I Path of Exile 754] Backup Web root: http://patchcdn.pathofexile.com/3.13.0.3/
2021/01/23 21:32:55 821239679 [I Path of Exile 754] Requesting root contents 1
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Got file list for "" 0
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Requesting folder Art 1
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Requesting folder ShaderCacheVulkan.packed 2
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Requesting folder Bundles2 3
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Requesting folder Audio 4
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Requesting folder Bundles 5
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Requesting folder FMOD 6
2021/01/23 21:32:55 821239715 [I Path of Exile 754] Queue file to download: update.dat~167491
2021/01/23 21:32:55 821239716 [I Path of Exile 754] Updating client executable and restarting.
Unable to create basic Accelerated OpenGL renderer.
Unable to create basic Accelerated OpenGL renderer.
Core Image is now using the software OpenGL renderer. This will be slow.
Process 754 stopped
* thread #11, stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
frame #0: 0x0000000100157324 Path of Exile`___lldb_unnamed_symbol1353$$Path of Exile + 180
Path of Exile`___lldb_unnamed_symbol1353$$Path of Exile:
-> 0x100157324 <+180>: vextracti128 $0x1, %ymm0, %xmm1
0x10015732a <+186>: vpextrd $0x3, %xmm1, %r15d
0x100157330 <+192>: vpextrd $0x2, %xmm1, %esi
0x100157336 <+198>: vpextrd $0x1, %xmm1, %r10d
Target 0: (Path of Exile) stopped.
(lldb) bt
* thread #11, stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
* frame #0: 0x0000000100157324 Path of Exile`___lldb_unnamed_symbol1353$$Path of Exile + 180
frame #1: 0x0000000100157228 Path of Exile`___lldb_unnamed_symbol1352$$Path of Exile + 264
frame #2: 0x0000000100156fa5 Path of Exile`___lldb_unnamed_symbol1349$$Path of Exile + 85
frame #3: 0x0000000100157086 Path of Exile`___lldb_unnamed_symbol1350$$Path of Exile + 54
frame #4: 0x000000010091a94d Path of Exile`___lldb_unnamed_symbol24754$$Path of Exile + 397
frame #5: 0x000000010082d378 Path of Exile`___lldb_unnamed_symbol21069$$Path of Exile + 232
frame #6: 0x000000010082d238 Path of Exile`___lldb_unnamed_symbol21068$$Path of Exile + 392
frame #7: 0x000000010083c990 Path of Exile`___lldb_unnamed_symbol21086$$Path of Exile + 16
frame #8: 0x00007fff7021e109 libsystem_pthread.dylib`_pthread_start + 148
frame #9: 0x00007fff70219b8b libsystem_pthread.dylib`thread_start + 15
(lldb)
Last bumped on Jan 23, 2021, 3:54:08 PM
This thread has been automatically archived. Replies are disabled.

Report Forum Post

Report Account:

Report Type

Additional Info