https://bugs.winehq.org/show_bug.cgi?id=39019
--- Comment #3 from philippe.groarke@gmail.com --- So indeed, this is a duplicate of the mipmap memory bug.
Editing wined3d/resource.c, wined3d_resource_allocate_sysmem like so: if (!(mem = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, resource->size * 2 + 15))) temporarily "fixes" the crash.
I will still provide what resembles like the correct backtraces for the crash. I ended up using a neat dtrace command to log the backtraces.
I have attached the full log: sudo dtrace -n 'proc:::signal-handle /pid == $target/ { ustack(); }' -p <process ID>
And a filtered log (which ignores SIGUSR1): sudo dtrace -n 'proc:::signal-handle /pid == $target && args[0] != SIGUSR1/ { printf("signal %d\n", args[0]); ustack(); }' -p <process ID>
Of interest:
0 1177 sendsig:signal-handle signal 11
libsystem_platform.dylib`_platform_memmove$VARIANT$sse42+0x9c msvcr100.dll.so`MSVCRT_memcpy+0x26 wine`__wine_dos+0x1282c24