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.
https://bugs.winehq.org/show_bug.cgi?id=38388
Bug ID: 38388
Summary: Visual Studio Express 2013 (12.0) installer aborts
with 'Runtime Error! R6016 - not enough space for
thread data' in Win 8.1 mode (needs ntdll.dll
'WinSqmIsOptedIn')
Product: Wine
Version: 1.7.40
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
Visual Studio Express 2013 (12.0) has multiple installer blockers.
Prerequisite: 'winetricks -q dotnet40 corefonts win7'
Patch for bug 38387
The WPF 4.x based installer user-interface is unreadable in Win7 mode.
It makes heavy use of DWrite API, unearthing a couple Wine insufficiencies.
The visible part (stub noise):
--- snip ---
...
fixme:dwrite:dwritefontface_GetRecommendedRenderingMode (0x56a4580)->(12.000000
1.000000 0 0x55cd738 0xf84e1fc): stub
fixme:dwrite:dwritefactory_CreateGlyphRunAnalysis (0x211510)->(0xf84e1d8
1.000000 0xf84e21c 4 0 0.000000 0.000000 0xf84e20c): stub
...
--- snip ---
Fortunately the installer is very verbose about its doings in the log file.
%temp% -> dd_winexpress_full_<datetimestamp>.log
--- snip ---
...
[002E:002F][2015-04-10T22:54:23]i052: Condition '(VersionNT = v6.3) AND
(WindowsBuildNumber < 9600)' evaluates to false.
[002E:002F][2015-04-10T22:54:23]i052: Condition 'VersionNT < v6.3' evaluates to
true.
[002E:002F][2015-04-10T22:54:23]i052: Condition '(VersionNT = v6.3) AND
(netfxfullredist_43_DetectKey < v4.5.50709)' evaluates to false.
[002E:002F][2015-04-10T22:54:23]i052: Condition 'CompatibilityMode = 0'
evaluates to false.
[002E:002F][2015-04-10T22:54:23]i052: Condition 'RebootPending = 1' evaluates
to false.
[002E:002F][2015-04-10T22:54:23]i052: Condition 'NOT (IEsvcVersionExists) OR
(IEsvcVersion < v10.0)' evaluates to true.
[002E:002F][2015-04-10T22:54:23]i000: MUX: Stop Block: WinBlock : This version
of Visual Studio requires a computer with a
!$!http://go.microsoft.com/fwlink/?LinkID=320086&clcid=0x409,newer version of
Windows!@!.
[002E:002F][2015-04-10T22:54:23]i000: MUX: Stop Block: IE10Block : This
version of Visual Studio requires Internet Explorer 10 which is currently not
installed on your computer. Please
!$!http://go.microsoft.com/fwlink/?LinkID=320085&clcid=0x409,install Internet
Explorer 10!@! and then retry installing Visual Studio.
[002E:002F][2015-04-10T22:54:23]i000: MUX: Detect Completed
[002E:002F][2015-04-10T22:54:23]i000: MUX: Wait for View to be loaded
[002E:0038][2015-04-10T22:54:23]i000: MUX: Detect Completed, now create view
[002E:002F][2015-04-10T22:54:26]i000: MUX: View loaded
[002E:002F][2015-04-10T22:54:26]i000: MUX: Go to Blocker page.
[002E:002F][2015-04-10T22:54:26]i199: Detect complete, result: 0x0
--- snip ---
It needs Win 8.1 mode and .NET Framework 4.5 installed.
It's best to run .NET 4.5 installer directly from winetricks cache standalone
to avoid long .NET 2.x, 3.x install sequence for now.
With these requirements met, the installer aborts much early with run-time
error.
--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+msi wine ./winexpress_full.exe >>log.txt 2>&1
...
002a:Call KERNEL32.CreateProcessW(001461d0
L"Z:\\home\\focht\\Downloads\\winexpress_full.exe",001465e8
L"\"Z:\\home\\focht\\Downloads\\winexpress_full.exe\" -burn.unelevated
BurnPipe.{1FC0A2CB-7160-4EDB-A330-B0CF4FBE54BC}
{4F44BA81-61F1-499A-8FCD-A00AD817497E}
41",00000000,00000000,00000000,00000000,00000000,00000000,0033f688,0033f6cc)
ret=0042f42d
...
002d:Call KERNEL32.__wine_kernel_init() ret=7bc5aa05
002a:Ret KERNEL32.CreateProcessW() retval=00000001 ret=0042f42d
...
002d:Call KERNEL32.GetModuleHandleW(0035c504 L"ntdll.dll") ret=0035c4ce
002d:Ret KERNEL32.GetModuleHandleW() retval=7bc10000 ret=0035c4ce
002d:Call KERNEL32.GetProcAddress(7bc10000,0035c4f4 "WinSqmIsOptedIn")
ret=0035c4da
002d:Ret KERNEL32.GetProcAddress() retval=00000000 ret=0035c4da
002d:trace:seh:raise_exception code=c0000005 flags=0 addr=(nil) ip=00000000
tid=002d
002d:trace:seh:raise_exception info[0]=00000008
002d:trace:seh:raise_exception info[1]=00000000
002d:trace:seh:raise_exception eax=00000000 ebx=00000000 ecx=00000006
edx=7bca6ec0 esi=0014b160 edi=7b824394
002d:trace:seh:raise_exception ebp=0033ee34 esp=0033edd8 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010202
002d:trace:seh:call_stack_handlers calling handler at 0x3a7458 code=c0000005
flags=0
002d:Call KERNEL32.GetLastError() ret=003568a6
002d:Ret KERNEL32.GetLastError() retval=0000007f ret=003568a6
...
002d:Call user32.MessageBoxW(00000000,003c12f8 L"Runtime Error!\n\nProgram:
Z:\\home\\focht\\Downloads\\winexpress_full.exe\n\nR6016\r\n- not enough space
for thread data\r\n",0039a878 L"Microsoft Visual C++ Runtime Library",00012010)
ret=003a0476
--- snip ---
$ sha1sum winexpress_full.exe
51394c6e8d4d4235396cb7933af030974e25579f winexpress_full.exe
$ du -sh winexpress_full.exe
1000K winexpress_full.exe
$ wine --version
wine-1.7.40-99-gdc22283
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.