https://bugs.winehq.org/show_bug.cgi?id=48981
Bug ID: 48981
Summary: Riot Vanguard (Riot Games) needs Microsoft Kernel Mode
Cryptographic Primitives Library 'cng.sys'
Product: Wine
Version: 5.6
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,
as it says. There are some fixes required prior to come to this place. I'll
create/reference more bug reports later for them.
There is a public document which describes the module and the API:
https://csrc.nist.gov/csrc/media/projects/cryptographic-module-validation-p…
--- quote ---
Microsoft Windows7 Kernel Mode Cryptographic Primitives Library (cng.sys)
Microsoft Windows 7 Operating System
FIPS 140-2 Security Policy Document
This document specifies the security policy for the Microsoft Kernel Mode
Cryptographic Primitives Library (CNG.SYS) as described in FIPS PUB 140-2.
January 16, 2013
Document Version: 2.2
--- quote ---
--- snip ---
...
The vgk service is starting.
002d:trace:loaddll:load_native_dll Loaded
L"C:\\windows\\system32\\kernelbase.dll" at 0x7b000000: PE builtin
002d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\kernel32.dll" at
0x7b410000: builtin
002d:trace:loaddll:load_native_dll Loaded
L"C:\\windows\\system32\\winedevice.exe" at 0x140000000: PE builtin
002d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\advapi32.dll" at
0x7f39a2c80000: builtin
002d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\msvcrt.dll" at
0x7f39a2aa0000: builtin
002d:trace:loaddll:load_native_dll Loaded
L"C:\\windows\\system32\\ntoskrnl.exe" at 0x180000000: PE builtin
002d:trace:loaddll:load_so_dll Loaded L"C:\\windows\\system32\\ucrtbase.dll" at
0x7f39a2970000: builtin
002d:trace:loaddll:load_native_dll Loaded L"C:\\windows\\system32\\rpcrt4.dll"
at 0x9b0000: PE builtin
002f:trace:ntoskrnl:ZwLoadDriver
(L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\vgk")
002f:trace:ntoskrnl:open_driver opened service for driver
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\vgk"
002f:trace:ntoskrnl:IoCreateDriver (L"\\Driver\\vgk", 00000001800132F0)
002f:trace:ntoskrnl:load_driver loading driver L"C:\\Program Files\\Riot
Vanguard\\vgk.sys"
002f:err:module:import_dll Library cng.sys (which is needed by L"C:\\Program
Files\\Riot Vanguard\\vgk.sys") not found
002f:trace:ntoskrnl:IoDeleteDriver (0000000000723070)
002f:trace:ntoskrnl:ObDereferenceObject (0000000000723070) ref=0
002f:err:ntoskrnl:ZwLoadDriver failed to create driver
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\vgk": c0000142
DLL initialization failed.
--- snip ---
Only two 'cng.sys' functions are currently imported:
--- snip ---
$ winedump -j import vgk.sys
Contents of vgk.sys: 3196560 bytes
Import Table size: 00000050
offset 0001e090 cng.sys
Hint/Name Table: 00022108
TimeDateStamp: 00000000 (Thu Jan 1 01:00:00 1970)
ForwarderChain: 00000000
First thunk RVA: 0001B028
Thunk Ordn Name
0001b028 8 BCryptDestroyHash
0001b030 1 BCryptCloseAlgorithmProvider
...
Done dumping vgk.sys
--- snip ---
$ wine --version
wine-5.6-258-gf31a29b8d1
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=51684
Bug ID: 51684
Summary: quartz:systemclock gets out of order timestamps on
Windows
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Windows
Status: NEW
Severity: normal
Priority: P2
Component: quartz
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
quartz:systemclock fails almost systematically on Windows because it gets out
of order timestamps:
systemclock.c:191: Test failed: Got timestamps 7810060000, 7810000000,
7810060000.
https://test.winehq.org/data/patterns.html#quartz:systemclock
This happens on Windows 7 to Windows 10 21H1, on real hardware as well as in
the VMs.
This test was introduced by the following commit:
commit ff231dad75dd9e9dccba52ec41e1a5eb879b9cdc
Author: Zebediah Figura <zfigura(a)codeweavers.com>
AuthorDate: Mon Jul 19 22:25:26 2021 -0500
quartz/tests: Check that system clock measurements are in sequence instead
of comparing absolute time.
Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
The issue was also reported by the TestBot at the time:
https://www.winehq.org/pipermail/wine-devel/2021-July/190951.html
--
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=51677
Bug ID: 51677
Summary: Resident Evil 4 HD crashes when gameplay starts
Product: Wine
Version: 6.10
Hardware: x86-64
OS: Linux
Status: NEW
Keywords: regression
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
CC: z.figura12(a)gmail.com
Regression SHA1: 79c102d6bec81b79e10290f23e9ac3816da6b58f
Distribution: ---
wine: Unhandled page fault on execute access to 7D25CD50 at address 7D25CD50
(thread 0024), starting debugger...
Last good commit is 6b277dc89d5532b83dc4116d7eba70e88d508fa0
Next 308a5e7c4d01525184b057058949c68c0ee77dba makes the game unable to launch.
308a5e7c4d01525184b057058949c68c0ee77dba +
79c102d6bec81b79e10290f23e9ac3816da6b58f cause this issue.
--
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=46472
Bug ID: 46472
Summary: Linux kernel 4.19 breaks startup of BO2 due to change
in PTRACE_POKEUSER hw breakpoint behavior
Product: Wine
Version: 4.0-rc6
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: troyb(a)us.ibm.com
Distribution: ---
Created attachment 63297
--> https://bugs.winehq.org/attachment.cgi?id=63297
linux 4.19 commit bd14406b78e6daa1ea3c1673bda1ffc9efdeead0
I bisected Linux 4.18 to 4.19 to find this commit which stops BO2 from
launching under any version of wine from 3.12 to 4.0-rc6, attachment below.
For convenience I hand-reverted the file kernel/events/hw_breakpoint.c as
follows :
/**
* modify_user_hw_breakpoint - modify a user-space hardware breakpoint
* @bp: the breakpoint structure to modify
* @attr: new breakpoint attributes
*/
int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr
*attr)
{
int err;
/*
* modify_user_hw_breakpoint can be invoked with IRQs disabled and
hence it
* will not be possible to raise IPIs that invoke __perf_event_disable.
* So call the function directly after making sure we are targeting the
* current task.
*/
if (irqs_disabled() && bp->ctx && bp->ctx->task == current)
perf_event_disable_local(bp);
else
perf_event_disable(bp);
#if 0
/* new logic : >= kernel 4.19 */
err = modify_user_hw_breakpoint_check(bp, attr, false);
if (!bp->attr.disabled)
perf_event_enable(bp);
return err;
#else
/* old logic : <kernel 4.19 */
if (!attr->disabled) {
err = modify_user_hw_breakpoint_check(bp, attr, false);
if (err)
return err;
perf_event_enable(bp);
bp->attr.disabled=0;
}
return 0;
#endif
}
I examined some wine source code and found many instance of use of
PTRACE_POKUSER. I don't know enough about this function to know if this kernel
commit directly breaks the wine code, or some other fault in wine code is
indirectly triggering the problem. Using "old logic" in the file
hw_breakpoints above enables kernel 4.19 to start BO2 with 4.0-rc6 (and most
likely others).
--
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=50088
Bug ID: 50088
Summary: Memento Mori needs WMReaderAdvanced2_OpenStream
Product: Wine
Version: 5.20
Hardware: x86-64
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: wmp&wmvcore
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
Error: "Cannot initialize windows media video playback."
fixme:wmvcore:WMReaderAdvanced2_OpenStream (0855A508)->(0844E1A0 0844E668
0844E668)
Works after installing WMP10.
wine-5.20-141-g03eaa2cc93e
--
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=48791
Bug ID: 48791
Summary: Multiple games have sound stuttering when using FAudio
(Sniper Elite series, Resident Evil 0 HD Remaster,
Homesick)
Product: Wine
Version: 5.4
Hardware: x86-64
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: xaudio2
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
For Sniper Elite V2 and 3 after starting a new game sound in an intro gets
stuttering after a while.
Resident Evil has stuttering during dialogs only. (starts after
d98fda29bbd60053885a63706e268edb8fe536ed)
--
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=46801
Bug ID: 46801
Summary: Hitman: Sniper Challenge crashes on startup when using
FAudio
Product: Wine
Version: 4.3
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: xaudio2
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
Created attachment 63822
--> https://bugs.winehq.org/attachment.cgi?id=63822
backtrace
mmap() failed: Cannot allocate memory
Failed to create permanent mapping for memfd region with ID = 2770054660
Ignoring received block reference with non-registered memfd ID = 2770054660
wine-4.3-188-gab7756619c
--
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=51719
Bug ID: 51719
Summary: _pclose() does not cause child stdin to report EOF
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
Assignee: wine-bugs(a)winehq.org
Reporter: andres(a)winehq.anarazel.de
Distribution: ---
Created attachment 70602
--> https://bugs.winehq.org/attachment.cgi?id=70602
regression test showing the bug
Hi,
Normally when the write end of a pipe is closed, the read end should see that
upon further reads. However wine's _popen()/_pclose() do not work that way - a
child's read from stdin blocks after the parent's _pclose().
I've attached a patch to the tests to show the problem. The tests hang, but
should succeed.
I reproduced this on git commit 8b9f1e12841298591387e2b7590191610a37986e
Regards,
Andres
PS: I encountered this because I was trying to fix a bug in the windows port of
postgres without having to use windows...
--
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=46000
Bug ID: 46000
Summary: Crash in _FindAndUnlinkFrame+0x72() in ucrtbase
(0x0033f128) with SuperTux 0.6.0 nightly build
Product: Wine
Version: 3.18
Hardware: x86-64
OS: Mac OS X
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ucrtbase
Assignee: wine-bugs(a)winehq.org
Reporter: tobbi.bugs(a)googlemail.com
Created attachment 62568
--> https://bugs.winehq.org/attachment.cgi?id=62568
backtrace
When trying to start a SuperTux Nightly build using wine 3.18, it crashes
immediately at launch.
$ openssl sha256 SuperTux-v0.5.1-1071-g1778d0aa6-win32.msi
SHA256(SuperTux-v0.5.1-1071-g1778d0aa6-win32.msi)=
b1619d9b964ec6fa858e0310f62728b978a3bf5b00cdc1689398b5c8ae3188a8
$ wine --version
wine-3.18
Download:
https://ci.appveyor.com/project/supertux/supertux-9ml4d/builds/19503980/art…
Alternative Download:
http://tobbi.bplaced.net/krams/SuperTux-v0.5.1-1071-g1778d0aa6-win32.msi
--
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=43546
Bug ID: 43546
Summary: Image manipulation in astrotoaster causes repeatable
crash
Product: Wine
Version: 2.13
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: jh.xsnrg(a)gmail.com
Distribution: ---
Created attachment 58949
--> https://bugs.winehq.org/attachment.cgi?id=58949
astrotoaster crash backtrace
Astrotoaster runs with default settings, but trying to manipulate and convert
images, the attached backtrace is created every time.
Works fine in native windows and windows VMs.
To reproduce, download (free) astrotoaster application:
http://www.astrotoaster.com/download/SetupAstroToaster_205a.msi?attredirect…
put a couple fits files in a folder from a set for image stacking, and
configure the image directory in the application to point to the folder with
the fits files in it.
Click on the buttons labeled "monitor", "refresh" and "stack"
A viewer window will pop up with a dark image that needs adjusting. Click the
color adj button and move the "expand" slider to any value, then click the
"apply E/G" button to reproduce the crash. It may have already crashed before
this.
convert.exe is the module with the crash.
--
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.