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]: Can't open a new game and my existing working game wont launch either #862

Open yasomse opened 8 months ago

yasomse commented 8 months ago

Description

whisky prompted me to update gptk and I did, now a fresh game install completes but game wont launch, and my older existing game (previously working with great performance) wont launch either. I get a black wine debugger window open and with it an error log. One line caught my attention and its this: Unable to access file 'Z:\private\tmp\game-porting-toolkit-20240310-16393-59k1b9\wine\dlls\kernelbase\debug.c'

Steps to reproduce

Install whisky Install game using setup.exe Launch game

Expected behaviour

The games would launch as previously

Logs

Unhandled exception: 0xe0434352 in 64-bit code (0x0000007b01376e).
Register dump:
 rip:000000007b01376e rsp:00000000006dde50 rbp:00000000006decf9 eflags:00000206 (   - --  I   - -P- )
 rax:00000000006dde90 rbx:000000000005f760 rcx:00000000006dde70 rdx:0000000000000001
 rsi:00000000006de020 rdi:00000000006ddeb8  r8:0000000000000005  r9:00000000006ddff8 r10:0000000000000059
 r11:00000644800321d0 r12:0000000000000005 r13:00000000006ddff8 r14:00000000e0434352 r15:000000000005f760
Stack dump:
0x000000006dde50:  00000000006dde70 0000000000000000
0x000000006dde60:  ffffffff00000008 0000000000000000
0x000000006dde70:  00000001e0434352 0000000000000000
0x000000006dde80:  000000007b01376e 0000064400000005
0x000000006dde90:  ffffffff80131534 0000000000000000
0x000000006ddea0:  0000000000000000 0000000000000000
0x000000006ddeb0:  000006447f100000 000006447f101079
0x000000006ddec0:  0000000000000000 000000000005f760
0x000000006dded0:  00000000006de0e8 0000064400000001
0x000000006ddee0:  0000000000000000 00000644800321d0
0x000000006ddef0:  0000000000000059 000006447f1d1010
0x000000006ddf00:  00000000006ddfd0 0000000000000001
Backtrace:
=>0 0x0000007b01376e RaiseException+0x46(code=<internal error>, flags=<internal error>, count=<is not available>, args=<internal error>) [Z:\private\tmp\game-porting-toolkit-20240310-16393-59k1b9\wine\dlls\kernelbase\debug.c:302] in kernelbase (0x000000006decf9)
  1 0x0006447f206e39 EntryPoint+0x2fb19() in clr (0x000000006decf9)
  2 0x0006447f59bfb4 EntryPoint+0x3c4c94() in clr (0x000000006decf9)
  3 0x0006447f59c906 EntryPoint+0x3c55e6() in clr (0x000000006decf9)
  4 0x0006447f61b99b EntryPoint+0x44467b() in clr (0x000000006decf9)
  5 0x0006447f61b9a9 EntryPoint+0x444689() in clr (0x000000006decf9)
  6 0x0006447f522eb4 EntryPoint+0x34bb94() in clr (0x000000006decf9)
  7 0x0006447f143470 CoUninitializeEE+0x3f730() in clr (0x000000006decf9)
  8 0x0006447f26b848 EntryPoint+0x94528() in clr (0x000000006decf9)
0x0000007b01376e RaiseException+0x46 [Z:\private\tmp\game-porting-toolkit-20240310-16393-59k1b9\wine\dlls\kernelbase\debug.c:302] in kernelbase: nop    
Unable to access file 'Z:\private\tmp\game-porting-toolkit-20240310-16393-59k1b9\wine\dlls\kernelbase\debug.c'
Modules:
Module  Address                 Debug info  Name (73 modules)
ELF 0000000000000000-00000000001bb000   Deferred        <wine-loader>
PE  0000000000400000-00000000005d6000   Deferred        pirates online launcher
PE  000000001a4b0000-000000001a96e000   Deferred        mscorlib
PE  000000001b540000-000000001bb52000   Deferred        presentationframework
PE  000000001bb60000-000000001bca2000   Deferred        windowsbase
PE  000000001bcb0000-000000001bd60000   Deferred        system.xaml
PE  000000001bd60000-000000001c0b0000   Deferred        presentationcore
PE  000000001c0b0000-000000001c406000   Deferred        system
PE  0000000055600000-0000000055950000   Deferred        presentationcore
PE  0000000056980000-0000000056f92000   Deferred        presentationframework
PE  0000000058c20000-0000000058d62000   Deferred        windowsbase
PE  0000000059200000-00000000592b0000   Deferred        system.xaml
ELF 0000000068036000-000000006803a000   Deferred        <wine-loader>
PE  00000000680a3000-00000000680af000   Deferred        libwine.1.0.dylib
ELF 00000000680db000-00000000681cb000   Deferred        ntdll.so
PE  0000000068468000-0000000068484000   Deferred        libd3dshared.dylib
ELF 0000000068892000-00000000688a2000   Deferred        user32.so
PE  00000000688aa000-00000000688be000   Deferred        libz.1.2.13.dylib
PE  00000000688d9000-00000000688ee000   Deferred        libbz2.1.0.8.dylib
PE  000000006890c000-0000000068918000   Deferred        libbrotlidec.1.0.9.dylib
PE  0000000068938000-0000000068964000   Deferred        libpng16.16.dylib
PE  00000000689a8000-00000000689ca000   Deferred        libbrotlicommon.1.0.9.dylib
ELF 0000000068a5c000-0000000068c64000   Deferred        win32u<elf>
  \-PE  0000000068a70000-0000000068c20000   \               win32u
ELF 0000000068e79000-0000000068e91000   Deferred        bcrypt.so
PE  0000000068e9f000-0000000068ea8000   Deferred        libffi.8.dylib
PE  0000000068eb8000-0000000068f5f000   Deferred        libfreetype.6.dylib
ELF 000000006af4e000-000000006b02e000   Deferred        winemac<elf>
  \-PE  000000006af60000-000000006aff2000   \               winemac
ELF 000000006c8c2000-000000006c8d6000   Deferred        crypt32.so
PE  000000006c8e3000-000000006c8f2000   Deferred        libintl.8.dylib
PE  000000006c906000-000000006c916000   Deferred        libtasn1.6.dylib
PE  000000006c938000-000000006c96a000   Deferred        libidn2.0.dylib
PE  000000006c9dd000-000000006ca38000   Deferred        libnettle.8.6.dylib
PE  000000006ce4c000-000000006cfae000   Deferred        libp11-kit.0.dylib
PE  000000006d125000-000000006d175000   Deferred        libhogweed.6.6.dylib
PE  000000006d2c5000-000000006d467000   Deferred        libunistring.5.dylib
PE  000000006d4d8000-000000006d556000   Deferred        libgmp.10.dylib
PE  000000006d5ff000-000000006d710000   Deferred        libiconv.2.dylib
PE  000000007a820000-000000007ab76000   Deferred        system
PE  000000007b000000-000000007b558000   Dwarf-4-5       kernelbase
PE  000000007b600000-000000007b7a4000   Deferred        kernel32
PE  000000007c000000-000000007c4be000   Deferred        mscorlib
PE  000000007d400000-000000007d405000   Deferred        wine64-preloader
PE  0000000170000000-0000000170333000   Deferred        ntdll
PE  00000001c8db0000-00000001c90c6000   Deferred        msvcrt
PE  00000001dd3f0000-00000001dd76c000   Deferred        crypt32
PE  0000000231ae0000-0000000231d71000   Deferred        rpcrt4
PE  000000023d820000-000000023df01000   Deferred        user32
PE  000000026b4c0000-000000026b756000   Deferred        gdi32
PE  00000002739c0000-0000000273ea5000   Deferred        oleaut32
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  00000003af670000-00000003af9f8000   Deferred        ucrtbase
PE  00000003afd00000-00000003afd66000   Deferred        imm32
PE  0000000516f00000-0000000516fea000   Deferred        diasymreader
PE  000006427ee50000-000006427eebf000   Deferred        mscoree
PE  000006447f100000-000006447fa65000   Export          clr
PE  000006447faf0000-000006447fc67000   Deferred        clrjit
PE  000006447fd00000-000006447fdd1000   Deferred        msvcr100_clr0400
PE  00000644ff540000-00000644ff5d0000   Deferred        mscoreei
PE  00000644ffae0000-00000644ffaf4000   Deferred        nlssorting
PE  00007ff809127000-00007ff809162000   Deferred        libsystem_kernel.dylib
PE  00007ff809162000-00007ff80916e000   Deferred        libsystem_pthread.dylib
PE  00007ff809193000-00007ff80919e000   Deferred        libsystem_platform.dylib
Threads:
process  tid      prio    name (all IDs are in hex)
00000030 services.exe
    00000034    0     
    00000038    0     
    00000044    0     
    0000005c    0     
    00000078    0     
    0000009c    0     
    000000b0    0     
    000000e8    0     
    000000ec    0     
0000003c svchost.exe
    00000040    0     
    0000004c    0     
    00000050    0     
00000054 winedevice.exe
    00000058    0     
    00000060    0     
    00000064    0     
    00000068    0     
    0000006c    0     
    000000ac    0     
00000070 winedevice.exe
    00000074    0     
    0000007c    0     
    00000080    0     
    00000084    0     
    00000088    0     
    0000008c    0     
    00000090    0     
00000094 plugplay.exe
    00000098    0     
    000000a0    0     
    000000a4    0     
    000000a8    0     
000000bc (D) C:\Program Files (x86)\Pirates Online\Pirates Online Launcher.exe
    000000c0    0 <== 
    000000c4    0     
    000000c8    2     
    00000118    0     
000000cc explorer.exe
    000000d0    0     
    000000d4    0     
    000000d8    0     
000000e0 rpcss.exe
    000000e4    0     
    000000f0    0     
    000000f4    0     
    000000f8    0     
    000000fc    0     
    00000100    0     
00000110 conhost.exe
    00000114    0     
System information:
    Wine build: wine-7.7
    Platform: x86_64
    Version: Windows 10
    Host system: Darwin
    Host version: 23.4.0

What version of Whisky are you using?

2.2.3

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

HealsCodes commented 8 months ago

I can reproduce this on a fresh Whisky 2.2.3 install, Sonoma 14.4. with anything I launch from within Whiskey - going as far as making me unable to install any applications because the installer runs into this issue.

Giving things a closer look it seems that the problem is always a debug interrupt (without much extra context to discern what caused it or from where, here's a sample from trying to launch the heroic installer)