[Bug 21828] Unable to launch Mercenaries 2

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 24 14:37:39 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21828





--- Comment #15 from Anastasius Focht <focht at gmx.net>  2010-02-24 14:37:39 ---
Hello,

looks like a problem with winhttp:

--- snip ---
...
0009:Call winhttp.WinHttpReceiveResponse(00000003,00000000) ret=1000882d
...
0009:Ret  winhttp.WinHttpReceiveResponse() retval=00000001 ret=1000882d
...
0009:Call winhttp.WinHttpQueryDataAvailable(00000003,02a0fbbc) ret=10008856
0009:Call ntdll.RtlAllocateHeap(00110000,00000000,000000bd) ret=7d02a8f9
0009:Ret  ntdll.RtlAllocateHeap() retval=001da7c0 ret=7d02a8f9
0009:Ret  winhttp.WinHttpQueryDataAvailable() retval=00000001 ret=10008856
0009:Call winhttp.WinHttpReadData(00000003,02a0fcb8,000000bc,02a0fbc0)
ret=10008919
0009:Call ntdll.RtlFreeHeap(00110000,00000000,001da7c0) ret=7d02a8c0
0009:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7d02a8c0
0009:Ret  winhttp.WinHttpReadData() retval=00000001 ret=10008919
0009:Call winhttp.WinHttpQueryDataAvailable(00000003,02a0fbbc) ret=10008856
0009:Ret  winhttp.WinHttpQueryDataAvailable() retval=00000001 ret=10008856
0009:Call winhttp.WinHttpReadData(00000003,02a0fd74,00000000,02a0fbc0)
ret=10008919
0009:Ret  winhttp.WinHttpReadData() retval=00000001 ret=10008919
...
0009:Call winhttp.WinHttpQueryDataAvailable(00000003,02a0fbbc) ret=10008856
0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00001001) ret=7d02a8f9
0009:Ret  ntdll.RtlAllocateHeap() retval=033bc5f0 ret=7d02a8f9 
...
0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0xf7576d56
ip=f7576d56 tid=0009
0009:trace:seh:raise_exception  info[0]=00000001
0009:trace:seh:raise_exception  info[1]=033cc000
0009:trace:seh:raise_exception  eax=00000003 ebx=7d038ff4 ecx=3fffc17b
edx=001d1a64 esi=02a1e49c edi=033cc000
0009:trace:seh:raise_exception  ebp=02a0ea48 esp=02a0e9f8 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00210206
0009:trace:seh:call_vectored_handlers calling handler at 0x7e0360e0
code=c0000005 flags=0
0009:trace:seh:call_vectored_handlers handler at 0x7e0360e0 returned 0
0009:trace:seh:call_stack_handlers calling handler at 0x1002610a code=c0000005
flags=0
...
0009:Call KERNEL32.GetLastError() ret=01c8b5db
0009:Ret  KERNEL32.GetLastError() retval=00002f76 ret=01c8b5db
...
0009:Call KERNEL32.UnhandledExceptionFilter(02a0e55c) ret=01c8cc28
wine: Unhandled page fault on write access to 0x033cc000 at address 0xf7576d56
(thread 0009), starting debugger... 
--- snip ---

Please generate a new log, adding "winhttp" debug channel:

remove old log: 
$ rm log.txt

new log: 
$ WINEDEBUG=+tid,+seh,+relay,+winhttp wine Mercenaries2.exe >>log.txt 2>&1

Please make sure you removed any references to private data before attaching
the log file.

Search "log.txt" for "requestcode=" and "serial=":

$ grep -i "requestcode=" log.txt
...
"requestcode=xxx" (where xxx is your code)

$ grep -i "serial=" log.txt
...
"serial=yyy" (where yyy is your code)

take the "xxx" and "yyy" part and in-place replace it in log file using
following commands:

$ sed -i 's/xxx/myrequestcode/gi' log.txt
$ sed -i 's/yyy/myserial/gi' log.txt

Compress the log.txt before attaching.

---

If you happen to have some Windows installation around you could try if native
"winhttp.dll" works around the crash.

Put the Windows "winhttp.dll" in the folder where "Mercenaries2.exe" resides
and start the game with:

--- snip ---
$ WINEDLLOVERRIDES="winhttp=n" wine Mercenaries2.exe
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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