[Bug 38493] Unhandled exception in subprocess.exe when launching Grand Theft Auto V (64-bit)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 9 20:11:09 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38493

--- Comment #4 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
I made a +relay,+seh,+tid debug log and saw this:

--- snip ---
0009:Call KERNEL32.GetProcAddress(7b820000,182dc2860
"SetFileCompletionNotificationModes") ret=18248826c
0009:Ret  KERNEL32.GetProcAddress() retval=7b82a41c ret=182488280
--- snip ---

This is the last kernel32 call before the crash.
I checked current Wine code and the function is not implemented, not even a
stub.
Following the developper's guide I made a stub function that prints a fixme and
return a fixed value (using info from MSDN).

At first I tried with a stub that always returns false and SetLastError to
ERROR_CALL_NOT_IMPLEMENTED.

With the patched Wine, subprocess.exe no longer crash with read access to
0x00000000, but still crashes with two exception errors, one after the other.
The exception errors are page faults in 64-bit code (two different threads).

The first exception:

--- snip ---
Backtrace:
=>0 0x00007fbd5cac7405 relay_trace_entry+0x55(descr=0x7badd708, idx=0x403fb,
stack=0x23e350)
[/home/olivier/Projets/wine-builds/Test_64/dlls/ntdll/../../../wine-git/dlls/ntdll/relay.c:333]
in ntdll (0x000000000023e318)
  1 0x00007fbd5cac6b33 relay_call+0x22() in ntdll (0x000000000023e318)
  2 0x000000007b8330d6 in kernel32 (+0x130d5) (0x00000001830de050)
  3 0x00000001801f0446 in libcef (+0x1f0445) (0x00000001830de050)
  4 0x00000001801ebf7a in libcef (+0x1ebf79) (0x00000001830de050)
  5 0x00000001801dfa82 in libcef (+0x1dfa81) (0x0000000000000000)
  6 0x0000000180877311 in libcef (+0x877310) (0x0000000000000000)
  7 0x000000018083c8e4 in libcef (+0x83c8e3) (0x0000000000000000)
  8 0x00000001801c5566 in libcef (+0x1c5565) (0x0000000000000000)
  9 0x00000001801c5855 in libcef (+0x1c5854) (0x000000000023e680)
  10 0x0000000180001015 in libcef (+0x1014) (0x000000000023e680)
--- snip ---

and the second:

--- snip ---
Backtrace:
=>0 0x00000001823eeb75 in libcef (+0x23eeb75) (0x0000000000078260)
  1 0x000000018248c1b5 in libcef (+0x248c1b4) (0x0000000000078260)
  2 0x000000018248c431 in libcef (+0x248c430) (0x000000000023f790)
  3 0x000000018150cccb in libcef (+0x150ccca) (0x000000000023f790)
  4 0x00000001801a263e in libcef (+0x1a263d) (0x000000000023f940)
  5 0x000000018017135f in libcef (+0x17135e) (0x000000000023faa0)
  6 0x0000000180170a55 in libcef (+0x170a54) (0x000000000023fb59)
  7 0x00000001801a32fd in libcef (+0x1a32fc) (0x0000000000e85773)
  8 0x00000001801a39eb in libcef (+0x1a39ea) (0x0000000000e85773)
  9 0x000000018018a248 in libcef (+0x18a247) (0x0000000000e85773)
  10 0x00000001800e88e8 in libcef (+0xe88e7) (0x0000000000e85773)
--- snip ---

Then I changed the stub so that it always returns true (success), restarted
from scratch and got another type of error (no stack, no backtrace):

--- snip ---
0x00000001801975ae: addq    $28,%rsp
Modules:
Module    Address                    Debug info    Name (124 modules)
ELF            7b800000-        7bc7c000    Deferred        kernel32<elf>
  \-PE            7b820000-        7bc7c000    \               kernel32
ELF            7be00000-        7c102000    Deferred        <wine-loader>
PE           140000000-       1400f1000    Deferred        subprocess
PE           180000000-       1834c6000    Export          libcef
ELF        7ff9a9fa5000-    7ff9aa220000    Deferred        setupapi<elf>
  \-PE        7ff9a9fb0000-    7ff9aa220000    \               setupapi
--- snip ---

It seems that libcef.dll is involved in every crash.
I know it is Chromium Embedded Framework.
The game provide its own copy of the DLL.

--- snip ---
0038:trace:loaddll:load_native_dll Loaded L"C:\\Program Files\\Rockstar
Games\\Social Club\\libcef.dll" at 0x180000000: native
--- snip ---

I tried to debug those errors with +relay,+seh,+tid,+loaddll,+int but could not
find anything obvious.
I'm not familliar with wine debugging.
If someone wants full backtraces or debugging output, just ask.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list