https://bugs.winehq.org/show_bug.cgi?id=47649
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #1 from Paul Gofman gofmanp@gmail.com --- Looks very similar to Bug #47633. I don't have the program to test, but:
- The crash address is inside stack, after call to SetProcessWorkingSetSize(); - SetProcessWorkingSetSize() got DECLSPEC_HOTPATCH attribute lately (commit 09f588ee6909369b541398dd392d3ff77231e6a6), and is stub similar to SetThreadStackGuarantee() concerned by Bug #47633; - I can see the same problem in compiled SetProcessWorkingSetSize() in my local build:
--- 7125f7d0 _SetProcessWorkingSetSizeEx@16: 7125f7d0: 8b ff mov %edi,%edi
7125f7d2: 55 push %ebp 7125f7d3: 8b ec mov %esp,%ebp 7125f7d5: f6 05 5c e0 27 71 04 testb $0x4,0x7127e05c 7125f7dc: 75 12 jne 7125f7f0 <_SetProcessWorkingSetSizeEx@16+0x20> 7125f7de: b8 01 00 00 00 mov $0x1,%eax
; stack top is saved ebp here, missing 'add $0x4, %esp' or similar
7125f7e3: c2 10 00 ret $0x10 7125f7e6: 8d 76 00 lea 0x0(%esi),%esi .... ---
So ultimately it looks like a duplicate of Bug #47633, the root cause is the same but the commit that triggered compiler bug here is different.