Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
12.79k stars 270 forks source link

[Bug]: Cloudpunk crashes in d3metal #336

Open lachlansneff opened 1 year ago

lachlansneff commented 1 year ago

Description

Running Cloudpunk through steam crashes once I get through the main menu.

Steps to reproduce

Install steam in Whisky 1.1.1, install cloudpunk, run cloudpunk, click continue or new game. Music will play and then the game crashes (log below).

Expected behaviour

It should not crash.

Logs

Unhandled exception: page fault on read access to 0x0000000000000010 in 64-bit code (0x0000006e614680).
Register dump:
 rip:000000006e614680 rsp:000000000ba4e600 rbp:000000000ba4e800 eflags:00000246 (   - --  I  Z- -P- )
 rax:0000000000000000 rbx:00006000009adc70 rcx:00007fa667f51128 rdx:000000000000d10b
 rsi:000000000000d10b rdi:00007fa6280b0a58  r8:0000000000000000  r9:00007fa667f00000 r10:0000000000004d07
 r11:0000000000000000 r12:00007fa6280d0000 r13:0000000000000000 r14:0000000000000000 r15:000000000ba4e8a8
Stack dump:
0x0000000ba4e600:  00007fa667f510e0 0000000000000000
0x0000000ba4e610:  00007fa6280d0000 0000000000000000
0x0000000ba4e620:  00006000009adc70 000000006e61464c
0x0000000ba4e630:  0000000000000000 000000006e613fd3
0x0000000ba4e640:  0000000000000000 0000000000000000
0x0000000ba4e650:  0000000000000000 0000000000000000
0x0000000ba4e660:  0000000000000000 0000000000000000
0x0000000ba4e670:  0000000000000000 0000000000000000
0x0000000ba4e680:  0000000000000000 0000000000000000
0x0000000ba4e690:  0000000000000000 0000000000000000
0x0000000ba4e6a0:  0000000000000000 0000000000000000
0x0000000ba4e6b0:  0000000000000000 0000000000000000
Backtrace:
=>0 0x0000006e614680 __ZN23D3D11ShaderResourceViewD2Ev+0x2a() in d3dmetal (0x0000000ba4e800)
0x0000006e614680 __ZN23D3D11ShaderResourceViewD2Ev+0x2a in d3dmetal: calll  *0x00000000000010 <wine-loader>+0x10(%rax)
Modules:
Module  Address                 Debug info  Name (105 modules)
ELF 0000000000000000-000000000000c000   Stabs           <wine-loader>
PE  0000000000e80000-000000000100a000   Deferred        gameoverlayrenderer64
PE  0000000001010000-0000000001021000   Deferred        psapi
PE  0000000004c30000-00000000068c2000   Deferred        gameassembly
PE  0000000008030000-0000000008040000   Deferred        dxgi
PE  0000000008050000-000000000806c000   Deferred        d3d11
PE  0000000008080000-0000000008096000   Deferred        xinputinterface64
PE  00000000080e0000-000000000812c000   Deferred        steam_api64
PE  0000000031e30000-0000000032617000   Deferred        gdoc
ELF 0000000068042000-0000000068046000   Deferred        <wine-loader>
PE  00000000680af000-00000000680bb000   Deferred        libwine.1.0.dylib
PE  00000000680c3000-00000000680cc000   Deferred        libffi.8.dylib
ELF 00000000680e3000-00000000681bf000   Deferred        ntdll.so
PE  0000000068478000-0000000068494000   Deferred        libd3dshared.dylib
ELF 00000000685a2000-00000000685b2000   Deferred        user32.so
ELF 00000000686ba000-00000000686ca000   Deferred        ws2_32.so
ELF 00000000686d6000-00000000686ee000   Deferred        bcrypt.so
ELF 0000000068703000-0000000068717000   Deferred        crypt32.so
ELF 0000000068724000-0000000068734000   Deferred        dnsapi.so
PE  000000006873d000-0000000068751000   Deferred        libz.1.2.13.dylib
PE  000000006876c000-0000000068781000   Deferred        libbz2.1.0.8.dylib
PE  000000006879f000-00000000687ab000   Deferred        libbrotlidec.1.0.9.dylib
PE  00000000687cb000-00000000687f7000   Deferred        libpng16.16.dylib
PE  000000006883a000-0000000068849000   Deferred        libintl.8.dylib
ELF 000000006886c000-0000000068a74000   Deferred        win32u<elf>
  \-PE  0000000068880000-0000000068a30000   \               win32u
PE  0000000068a74000-0000000068b1b000   Deferred        libfreetype.6.dylib
PE  0000000068bf9000-0000000068c1b000   Deferred        libbrotlicommon.1.0.9.dylib
PE  0000000068c23000-0000000068c33000   Deferred        libtasn1.6.dylib
PE  0000000068c55000-0000000068c87000   Deferred        libidn2.0.dylib
ELF 0000000068cc7000-0000000068e73000   Deferred        opengl32<elf>
  \-PE  0000000068cd0000-0000000068e23000   \               opengl32
PE  000000006903f000-0000000069057000   Deferred        libobjc-trampolines.dylib
PE  000000006b040000-000000006b09b000   Deferred        libnettle.8.6.dylib
PE  000000006b0f5000-000000006b145000   Deferred        libhogweed.6.6.dylib
PE  000000006b19d000-000000006b358000   Deferred        libgnutls.30.dylib
PE  000000006b54e000-000000006b6b0000   Deferred        libp11-kit.0.dylib
PE  000000006b827000-000000006b9c9000   Deferred        libunistring.5.dylib
PE  000000006ba3a000-000000006ba6e000   Deferred        libdxccontainer.dylib
PE  000000006bab8000-000000006bb36000   Deferred        libgmp.10.dylib
ELF 000000006bcc8000-000000006bcd8000   Deferred        winspool.so
PE  000000006bcf0000-000000006be01000   Deferred        libiconv.2.dylib
ELF 000000006be3c000-000000006bf1c000   Deferred        winemac<elf>
  \-PE  000000006be50000-000000006bee0000   \               winemac
ELF 000000006e47c000-000000006e498000   Deferred        winecoreaudio.so
PE  000000006e53a000-000000006e956000   Stabs           d3dmetal
PE  000000006f440000-000000006f5bc000   Deferred        coreaudio
PE  0000000071429000-0000000073c1d000   Deferred        libmetalirconverter.dylib
ELF 0000000078d7c000-0000000078d90000   Deferred        secur32.so
PE  000000007b000000-000000007b558000   Deferred        kernelbase
PE  000000007b600000-000000007b7a4000   Deferred        kernel32
PE  000000007d400000-000000007d405000   Deferred        wine64-preloader
PE  0000000138000000-0000000139607000   Deferred        steamclient64
PE  000000013b400000-000000013b44c000   Deferred        steam_api64
PE  000000013f000000-000000013f197000   Deferred        tier0_s64
PE  000000013f600000-000000013f6b3000   Deferred        vstdlib_s64
PE  0000000140000000-00000001400a3000   Deferred        cloudpunk
PE  0000000170000000-0000000170333000   Deferred        ntdll
PE  0000000180000000-000000018173d000   Deferred        unityplayer
PE  00000001c4ee0000-00000001c4fb3000   Deferred        winspool
PE  00000001c69e0000-00000001c7768000   Deferred        shell32
PE  00000001c8b40000-00000001c8bb8000   Deferred        msacm32
PE  00000001c8db0000-00000001c90c6000   Deferred        msvcrt
PE  00000001c92d0000-00000001c934e000   Deferred        winecoreaudio
PE  00000001d7cb0000-00000001d7cde000   Deferred        wsock32
PE  00000001dd3f0000-00000001dd76c000   Deferred        crypt32
PE  00000001ec2b0000-00000001ec356000   Deferred        ws2_32
PE  00000001f51e0000-00000001f5213000   Deferred        hid
PE  0000000201cf0000-0000000201d99000   Deferred        secur32
PE  000000021a7e0000-000000021a9c4000   Deferred        setupapi
PE  0000000228450000-00000002284c9000   Deferred        propsys
PE  0000000231ae0000-0000000231d71000   Deferred        rpcrt4
PE  000000023d820000-000000023deff000   Deferred        user32
PE  0000000240030000-00000002400bd000   Deferred        iphlpapi
PE  00000002419a0000-0000000241b04000   Deferred        wbemprox
PE  0000000253cc0000-0000000253cf7000   Deferred        xinput1_3
PE  000000025d740000-000000025d75f000   Deferred        dwmapi
PE  000000026b4c0000-000000026b756000   Deferred        gdi32
PE  00000002739c0000-0000000273ea5000   Deferred        oleaut32
PE  0000000274a50000-0000000274a7c000   Deferred        kerberos
PE  000000028dfa0000-000000028dfc0000   Deferred        nsi
PE  000000029cfc0000-000000029d00c000   Deferred        dnsapi
PE  00000002bc640000-00000002bc67c000   Deferred        imagehlp
PE  00000002bcfe0000-00000002bcffc000   Deferred        mswsock
PE  00000002d4d40000-00000002d4d92000   Deferred        bcrypt
PE  00000002de970000-00000002dea2d000   Deferred        rsaenh
PE  00000002e3540000-00000002e3656000   Deferred        shlwapi
PE  00000002e8f10000-00000002e9495000   Deferred        ole32
PE  00000002f1fa0000-00000002f1fc0000   Deferred        version
PE  00000002f7230000-00000002f72f0000   Deferred        uxtheme
PE  00000003126f0000-0000000312745000   Deferred        shcore
PE  0000000327020000-00000003271af000   Deferred        combase
PE  000000032a700000-000000032a7c1000   Deferred        sechost
PE  0000000330260000-000000033038e000   Deferred        advapi32
PE  0000000336850000-00000003368f4000   Deferred        mmdevapi
PE  0000000346ba0000-0000000346bee000   Deferred        jsproxy
PE  0000000358120000-0000000358250000   Deferred        winhttp
PE  0000000361860000-00000003620fb000   Deferred        windowscodecs
PE  00000003af670000-00000003af9f8000   Deferred        ucrtbase
PE  00000003afd00000-00000003afd66000   Deferred        imm32
PE  00000003b8f00000-00000003b90b9000   Deferred        winmm
PE  00000003be590000-00000003be868000   Deferred        dbghelp
PE  00007ff8032b8000-00007ff8032f4000   Deferred        libsystem_kernel.dylib
PE  00007ff8032f3000-00007ff8032ff000   Deferred        libsystem_pthread.dylib
PE  00007ff803323000-00007ff80332f000   Deferred        libsystem_platform.dylib
Threads:
process  tid      prio    name (all IDs are in hex)
00000030 services.exe
    00000034    0     
    00000038    0     
    00000044    0     
    00000080    0     
    000000a4    0     
    000000bc    0     
    000000f8    0     
0000003c winedevice.exe
    00000040    0     
    0000004c    0     
    00000050    0     
    00000054    0     
    00000058    0     
    000000c8    0     
    000007d8    0     
00000078 winedevice.exe
    0000007c    0     
    00000084    0     
    00000088    0     
    0000008c    0     
    00000090    0     
    00000094    0     
    00000098    0     
0000009c plugplay.exe
    000000a0    0     
    000000a8    0     
    000000ac    0     
    000000b0    0     
    0000020c    0     
    00000210    0     
    000002c0    0     
    000007f0    0     
    000001f0    0     
    00000514    0     
    00000518    0     
    00000be8    0     
    00000bec    0     
000000b4 svchost.exe
    000000b8    0     
    000000c0    0     
    000000c4    0     
000000dc explorer.exe
    000000e0    0     
    000000e4    0     
    000000e8    0     
000000f0 rpcss.exe
    000000f4    0     
    000000fc    0     
    00000100    0     
    00000104    0     
    00000108    0     
    0000010c    0     
    0000041c    0     
    00000aa8    0     
000001f4 steam.exe
    000001f8    0     
    000001fc    0     
    00000200    0     
    00000204    0     
    00000208    0     
    0000021c    0     
    00000220    0     
    00000228    0     
    0000023c    0     
    00000240    0     
    00000248    0     
    00000250    0     
    00000254    2     
    00000258    2     
    00000260    0     
    00000264    0     
    00000268    0     
    000002d8    0     
    000002dc    0     
    000002e0    0     
    000002ec    0     
    000002f0    2     
    000002f8    0     
    0000030c    0     
    000003b4    0     
    000003b8    0     
    000003f4    0     
    000003f8    0     
    000003fc    0     
    00000400    0     
    00000408    0     
    00000410    0     
    00000424    0     
    00000448    0     
    000005e4    0     
    00000658    0     
    000006c4    0     
    000006d8    0     
    000006f4    0     
    000006f8    0     
    00000b4c    0     
00000644 winemenubuilder.exe
    00000648    0     
00000494 steamwebhelper.exe
    00000498    0     
    0000043c    0     
    00000414    0     
    00000534    0     
    00000530    0     
    00000434    0     
    0000049c   -2     
    00000540    0     
    000002d4    0     
    00000554    0     
    00000550    0     
    00000500    0     
    00000504    0     
    000004ec    0     
    000004f8    0     
    000004fc    1     
    00000508    0     
    000004e0    0     
    0000050c    0     
    00000510    0     
    0000051c   -2     
    00000520    0     
    00000528    1     
    0000052c    0     
    000004dc   -2     
    000005e0    0     
    0000059c    0     
    00000aa4    0     
00000544 steamwebhelper.exe
    00000430    0     
    00000638    0     
    000006dc    0     
    000006d0    0     
    000006f0   -2     
    00000340    0     
    000005ec    0     
    00000634    0     
    00000674    0     
    00000a9c    0     
    00000ab4    0     
00000298 steamwebhelper.exe
    000005c8    0     
    00000700    0     
    000006b4    0     
    000006bc    0     
    00000704   -2     
    000006a8    1     
    00000670    0     
    000006a0    0     
    000006e4    0     
    00000688    1     
    00000678    0     
    000006e8    0     
    000006b8    0     
    00000684   -2     
    00000774    0     
    00000a98    0     
    00000aa0    0     
    00000ab0    0     
000005f8 steamwebhelper.exe
    000005fc    0     
    000006a4    0     
    0000066c    0     
    00000694    0     
    000006b0   -2     
    000006fc    1     
    0000067c    0     
    000006e0    0     
    00000698    0     
    000006cc    1     
    00000690    0     
    000007e4    0     
    00000728    0     
    0000072c   -2     
000005d4 steamwebhelper.exe
    000005d8    0     
    000006d4    0     
    000006c8    0     
    00000724    0     
    00000664   -2     
    00000668    1     
    00000740    0     
    00000758    0     
    0000070c    0     
    00000804    1     
    00000808    0     
    00000718    0     
    00000720    0     
    00000608   -2     
000005dc steamwebhelper.exe
    0000056c    0     
    00000800    0     
    00000748    0     
    0000074c    0     
    000007dc   -2     
    000007e0    1     
    00000710    0     
    000007c8    0     
    000007f4    0     
    00000384    1     
    00000354    0     
    00000878    0     
    0000087c    0     
    00000880   -2     
00000570 steamwebhelper.exe
    00000558    0     
    0000079c    0     
    00000840    0     
    00000844    0     
    0000084c   -2     
    00000850    1     
    0000086c    0     
    00000870    0     
    00000884    0     
    00000900    1     
    0000091c    0     
    000009b4    0     
    000009b8    0     
    000009bc   -2     
0000055c steamwebhelper.exe
    00000560    0     
    00000110    0     
    0000077c    0     
    00000784    0     
    00000788   -2     
    0000078c    1     
    00000794    0     
    00000798    0     
    000007a0    0     
    000008f4    1     
    00000904    0     
    0000097c    0     
    00000980    0     
    00000984   -2     
00000564 steamwebhelper.exe
    00000568    0     
    00000778    0     
    000007ac    0     
    000007b0    0     
    00000820   -2     
    00000828    1     
    0000082c    0     
    00000830    0     
    000008d4    0     
    00000924    1     
    00000930    0     
    00000970    0     
    00000974    0     
    00000978   -2     
00000574 steamwebhelper.exe
    0000054c    0     
    00000790    0     
    00000834    0     
    00000838    0     
    0000083c   -2     
    00000848    1     
    00000864    0     
    00000868    0     
    00000890    0     
    000008ec    1     
    00000920    0     
    000009a8    0     
    000009ac    0     
    000009b0   -2     
00000578 steamwebhelper.exe
    0000057c    0     
    00000824    0     
    000008dc    0     
    000008e0    0     
    000008e4   -2     
    000008f0    1     
    00000908    0     
    0000090c    0     
    00000928    0     
    00000954    1     
    00000964    0     
    00000a50    0     
    00000a54    0     
    00000a5c   -2     
00000580 steamwebhelper.exe
    00000584    0     
    00000888    0     
    000008ac    0     
    000008b0    0     
    000008b4   -2     
    000008b8    1     
    000008c4    0     
    000008c8    0     
    000008d0    0     
    00000940    1     
    00000948    0     
    00000a28    0     
    00000a2c    0     
    00000a34   -2     
00000588 steamwebhelper.exe
    0000058c    0     
    0000088c    0     
    0000089c    0     
    000008a0    0     
    000008a4   -2     
    000008a8    1     
    000008bc    0     
    000008c0    0     
    000008cc    0     
    0000094c    1     
    00000960    0     
    00000a30    0     
    00000a38    0     
    00000a3c   -2     
00000594 steamwebhelper.exe
    00000598    0     
    00000910    0     
    00000934    0     
    00000938    0     
    0000093c   -2     
    00000944    1     
    00000950    0     
    00000958    0     
    0000096c    0     
    00000988    1     
    0000098c    0     
    00000a68    0     
    00000a6c    0     
    00000a70   -2     
000005a0 steamwebhelper.exe
    00000548    0     
    00000874    0     
    000008d8    0     
    000008e8    0     
    000008f8   -2     
    000008fc    1     
    00000914    0     
    00000918    0     
    0000092c    0     
    0000095c    1     
    00000968    0     
    00000a58    0     
    00000a60    0     
    00000a64   -2     
00000640 steamwebhelper.exe
    0000063c    0     
    000009c0    0     
    000009cc    0     
    000009d0    0     
    000009d4   -2     
    000009d8    1     
    000009dc    0     
    000009e0    0     
    000009f4    0     
    00000a20    1     
    00000a24    0     
    00000a74    0     
    00000a78    0     
    00000a7c   -2     
00000650 steamwebhelper.exe
    0000064c    0     
    000009c4    0     
    000009e4    0     
    000009e8    0     
    000009ec   -2     
    000009f0    1     
    000009f8    0     
    000009fc    0     
    00000a10    0     
    00000a40    1     
    00000a44    0     
    00000a80    0     
    00000a84    0     
    00000a88   -2     
00000660 steamwebhelper.exe
    00000444    0     
    000009c8    0     
    00000a00    0     
    00000a04    0     
    00000a08   -2     
    00000a0c    1     
    00000a14    0     
    00000a18    0     
    00000a1c    0     
    00000a48    1     
    00000a4c    0     
    00000a8c    0     
    00000a90    0     
    00000a94   -2     
00000afc steamwebhelper.exe
    00000b00    0     
    00000b0c    0     
    00000b10    0     
    00000b18   -2     
    00000b1c    1     
    00000b20    0     
    00000b24    0     
    00000b28    0     
    00000b2c    1     
    00000b30    0     
    00000b34    0     
    00000b38    0     
    00000b3c   -2     
    00000b48    0     
00000b50 (D) C:\Program Files (x86)\Steam\steamapps\common\Cloudpunk\Cloudpunk.exe
    00000b54    0     
    00000b70    0     
    00000b74    0     
    00000b78    0     
    00000b7c    0     
    00000b80   -2     
    00000b84   -2     
    00000b88   -2     
    00000b8c   -2     
    00000b90   -2     
    00000b94   -2     
    00000b98   -2     
    00000b9c   -2     
    00000ba0   -2     
    00000ba4   -2     
    00000ba8   -2     
    00000bac   -2     
    00000bb0   -2     
    00000bb4   -2     
    00000bb8   -2     
    00000bbc   -2     
    00000bc0   -1     
    00000bc4    0     
    00000bc8    0     
    00000bcc    0 <== 
    00000bd0    0     
    00000bd4    0     
    00000be4    0     
    00000bf0   -1     
    00000bf4   -1     
    00000c00    0     
    00000c04    0     
    00000c0c    2     
    00000c10    0     
    00000c14    2     
    00000c18    2     
    00000c1c    1     
    000007d0    0     
00000b64 UnityCrashHandler64.exe
    00000b68    0     
    00000b6c    0     
000007c4 conhost.exe
    000007cc    0     
System information:
    Wine build: wine-7.7
    Platform: x86_64
    Version: Windows 10
    Host system: Darwin
    Host version: 23.0.0


### What version of Whisky are you using?

1.1.1

### What version of macOS are you using?

Sonoma (macOS 14)

### Issue Language

- [X] Yes my issue is written in English
IsaacMarovitz commented 1 year ago

@lachlansneff Can you check again in the latest version of Whisky?

deemoe404 commented 10 months ago

@lachlansneff Can you check again in the latest version of Whisky?

I can confirm that this still happen with the latest version (2.2.2)