https://bugs.winehq.org/show_bug.cgi?id=45844
Bug ID: 45844
Summary: Battleye's BEDaisy.sys requires correct
KeGetCurrentThread implementation
Product: Wine
Version: 3.16
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: dereklesho52(a)Gmail.com
Distribution: ---
Battleye tries to access the KTHREAD structure it gets from KeGetCurrentThread,
put because it is not present in our implementation there is a page fault. My
implementation on github fixes this issue:
https://github.com/Guy1524/wine/commits/battleye-work-stable
--
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=44811
Bug ID: 44811
Summary: BattlEye 'BEDaisy' kernel service requires _chkstk
implementation.
Product: Wine
Version: 3.4
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: leslie_alistair(a)hotmail.com
Distribution: ---
When the stack goes over a 4k on x86 or 8k for x64 boundary then this function
is used to resolve this issue.
https://msdn.microsoft.com/en-us/library/ms648426(v=vs.85).aspx
--
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=45843
Bug ID: 45843
Summary: Battleye's BEDaisy.sys expects memory allocated by
ExAllocatePoolWithTag to be executable
Product: Wine
Version: 3.16
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: dereklesho52(a)Gmail.com
Distribution: ---
In the NT Kernel, non-paged memory is executable, and BEDaisy.sys crashes on a
page fault if this is not the case.
My patch is located here:
https://github.com/Guy1524/wine/commits/battleye-work-stable
--
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=44749
Bug ID: 44749
Summary: Sentinel HASP 'hardlock.sys' kernel driver expects
ntdll.RtlCheckRegistryKey to return STATUS_SUCCESS on
empty path
Product: Wine
Version: 3.3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
to separate two different issues from bug 44641
Technically it was
https://source.winehq.org/git/wine.git/commitdiff/f07e8ca8f01106b6d41a933f0…
("ntdll: Fix RtlCheckRegistryKey when called with empty path.") which returns
'STATUS_SUCCESS' now, causing the driver to execute a different code path, not
calling 'ntoskrnl.exe.RtlCreateRegistryKey' at this point.
Bug 44641 is about missing 'ntdll.RtlCreateRegistryKey' API -> fixed by
https://source.winehq.org/git/wine.git/commitdiff/535419a2bf8da3fd21cfdede4…
Created this ticket to avoid rechristening bug 44641
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Minitab/Minitab 16
$ WINEDEBUG=+seh,+relay,+winedevice,+ntoskrnl wine ./Mtb.exe >>log.txt 2>&1
...
0019:Call ntoskrnl.exe.RtlCheckRegistryKey(00000001,0065fb20) ret=007a8edd
0019:Call ntdll.RtlCheckRegistryKey(00000001,0065fb20) ret=7bc7e2bb
0019:Ret ntdll.RtlCheckRegistryKey() retval=c0000034 ret=7bc7e2bb
0019:Ret ntoskrnl.exe.RtlCheckRegistryKey() retval=c0000034 ret=007a8edd
0019:Call KERNEL32.RaiseException(80000100,00000001,00000002,0065fad4)
ret=7ecd21a7
0019:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b44667f
ip=7b44667f tid=0019
0019:trace:seh:raise_exception info[0]=7ecd21c0
0019:trace:seh:raise_exception info[1]=7ecd6098
wine: Call from 0x7b44667f to unimplemented function
ntoskrnl.exe.RtlCreateRegistryKey, aborting
0019:trace:seh:call_vectored_handlers calling handler at 0x7ecc9e95
code=80000100 flags=1
0019:trace:seh:call_vectored_handlers handler at 0x7ecc9e95 returned 0
0019:trace:seh:call_stack_handlers calling handler at 0x7bcb023c code=80000100
flags=1
--- snip ---
$ sha1sum MTBen1610su.exe
f457d13475a783a0d2fff5566c0279640ba26bc6 MTBen1610su.exe
$ du -sh MTBen1610su.exe
93M MTBen1610su.exe
$ wine --version
wine-3.2-346-gb1aee9c391
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.
http://bugs.winehq.org/show_bug.cgi?id=20291
Summary: File Maker 10 Advanced installs fine but does not
start in Debian 5 wine version 1.01
Product: WineHQ Bugzilla
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bugzilla-unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ialsahili(a)gmail.com
Here is the message that appears when I try to run the program in terminal:
--
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.
http://bugs.winehq.org/show_bug.cgi?id=20289
Summary: File Maker 10 Advanced installs fine but does not
start in Debian 5 wine version 1.01
Product: WineHQ Bugzilla
Version: unspecified
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bugzilla-unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ialsahili(a)gmail.com
Here is the message that appears when I try to run the program in terminal:
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER
{f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WS_setsockopt Unknown level: 0x00000029
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER
{f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub
fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub
err:module:attach_process_dlls "odbc32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program
Files\\FileMaker\\FileMaker Pro 10 Advanced\\FileMaker Pro Advanced.exe"
failed, status c0000005
--
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.
https://bugs.winehq.org/show_bug.cgi?id=49400
Bug ID: 49400
Summary: Multiple Windows 10 applications need IsWow64Process2
to determine real OS architecture (ex: detect WOW64 on
ARM64)
Product: Wine
Version: 5.10
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernelbase
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
to track:
https://www.winehq.org/pipermail/wine-devel/2020-June/168211.htmlhttps://source.winehq.org/patches/data/187205
I've found some apps on Github using it. No idea which app/game Dmitry wants to
fix ;-)
* https://github.com/joelbyford/WowProcNewVsOld
* https://github.com/wixtoolset/dutil
* https://github.com/guided-hacking/GuidedHacking-Injector
Microsoft docs:
https://docs.microsoft.com/en-us/windows/win32/api/wow64apiset/nf-wow64apis…
.NET core mentions this as well:
https://github.com/dotnet/runtime/issues/26612
--- quote ---
When x86 code is executed on an ARM64 Windows,
System.Runtime.InteropServices.RuntimeInformation.OSArchitecture returns X86
and System.Environment.Is64BitOperatingSystem returns False. These two
properties call GetNativeSystemInfo and IsWow64Process Kernel32.dll functions
respectively, which conceal the real OS architecture from x86 code by returning
PROCESSOR_ARCHITECTURE_INTEL (meaning x86) and FALSE. To obtain the real OS
architecture, Windows 10 introduced a new IsWow64Process2 function in version
1511.
We need to make a decision how an app may reliably figure out the real OS
architecture it is running on:
Should we fix the implementation of the existing CoreFX properties?
Or do we recommend resorting to an IsWow64Process2 PInvoke wrapped in a
necessary try/catch?
--- quote ---
$ wine --version
wine-5.10-247-gf8955cfb0f
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=44718
Bug ID: 44718
Summary: Screenhero 0.14.x (.NET 4.x app) needs 'sas.dll'
(WinLogon Software SAS Library)
Product: Wine
Version: 3.3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
extracted from https://bugs.winehq.org/show_bug.cgi?id=39201#c7
Louis Lenders:
--- quote ---
The program itsself Screenhero.exe crashes like below,
with the patch (stub sas.dll) it starts fine
0009:err:module:import_dll Library SAS.dll (which is needed by L"C:\\Program
Files\\Screenhero, Inc\\Screenhero\\AppSharingClasses.dll") not found
0009:fixme:nls:LCIDToLocaleName unsupported flags 8000000
0009:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0009:fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x32cf38,(nil)):
stub
0009:err:eventlog:ReportEventW L"Application: Screenhero.exe\nFramework
Version: v4.0.30319\nDescription: The process was terminated due to an
unhandled exception.\nException Info: System.IO.FileNotFoundException\nStack:\n
at AppSharing.App..ctor()\n at AppSharing.App.Main()\n"
--- quote ---
The installer requires (install blockers):
* .NET Framework 4.0
* Windows 7 setting
Depends on:
* bug 44704
Tidbits:
https://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs.85).…
("SendSAS function")
https://autohotkey.com/boards/viewtopic.php?t=27119 ("SendSAS: Send
Ctrl+Alt+Del")
$ sha1sum Screenhero014-Latest-setup.exe
ae1f5edb400bf7dd93a6730d272d8c1655302ae9 Screenhero014-Latest-setup.exe
$ du -sh Screenhero014-Latest-setup.exe
29M Screenhero014-Latest-setup.exe
$ wine --version
wine-3.3-128-gdfde119538
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=38018
Bug ID: 38018
Summary: Windows Live Essentials 2012 web installer crashes on
unimplemented function ktmw32.dll.RollbackTransaction
Product: Wine
Version: 1.7.35
Hardware: x86-64
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 32229
--- snip ---
$ wine ./wlsetup-web.exe
...
fixme:ktmw32:CreateTransaction ((nil) (nil) 0x0 0x0 0x0, 300000, (null)): stub
fixme:file:CreateHardLinkTransactedW (L"C:\\users\\Public\\Application
Data\\Microsoft\\WLSetup\\CabLogs\\Logs.CAB"
L"C:\\users\\focht\\Temp\\02052230-00000008-z9tn964ati\\Logs.CAB" (nil) 0x1):
stub
wine: Call from 0x7b83b527 to unimplemented function
ktmw32.dll.RollbackTransaction, aborting
wine: Unimplemented function ktmw32.dll.RollbackTransaction called at address
0x7b83b527 (thread 0009), starting debugger...
--- snip ---
$ sha1sum wlsetup-web.exe
6d48f1a6734cabd435dc6ec6ba0a94ebfcf15b9f wlsetup-web.exe
$ du -sh wlsetup-web.exe
1.2M wlsetup-web.exe
$ wine --version
wine-1.7.35-89-gbad99c9
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.
http://bugs.winehq.org/show_bug.cgi?id=32229
Bug #: 32229
Summary: unimplemented function ktmw32.dll.CreateTransaction
needed for the windows live essentials web installer
Product: Wine
Version: 1.5.17
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: wine.dev(a)web.de
Classification: Unclassified
The windows live essentials web installer need ktmw32.CreateTransaction:
wine: Call from 0x7b83b417 to unimplemented function
ktmw32.dll.CreateTransaction
Application Homepage:
http://windows.microsoft.com/en-US/windows-live/photo-gallery-get-started
Web Installer Download:
http://go.microsoft.com/fwlink/p/?LinkID=255475
0375d8ee2a3f69249c2487696cdd742c525e6fe0 *wlsetup-web.exe
--
By by ... Detlef
--
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.
http://bugs.winehq.org/show_bug.cgi?id=29742
Bug #: 29742
Summary: Microsoft .NET Framework 4.5 Developer Preview
installer crashes due to missing "wevtapi.dll"
Product: Wine
Version: 1.4-rc1
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Classification: Unclassified
Hello,
Microsoft .NET Framework 4.5 Developer Preview crashes due to missing
"wevtapi.dll"
You need to set WinVer to "Windows 7" before running installer.
--- snip ---
002c:Call KERNEL32.LoadLibraryW(0084d4b8 L"C:\\windows\\System32\\wevtapi.dll")
ret=1004816b
002c:Ret KERNEL32.LoadLibraryW() retval=00000000 ret=1004816b
...
002c:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,00cec264)
ret=1008c0cb
002c:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b839297
ip=7b839297 tid=002c
002c:trace:seh:raise_exception info[0]=19930520
002c:trace:seh:raise_exception info[1]=00cec290
002c:trace:seh:raise_exception info[2]=100a7f84
002c:trace:seh:raise_exception eax=7b8262d1 ebx=7b8a96a8 ecx=19930520
edx=00cec174 esi=00cec250 edi=00cec1d0
002c:trace:seh:raise_exception ebp=00cec1b8 esp=00cec154 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000287
002c:trace:seh:call_stack_handlers calling handler at 0x1009f789 code=e06d7363
flags=1
--- snip ---
This dll implements another Windows Event Log API (starting with Windows
Vista).
MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa385785%28v=vs.85%…
Download:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=27541
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.
https://bugs.winehq.org/show_bug.cgi?id=43307
Bug ID: 43307
Summary: Wargaming Game Center periodically crashes with
msvcp140.dll._Current_get
Product: Wine
Version: 2.12
Hardware: x86-64
URL: http://redirect.wargaming.net/WGC/Wargaming_Game_Cente
r_Install_EU.exe
OS: Linux
Status: NEW
Keywords: download
Severity: minor
Priority: P2
Component: msvcp
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
Application crashes with wgc_watchdog.exe but continue running. After a few
seconds crash repeats again.
wine: Call from 0x7b43b95c to unimplemented function msvcp140.dll._Current_get
wine-2.12-49-g35f82ba
--
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=46179
Bug ID: 46179
Summary: Multiple Windows 10 ARM64 apps need
'kernel32.dll.GetCurrentThreadStackLimits' to get
stack start address
Product: Wine
Version: 3.20
Hardware: aarch64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
another valuable resource of improving/fixing Wine on ARM64 is the Chrome
browser port to Windows 10 ARM64 platform that is currently underway and going
to continue for some months.
I'm following various Chromium and LLVM/Clang pull requests related to Win10
ARM64 porting activities.
Related PR to this ticket:
https://chromium-review.googlesource.com/c/chromium/src/+/1344870https://chromium-review.googlesource.com/c/chromium/src/+/1344870/3/third_p…
--- snip ---
// On Windows stack limits for the current thread are available in
// the thread information block (TIB). Its fields can be accessed through
// FS segment register on x86 and GS segment register on x86_64.
// On Windows ARM64, stack limits could be retrieved by calling
// GetCurrentThreadStackLimits. This API doesn't work on x86 and x86_64 here
// because it requires Windows 8+.
#if defined(ARCH_CPU_X86_64)
return reinterpret_cast<void*>(__readgsqword(offsetof(NT_TIB64, StackBase)));
#elif defined(ARCH_CPU_X86)
return reinterpret_cast<void*>(__readfsdword(offsetof(NT_TIB, StackBase)));
#elif defined(ARCH_CPU_ARM64)
ULONG_PTR lowLimit, highLimit;
::GetCurrentThreadStackLimits(&lowLimit, &highLimit);
return reinterpret_cast<void*>(highLimit);
#endif
--- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-p…
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=44499
Bug ID: 44499
Summary: BattlEye 'BEDaisy' kernel service crashes on
unimplemented function
ntoskrnl.exe.PsSetCreateProcessNotifyRoutineEx
Product: Wine
Version: 3.1
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ntoskrnl
Assignee: wine-bugs(a)winehq.org
Reporter: focht(a)gmx.net
Distribution: ---
Hello folks,
continuation of bug 44497
The kernel driver uses multiple methods to implement process
protection/supervision.
* ObRegisterCallbacks
* ObUnRegisterCallbacks
* ObGetFilterVersion
-> covered by bug 44497
Another method:
* PsSetCreateProcessNotifyRoutineEx
Example kernel driver code to show how the API is being used:
https://github.com/Microsoft/Windows-driver-samples/tree/master/general/obc…
--- quote ---
ObCallback Callback Registration Driver
The ObCallback sample driver demonstrates the use of registered callbacks for
process protection. The driver registers control callbacks which are called at
process creation.
Design and Operation
The sample exercises both the PsSetCreateProcessNotifyRoutineEx and the
ObRegisterCallbacks routines. The first example uses the ObRegisterCallbacks
routine and a callback to restrict requested access rights during a open
process action. The second example uses the PsSetCreateProcessNotifyRoutineEx
routine to reject a process creation by examining the command line.
--- quote ---
Another article:
https://malwaretips.com/threads/av-self-protection-process-c-c.66200/
For BattlEye 'BEDaisy' service to succeed the driver init routine it is enough
to implement a stub for 'PsSetCreateProcessNotifyRoutineEx' like it was done
with 'PsSetCreateProcessNotifyRoutine' -> return STATUS_SUCCESS
https://source.winehq.org/git/wine.git/blob/354fa7eb7921c3317e7943c18871feb…
--- snip ---
2381 /***********************************************************************
2382 * PsSetCreateProcessNotifyRoutine (NTOSKRNL.EXE.@)
2383 */
2384 NTSTATUS WINAPI PsSetCreateProcessNotifyRoutine(
PCREATE_PROCESS_NOTIFY_ROUTINE callback, BOOLEAN remove )
2385 {
2386 FIXME( "stub: %p %d\n", callback, remove );
2387 return STATUS_SUCCESS;
2388 }
--- snip ---
$ sha1sum Tibia_Setup.exe
50951008ccc402cc32407bfc56a88da873e3e9bd Tibia_Setup.exe
$ du -sh Tibia_Setup.exe
5.2M Tibia_Setup.exe
$ wine --version
wine-3.1-193-g354fa7eb79
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.