https://bugs.winehq.org/show_bug.cgi?id=36822
Bug ID: 36822
Summary: Multi Theft Auto: San Andreas 1.3.5 'FairplayKD.sys'
driver crashes on unimplemented function
ntoskrnl.exe.KeSetSystemAffinityThread
Product: Wine
Version: 1.7.21
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
as the summary says ...
--- snip ---
...
fixme:ntoskrnl:PsLookupProcessByProcessId (0x7ffc 0x53e5bc) stub
wine: Call from 0x7b83adcf to unimplemented function
ntoskrnl.exe.KeSetSystemAffinityThread, aborting
--- snip ---
MSDN:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff553267%28v=vs.85…
--- quote ---
The KeSetSystemAffinityThread routine sets the system affinity of the current
thread.
VOID KeSetSystemAffinityThread(
_In_ KAFFINITY Affinity
);
Parameters
Affinity [in]
A KAFFINITY-typed variable that specifies the new system affinity of the
current thread.
Return value
None
--- quote ---
$ sha1sum mtasa-1.3.5.exe
7f186543892ef0877cd568ce0935c5e9641578c8 mtasa-1.3.5.exe
$ du -sh mtasa-1.3.5.exe
21M mtasa-1.3.5.exe
$ wine --version
wine-1.7.21-3-gbf72c67
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=36821
Bug ID: 36821
Summary: Multi Theft Auto: San Andreas 1.3.5 'FairplayKD.sys'
driver continuously spams terminal due to
'PsLookupProcessByProcessId' stub
Product: Wine
Version: 1.7.20
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Hello folks,
the kernel driver is part of 'Multi Theft Auto' v1.3.5
Release notes: https://forum.mtasa.com/viewtopic.php?f=31&t=71767
There is a constant spam on terminal:
--- snip ---
...
fixme:ntoskrnl:PsLookupProcessByProcessId (0x4 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0x8 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0xc 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0x10 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0x14 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0x18 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0x1c 0x53e5bc) stub
...
fixme:ntoskrnl:PsLookupProcessByProcessId (0x7ff8 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0x7ffc 0x53e5bc) stub
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:thread:NtQueryInformationThread info class 22 not supported yet
fixme:ntoskrnl:PsLookupProcessByProcessId (0x4 0x53e5bc) stub
fixme:ntoskrnl:PsLookupProcessByProcessId (0x8 0x53e5bc) stub
...
<repeats forever>
--- snip ---
'FairplayKD.sys' kernel driver code:
--- snip ---
00541F06 8BFF MOV EDI,EDI
00541F08 55 PUSH EBP
00541F09 8BEC MOV EBP,ESP
00541F0B 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8] ; process id to lookup
00541F0E 53 PUSH EBX
00541F0F 56 PUSH ESI
00541F10 F6C1 03 TEST CL,3
00541F13 75 42 JNZ SHORT 00541F57
00541F15 8B5D 0C MOV EBX,DWORD PTR SS:[EBP+C]
00541F18 F6C3 03 TEST BL,3
00541F1B 75 3A JNZ SHORT 00541F57
00541F1D B8 E8FD0000 MOV EAX,0FDE8 ; max pid (handle)
00541F22 3BC8 CMP ECX,EAX
00541F24 77 31 JA SHORT 00541F57
00541F26 3BD8 CMP EBX,EAX
00541F28 77 2D JA SHORT 00541F57
00541F2A 3BCB CMP ECX,EBX
00541F2C 73 29 JNB SHORT 00541F57
00541F2E 8BF1 MOV ESI,ECX
pid_loop:
00541F30 8D45 08 LEA EAX,DWORD PTR SS:[EBP+8]
00541F33 50 PUSH EAX
00541F34 56 PUSH ESI
00541F35 FF15 8C8A5400 CALL DWORD PTR DS:[548A8C] ;
PsLookupProcessByProcessId
00541F3B 85C0 TEST EAX,EAX
00541F3D 74 0B JE SHORT 00541F4A
00541F3F 83C6 04 ADD ESI,4
00541F42 3BF3 CMP ESI,EBX
00541F44 72 EA JB SHORT 00541F30
00541F46 8BC3 MOV EAX,EBX
00541F48 EB 0F JMP SHORT 00541F59
00541F4A 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00541F4D FF15 888A5400 CALL DWORD PTR DS:[548A88] ; ObfDereferenceObject
00541F53 8BC6 MOV EAX,ESI
00541F55 EB 02 JMP SHORT 00541F59
00541F57 33C0 XOR EAX,EAX
00541F59 5E POP ESI
00541F5A 5B POP EBX
00541F5B 5D POP EBP
00541F5C C2 0800 RETN 8
--- snip ---
If it fails (Wine stub in this case) just go for the next process id ... genius
logic at work :)
Silencing via "trace once" might be ok for this - even if the loop is still
getting executed.
$ sha1sum mtasa-1.3.5.exe
7f186543892ef0877cd568ce0935c5e9641578c8 mtasa-1.3.5.exe
$ du -sh mtasa-1.3.5.exe
21M mtasa-1.3.5.exe
$ wine --version
wine-1.7.21-3-gbf72c67
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=38098
Bug ID: 38098
Summary: Managed (.NET) debugger fails to load symbol files
('GetFileVersionInfoExW' is a stub)
Product: Wine
Version: 1.7.36
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
continuation of bug 38090
With patch from bug 38090 applied it runs into:
--- snip ---
(28.29): C++ EH exception - code e06d7363 (first chance)
(28.29): CLR exception - code e0434f4d (first chance)
...
0009:fixme:ver:GetFileVersionInfoExW stub: 0
L"z:\\home\\focht\\downloads\\debug_symbols\\mscordacwks_x86_x86_2.0.50727.42.dll\\4333E7EC561000\\mscordacwks_x86_x86_2.0.50727.42.dll"
0 1964 0x439450
Failed to load data access DLL, 0x80004005
...
--- snip ---
The stub was committed one day later:
--- snip ---
version: Add stubs for GetFileVersionInfoExA/W.
author Austin English <austinenglish(a)gmail.com>
Tue, 23 Dec 2014 01:37:46 +0000 (19:37 -0600)
committer Alexandre Julliard <julliard(a)winehq.org>
Tue, 23 Dec 2014 14:30:50 +0000 (15:30 +0100)
commit 61fc9ac92f0dbe80e07d883a2365e16fd6f37774
tree 1b4ace4cee89aff7b8cf0a3119e8677310a9822b
parent 0029290e3e769880f2e357cf9608ac26535c29fb
--- snip ---
Regards
--
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.
https://bugs.winehq.org/show_bug.cgi?id=38090
Bug ID: 38090
Summary: Managed (.NET) debugger fails to load symbol files
('GetFileVersionInfoSizeExW' is a stub)
Product: Wine
Version: 1.7.36
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
found while investigating bugs with managed applications (.NET).
Dump of managed callstacks doesn't work anymore, instead the debugger prints
'Failed to load data access DLL foo, 80004005'.
--- snip ---
...
0009:Call version.GetFileVersionInfoSizeExW(00000000,00438f88
L"z:\\home\\focht\\downloads\\debug_symbols\\mscorwks.dll\\4333E7EC561000\\mscordacwks_x86_x86_2.0.50727.42.dll",0033c47c)
ret=022d643e
0009:fixme:ver:GetFileVersionInfoSizeExW stub: 0
L"z:\\home\\focht\\downloads\\debug_symbols\\mscorwks.dll\\4333E7EC561000\\mscordacwks_x86_x86_2.0.50727.42.dll"
0x33c47c
0009:Ret version.GetFileVersionInfoSizeExW() retval=00000000 ret=022d643e
0009:Call KERNEL32.SetErrorMode(00000001) ret=021e29b4
0009:Ret KERNEL32.SetErrorMode() retval=00000001 ret=021e29b4
0009:Call msvcrt._vsnwprintf(0236af88,00000040,020c65a8 L"Win32 error
0n%d",0033c718) ret=022d4956
0009:Ret msvcrt._vsnwprintf() retval=00000010 ret=022d4956
0009:Call msvcrt._vsnwprintf(0035411c,00000145,0203dbd8 L"ERROR: Unable to load
DLL %s, %s",0033c728) ret=022d4956
0009:Ret msvcrt._vsnwprintf() retval=00000050 ret=022d4956
...
0009:Call KERNEL32.MultiByteToWideChar(00000000,00000000,64273bbc "Failed to
load data access DLL, 0x%08x\n",ffffffff,00000000,00000000) ret=020ebf5b
0009:Ret KERNEL32.MultiByteToWideChar() retval=00000028 ret=020ebf5b
--- snip ---
It a regression:
http://source.winehq.org/git/wine.git/commitdiff/caaf6aafa96d1f8ac72f5e019c…
--- snip ---
author Austin English <austinenglish(a)gmail.com>
Sat, 20 Dec 2014 19:39:54 +0000 (13:39 -0600)
committer Alexandre Julliard <julliard(a)winehq.org>
Mon, 22 Dec 2014 18:18:21 +0000 (19:18 +0100)
commit caaf6aafa96d1f8ac72f5e019c4c97ef3d1958e6
tree cec676788e3b8000423aa779ed269408b9804df4
parent ef8db24b9c77bdc110c4c2b6acb4581b9fd6d193
version: Add stubs for GetFileVersionInfoSizeExA/W.
--- snip ---
It shouldn't be too hard to add an actual implementation.
Regards
--
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.