Whisky-App / Whisky

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

[Bug]: Rockstar Social Club crash #75

Closed HongyuS closed 1 year ago

HongyuS commented 1 year ago

Description

Rockstar Social Club doesn't work on both Whisky and GPTK from brew.

Logs ``` Unhandled exception: page fault on read access to 0x0000000000000010 in 64-bit code (0x000001830aabbf). Register dump: rip:00000001830aabbf rsp:000000000011c730 rbp:00000000085aa438 eflags:00000202 ( - -- I - - - ) rax:00005f9e3bed841e rbx:0000000000000001 rcx:00000000085aa420 rdx:0000000000000000 rsi:00000000085aa420 rdi:0000000000000000 r8:0000000000000000 r9:00000001879d53b0 r10:0000000000a40138 r11:0000000000b50000 r12:000000003f010001 r13:0000000000000190 r14:0000000000000000 r15:0000000000000000 Stack dump: 0x0000000011c730: 00005f9e3bed8501 0000000000050190 0x0000000011c740: 0000000000000000 0000000000000000 0x0000000011c750: 0000000000000000 000000018236eb79 0x0000000011c760: 00005f9e3bed841e 0000000000000000 0x0000000011c770: 00000001879d53b0 00000001808afda0 0x0000000011c780: 00000000085aa438 00005f9e3bed841e 0x0000000011c790: 0000000000000000 00000000085aa420 0x0000000011c7a0: 000000000000000c 0000000000000000 0x0000000011c7b0: 000000000011ca00 00000001830aafc2 0x0000000011c7c0: 00000000085aa500 0000000000000000 0x0000000011c7d0: 0000000000000038 0000000000000002 0x0000000011c7e0: 000000000011c96f 00000000085aa4b0 Backtrace: =>0 0x000001830aabbf CrashForExceptionInNonABICompliantCodeRange+0x15a31af() in libcef (0x000000085aa438) 1 0x000001830aafc2 CrashForExceptionInNonABICompliantCodeRange+0x15a35b2() in libcef (0x000000085aa438) 2 0x000001830aadb0 CrashForExceptionInNonABICompliantCodeRange+0x15a33a0() in libcef (0x0000000011ca08) 3 0x000001830ac0a0 CrashForExceptionInNonABICompliantCodeRange+0x15a4690() in libcef (0x0000000011cb01) 4 0x00000182754543 CrashForExceptionInNonABICompliantCodeRange+0xc4cb33() in libcef (0x0000000011cb70) 5 0x000001827546b3 CrashForExceptionInNonABICompliantCodeRange+0xc4cca3() in libcef (0x000000fffffff4) 6 0x00000182754100 CrashForExceptionInNonABICompliantCodeRange+0xc4c6f0() in libcef (0x000000085a9890) 7 0x00000180ea8df0 cef_add_cross_origin_whitelist_entry+0xea7516() in libcef (0x000000085a9890) 8 0x00000180ea8d27 cef_add_cross_origin_whitelist_entry+0xea744d() in libcef (0x000000085a9890) 9 0x00000180ea9653 cef_add_cross_origin_whitelist_entry+0xea7d79() in libcef (0x000000085a9890) 10 0x00000180fa82c5 cef_add_cross_origin_whitelist_entry+0xfa69eb() in libcef (0x000000fffffffe) 11 0x00000180d3c7ff cef_add_cross_origin_whitelist_entry+0xd3af25() in libcef (0x00000186b9c701) 12 0x00000180d3a77e cef_add_cross_origin_whitelist_entry+0xd38ea4() in libcef (0x00000186b9c730) 13 0x00000180d3a11f cef_add_cross_origin_whitelist_entry+0xd38845() in libcef (0x00000186b9c730) 14 0x00000180d39e22 cef_add_cross_origin_whitelist_entry+0xd38548() in libcef (0x000000057d6a30) 15 0x00000180cf019e cef_add_cross_origin_whitelist_entry+0xcee8c4() in libcef (0x000000057d6a30) 16 0x00000180d13bcf cef_add_cross_origin_whitelist_entry+0xd122f5() in libcef (0x000000057d6a30) 17 0x00000180cf5035 cef_add_cross_origin_whitelist_entry+0xcf375b() in libcef (0000000000000000) 18 0x00000180cf4bba cef_add_cross_origin_whitelist_entry+0xcf32e0() in libcef (0x00000002000001) 19 0x00000180cf4acc cef_add_cross_origin_whitelist_entry+0xcf31f2() in libcef (0x00000002000001) 20 0x00000182373c82 CrashForExceptionInNonABICompliantCodeRange+0x86c272() in libcef (0x00000186b66fc0) 21 0x00000182382a27 CrashForExceptionInNonABICompliantCodeRange+0x87b017() in libcef (0x00000002000001) 22 0x000001823828d7 CrashForExceptionInNonABICompliantCodeRange+0x87aec7() in libcef (0000000000000000) 23 0x0000018000843f cef_add_cross_origin_whitelist_entry+0x6b65() in libcef (0000000000000000) 24 0x000001400d2760 in socialclubhelper (+0xd2760) (0x0000000011e830) 25 0x00000140006f6a in socialclubhelper (+0x6f6a) (0x0000000011e830) 26 0x00000140015583 in socialclubhelper (+0x15583) (0x000000085493f0) 27 0x00000140013b81 in socialclubhelper (+0x13b81) (0x000000085493f0) 28 0x000001400efb0a in socialclubhelper (+0xefb0a) (0x000000085493f0) 29 0x0000018001fb30 cef_add_cross_origin_whitelist_entry+0x1e256() in libcef (0x000000085493f0) 30 0x000001823738c5 CrashForExceptionInNonABICompliantCodeRange+0x86beb5() in libcef (0x000000085493f0) 31 0x000001823734ce CrashForExceptionInNonABICompliantCodeRange+0x86babe() in libcef (0000000000000000) 32 0x00000182372ea5 CrashForExceptionInNonABICompliantCodeRange+0x86b495() in libcef (0x0000000011f060) 33 0x000001823729e0 CrashForExceptionInNonABICompliantCodeRange+0x86afd0() in libcef (0x000001879b0f78) 34 0x000001824122b0 CrashForExceptionInNonABICompliantCodeRange+0x90a8a0() in libcef (0x000001879b0f78) 35 0x00000182da0fc7 CrashForExceptionInNonABICompliantCodeRange+0x12995b7() in libcef (0x000001823728fb) 36 0x00000182da0d26 CrashForExceptionInNonABICompliantCodeRange+0x1299316() in libcef (0x00000000000001) 37 0x0000018243be45 CrashForExceptionInNonABICompliantCodeRange+0x934435() in libcef (0x00000000000001) 38 0x0000018243b55e CrashForExceptionInNonABICompliantCodeRange+0x933b4e() in libcef (0x00000000000001) 39 0x00000182da1628 CrashForExceptionInNonABICompliantCodeRange+0x1299c18() in libcef (0x00000000000001) 40 0x000001823fc51a CrashForExceptionInNonABICompliantCodeRange+0x8f4b0a() in libcef (0x0000000011f7f0) 41 0x000001823806e0 CrashForExceptionInNonABICompliantCodeRange+0x878cd0() in libcef (0x0000000011f7f0) 42 0x00000140079417 in socialclubhelper (+0x79417) (0x0000000011f7f0) 43 0x0000014007db70 in socialclubhelper (+0x7db70) (0x0000000011f7f0) 44 0x0000014007d5ef in socialclubhelper (+0x7d5ef) (0000000000000000) 45 0x000001401d25c6 in socialclubhelper (+0x1d25c6) (0000000000000000) 46 0x0000007b62a889 BaseThreadInitThunk+0x9(unknown=, entry=, arg=) [Z:\private\tmp\game-porting-toolkit-20230610-30978-18kq7b\wine\dlls\kernel32\thread.c:61] in kernel32 (0000000000000000) 47 0x0000017005b3b8 __wine_pop_frame(unknown=, entry=, arg=) [Z:\private\tmp\game-porting-toolkit-20230610-30978-18kq7b\wine\include\wine\exception.h:275] in ntdll (0000000000000000) 48 0x0000017005b3b8 RtlUserThreadStart+0x88(entry=[, arg=[) [Z:\private\tmp\game-porting-toolkit-20230610-30978-18kq7b\wine\dlls\ntdll\thread.c:240] in ntdll (0000000000000000) 0x000001830aabbf libcef+0x30aabbf: movq 0x00000000000010 +0x10(%rdi),%rax Modules: Module Address Debug info Name (123 modules) ELF 0000000000000000-0000000000018000 Stabs PE 0000000000490000-00000000004a0000 Deferred dxgi PE 00000000004a0000-00000000005a1000 Deferred chrome_elf PE 00000000005b0000-00000000005bd000 Deferred d3d9 PE 00000000005d0000-00000000005ec000 Deferred d3d11 PE 0000000001720000-00000000018a9000 Deferred gameoverlayrenderer64 PE 00000000018b0000-00000000018c1000 Deferred psapi PE 0000000005e60000-000000000628e000 Deferred d3dcompiler_47 PE 0000000006290000-000000000705a000 Deferred libglesv2 PE 0000000007260000-00000000072c8000 Deferred libegl PE 0000000010000000-0000000010002000 Deferred usp10 ELF 000000006803f000-0000000068043000 Deferred PE 00000000680a4000-00000000680b0000 Deferred libwine.1.0.dylib ELF 00000000680b8000-00000000680c4000 Deferred ws2_32.so ELF 00000000680da000-00000000681b2000 Deferred ntdll.so PE 000000006846a000-0000000068486000 Deferred libd3dshared.dylib ELF 0000000068694000-00000000686a0000 Deferred dnsapi.so ELF 00000000686a9000-00000000686b5000 Deferred user32.so ELF 00000000686cb000-00000000686db000 Deferred secur32.so ELF 00000000686eb000-00000000686f7000 Deferred netapi32.so ELF 0000000068702000-0000000068712000 Deferred crypt32.so ELF 0000000068730000-0000000068744000 Deferred bcrypt.so ELF 0000000068759000-0000000068765000 Deferred dwrite.so ELF 0000000068770000-000000006877c000 Deferred winspool.so PE 00000000687b6000-00000000687e6000 Deferred libpng16.16.dylib ELF 0000000068867000-0000000068a67000 Deferred win32u \-PE 0000000068870000-0000000068a2b000 \ win32u PE 0000000068a67000-0000000068b07000 Deferred libfreetype.6.dylib ELF 0000000068e54000-0000000068ff8000 Deferred opengl32 \-PE 0000000068e60000-0000000068fb0000 \ opengl32 ELF 000000006af6c000-000000006b040000 Deferred winemac \-PE 000000006af80000-000000006b00c000 \ winemac ELF 000000006e4e6000-000000006e4ee000 Deferred kerberos.so PE 000000006e4f8000-000000006e510000 Deferred libintl.8.dylib ELF 000000006e524000-000000006e530000 Deferred msv1_0.so PE 000000006e549000-000000006e57d000 Deferred libdxccontainer.dylib PE 000000006e5af000-000000006e5cb000 Deferred libtasn1.6.dylib PE 000000006e5ea000-000000006e626000 Deferred libidn2.0.dylib PE 000000006e681000-000000006e699000 Deferred libobjc-trampolines.dylib PE 000000006e6a3000-000000006e797000 Deferred libp11-kit.0.dylib PE 000000006e8f3000-000000006e943000 Deferred libnettle.8.8.dylib PE 000000006e998000-000000006e9e0000 Deferred libhogweed.6.8.dylib PE 000000006eb62000-000000006eeaa000 Deferred d3dmetal PE 000000006f1a4000-000000006f37c000 Deferred libgnutls.30.dylib PE 000000006f58b000-000000006f747000 Deferred libunistring.5.dylib PE 000000006f7dc000-000000006f850000 Deferred libgmp.10.dylib PE 000000007406e000-0000000076842000 Deferred libmetalirconverter.dylib PE 000000007b000000-000000007b558000 Deferred kernelbase PE 000000007b600000-000000007b7a4000 Dwarf-4-5 kernel32 PE 000000007d400000-000000007d405000 Deferred wine64-preloader PE 0000000140000000-00000001403a6000 Export socialclubhelper PE 0000000170000000-0000000170333000 Dwarf-4-5 ntdll PE 0000000180000000-000000018809f000 Export libcef 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 00000001cfdf0000-00000001cfe56000 Deferred dxva2 PE 00000001dd3f0000-00000001dd76b000 Deferred crypt32 PE 00000001ec2b0000-00000001ec356000 Deferred ws2_32 PE 00000001f48d0000-00000001f48f8000 Deferred wpc PE 00000001f51e0000-00000001f5213000 Deferred hid PE 00000001fdfd0000-00000001fe096000 Deferred wintrust PE 0000000201cf0000-0000000201d99000 Deferred secur32 PE 000000021a7e0000-000000021a9c4000 Deferred setupapi PE 0000000228450000-00000002284c9000 Deferred propsys PE 0000000231ae0000-0000000231d70000 Deferred rpcrt4 PE 000000023d820000-000000023deff000 Deferred user32 PE 0000000240030000-00000002400bd000 Deferred iphlpapi PE 000000024f470000-000000024f4d8000 Deferred mpr PE 00000002522e0000-00000002523cc000 Deferred oleacc 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 000000029e400000-000000029e522000 Deferred msctf PE 00000002a4090000-00000002a40c1000 Deferred wtsapi32 PE 00000002bb750000-00000002bbca6000 Deferred comctl32 PE 00000002bc640000-00000002bc67c000 Deferred imagehlp PE 00000002c5060000-00000002c5079000 Deferred atlthunk PE 00000002cc880000-00000002cc89d000 Deferred wevtapi PE 00000002d23f0000-00000002d2438000 Deferred credui PE 00000002d4d40000-00000002d4d92000 Deferred bcrypt PE 00000002e3540000-00000002e3656000 Deferred shlwapi PE 00000002e8f10000-00000002e9496000 Deferred ole32 PE 00000002f1fa0000-00000002f1fc0000 Deferred version PE 00000002f3920000-00000002f3936000 Deferred esent PE 00000002f7230000-00000002f72f0000 Deferred uxtheme PE 000000030a950000-000000030ac65000 Deferred dwrite PE 00000003126f0000-0000000312745000 Deferred shcore PE 000000031f800000-000000031fa46000 Deferred comdlg32 PE 0000000327020000-00000003271af000 Deferred combase PE 000000032a700000-000000032a7c0000 Deferred sechost PE 0000000330260000-000000033038e000 Deferred advapi32 PE 0000000330a70000-0000000330a9d000 Deferred uiautomationcore PE 0000000336850000-00000003368f4000 Deferred mmdevapi PE 00000003422e0000-0000000342603000 Deferred urlmon PE 0000000346ba0000-0000000346bee000 Deferred jsproxy PE 0000000358120000-0000000358250000 Deferred winhttp PE 00000003673d0000-0000000367470000 Deferred netapi32 PE 00000003696a0000-0000000369704000 Deferred directmanipulation PE 0000000388e20000-0000000388e4d000 Deferred userenv PE 000000039c380000-000000039c3cc000 Deferred msv1_0 PE 00000003a0440000-00000003a06a2000 Deferred wininet PE 00000003a19e0000-00000003a1a06000 Deferred ncrypt PE 00000003a37f0000-00000003a380e000 Deferred dcomp PE 00000003aa4c0000-00000003aa4e0000 Deferred dhcpcsvc PE 00000003af670000-00000003af9f8000 Deferred ucrtbase PE 00000003afd00000-00000003afd66000 Deferred imm32 PE 00000003b8f00000-00000003b90b9000 Deferred winmm PE 00000003bb250000-00000003bb3d9000 Deferred cryptui PE 00000003be590000-00000003be868000 Deferred dbghelp PE 00007ff8162c3000-00007ff8162ff000 Deferred libsystem_kernel.dylib PE 00007ff8162fd000-00007ff816309000 Deferred libsystem_pthread.dylib PE 00007ff81632d000-00007ff816339000 Deferred libsystem_platform.dylib PE 00007ff824c7e000-00007ff824ca2000 Deferred liblzma.5.dylib PE 00007ff825f40000-00007ff825f64000 Deferred libpng.dylib PE 00007ff825f6d000-00007ff825fd1000 Deferred libtiff.dylib PE 00007ff825ffd000-00007ff826085000 Deferred libjpeg.dylib PE 00007ff825ffd000-00007ff826085000 Deferred libgif.dylib Threads: process tid prio name (all IDs are in hex) 00000020 steam.exe 00000024 2 000000f8 0 000000fc 0 00000108 0 00000114 0 00000120 0 00000124 0 0000014c 0 00000150 0 00000154 0 00000160 0 00000164 0 00000168 0 0000016c 2 00000170 2 00000178 0 0000017c 0 000001c4 0 000001ec 0 000001f0 0 000001f4 0 00000200 0 00000204 0 00000210 0 0000021c 0 00000248 0 00000258 0 00000268 0 00000544 0 00000548 0 00000030 services.exe 00000034 0 00000038 0 00000044 0 00000064 0 0000008c 0 000000a4 0 000000d8 0 000006d4 0 0000003c winedevice.exe 00000040 0 0000004c 0 00000050 0 00000054 0 00000058 0 000000b0 0 0000039c 0 0000005c winedevice.exe 00000060 0 00000068 0 0000006c 0 00000070 0 00000074 0 00000078 0 0000007c 0 00000080 0 00000084 plugplay.exe 00000088 0 00000090 0 00000094 0 00000098 0 0000010c 0 00000110 0 000001d8 0 000002dc 0 00000370 0 00000400 0 00000490 0 00000520 0 000005e0 0 00000734 0 00000738 0 000007e8 0 0000015c 0 00000180 0 00000280 0 00000314 0 000003a8 0 000003a4 0 0000009c svchost.exe 000000a0 0 000000a8 0 000000ac 0 000000b4 conhost.exe 000000b8 0 000000bc explorer.exe 000000c0 0 000000c4 0 000000c8 0 000000d0 rpcss.exe 000000d4 0 000000e0 0 000000e4 0 000000e8 0 000000ec 0 000000f0 0 00000250 0 000005c4 PlayGTAIV.exe 000005c8 0 00000600 Launcher.exe 00000604 0 0000063c 0 00000648 -2 0000064c -2 00000650 -2 00000654 0 00000658 0 0000065c 0 00000660 0 00000664 0 00000668 0 0000066c 0 00000670 0 00000674 0 00000678 0 0000067c 0 00000680 0 00000684 0 00000688 0 0000068c 0 00000690 0 000006e0 0 000006e4 0 000006e8 0 000006ec 0 000006f0 0 000006f4 0 000006f8 0 000006fc 0 00000700 0 00000704 0 00000714 0 00000718 0 0000071c 0 00000720 0 00000724 0 00000728 0 0000072c 0 00000730 0 00000618 RockstarErrorHandler.exe 0000061c 0 00000620 0 00000624 0 00000628 0 0000062c 0 00000630 0 00000634 0 00000638 0 000006b4 RockstarService.exe 000006b8 0 000006bc 0 000006c0 0 000006d8 0 0000073c (D) C:\Program Files\Rockstar Games\Social Club\SocialClubHelper.exe 00000740 0 <== 00000754 0 00000758 0 0000075c 0 00000760 0 00000764 0 00000768 -2 0000076c 0 00000770 0 00000774 0 00000778 0 0000077c 0 00000780 0 00000784 0 00000788 0 0000078c 1 00000790 0 000007f4 0 0000002c 1 00000028 0 000000cc 0 00000144 -2 00000140 0 000000dc -2 00000048 0 000000f4 0 00000158 0 00000138 0 0000013c 0 00000194 0 00000184 SocialClubHelper.exe 00000188 0 000001bc 0 000001cc 0 000001c0 0 000001c8 -2 000001d0 1 000001dc 0 000001e0 0 000001e4 0 000001e8 1 0000020c 0 00000328 steamwebhelper.exe 0000032c 0 00000330 0 0000033c 0 0000034c 0 00000350 0 00000354 0 00000364 -2 00000358 0 0000035c 0 00000368 0 00000374 0 00000378 0 0000037c 0 00000380 0 00000384 0 00000388 0 00000304 0 00000300 0 00000390 0 0000038c 0 000003ac 0 000003c8 -2 000003cc 0 System information: Wine build: wine-7.7 Platform: x86_64 Version: Windows 10 Host system: Darwin Host version: 23.0.0 ```

Steps to reproduce

Install and launch any Rockstar game from Steam, such as GTA IV or GTA V. The Social Club would show up shortly, then crash.

Expected behaviour

It should launch and login with Steam account automatically, then start my game.

What version of Whisky are you using?

pre-0.2.3

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

boyhjsnew commented 1 year ago

you try gameportingtoolkit-no-esync ~/my-prefix 'C:\Program Files (x86)\Steam\steam.exe'