https://bugs.winehq.org/show_bug.cgi?id=55744
Bug ID: 55744
Summary: psapi:psapi_main fails on Debian 11
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: psapi
Assignee: wine-bugs(a)winehq.org
Reporter: fgouget(a)codeweavers.com
Distribution: ---
psapi:psapi_main fails on Debian 11:
Pure 32-bit case:
psapi_main.c:105: Test failed: hMod=7BD20000 GetModuleHandleA(NULL)=00400000
psapi_main.c:121: Test failed: hMod=7BD20000 GetModuleHandleA(NULL)=00400000
psapi_main.c:406: Test failed: hMod=7BD20000 GetModuleHandleA(NULL)=00400000
psapi_main.c:1018: Test failed: szModExPath="C:\windows\system32\ntdll.dll"
szModPath="C:\users\winetest\Temp\wct\psapi_test.exe"
psapi_main.c:1079: Test failed:
szModPath="C:\users\winetest\Temp\wct\psapi_test.exe" szModBaseName="ntdll.dll"
64-bit Windows-on-Windows:
psapi_main.c:105: Test failed: hMod=00006FFFFFC60000
GetModuleHandleA(NULL)=0000000000400000
psapi_main.c:121: Test failed: hMod=00006FFFFFC60000
GetModuleHandleA(NULL)=0000000000400000
psapi_main.c:163: Test failed: got ntdll.dll
psapi_main.c:167: Test failed: got C:\windows\system32\ntdll.dll
psapi_main.c:406: Test failed: hMod=00006FFFFFC60000
GetModuleHandleA(NULL)=0000000000400000
psapi_main.c:346: Test failed: self: 2: expecting psapi_test.exe but got
ntdll.dll
psapi_main.c:349: Test failed: self: 2: expecting
C:\users\winetest\Temp\wct\psapi_test.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:346: Test failed: self: 0: expecting psapi_test.exe but got
ntdll.dll
psapi_main.c:349: Test failed: self: 0: expecting
C:\users\winetest\Temp\wct\psapi_test.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:346: Test failed: self: 3: expecting psapi_test.exe but got
ntdll.dll
psapi_main.c:349: Test failed: self: 3: expecting
C:\users\winetest\Temp\wct\psapi_test.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:346: Test failed: pcs-6464: 2: expecting msinfo32.exe but got
ntdll.dll
psapi_main.c:349: Test failed: pcs-6464: 2: expecting
C:\windows\system32\msinfo32.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:346: Test failed: pcs-6464: 0: expecting msinfo32.exe but got
ntdll.dll
psapi_main.c:349: Test failed: pcs-6464: 0: expecting
C:\windows\system32\msinfo32.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:346: Test failed: pcs-6464: 3: expecting msinfo32.exe but got
ntdll.dll
psapi_main.c:349: Test failed: pcs-6464: 3: expecting
C:\windows\system32\msinfo32.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:519: Test failed: pcs-6432: default and all module list should
match
psapi_main.c:346: Test failed: pcs-6432: 1: expecting msinfo32.exe but got
ntdll.dll
psapi_main.c:349: Test failed: pcs-6432: 1: expecting
C:\windows\syswow64\msinfo32.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:346: Test failed: pcs-6432: 0: expecting msinfo32.exe but got
ntdll.dll
psapi_main.c:349: Test failed: pcs-6432: 0: expecting
C:\windows\syswow64\msinfo32.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:346: Test failed: pcs-6432: 3: expecting msinfo32.exe but got
ntdll.dll
psapi_main.c:349: Test failed: pcs-6432: 3: expecting
C:\windows\syswow64\msinfo32.exe but got C:\windows\system32\ntdll.dll
psapi_main.c:1018: Test failed: szModExPath="C:\windows\system32\ntdll.dll"
szModPath="C:\users\winetest\Temp\wct\psapi_test.exe"
psapi_main.c:1079: Test failed:
szModPath="C:\users\winetest\Temp\wct\psapi_test.exe" szModBaseName="ntdll.dll"
See https://test.winehq.org/data/patterns.html#psapi:psapi_main
A bisect shows that these failures started with the commit below:
commit de81e2ea41b27a14f88177639c5b5d35a210b5bd
Author: Alexandre Julliard <julliard(a)winehq.org>
AuthorDate: Fri Oct 6 15:08:02 2023 +0200
ntdll: Only create the main module on the 32-bit side for wow64.
--
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=9127
--- Comment #123 from Alberto Salvia Novella <es20490446e(a)gmail.com> ---
Ah sorry, I forgot it was marked as non duplicate in the past.
--
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=9127
--- Comment #122 from Bartosz <gang65(a)poczta.onet.pl> ---
bug 53726 is already reopened.
--
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=9127
--- Comment #121 from Alberto Salvia Novella <es20490446e(a)gmail.com> ---
I need someone to reopen the Silent Hill bug.
--
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=9127
--- Comment #120 from Bartosz <gang65(a)poczta.onet.pl> ---
The issue for Silent Hill 4 is covered with bug 53726.
The root cause of problem is different, and it should be solved there.
--
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=9127
soredake <broaden_acid002(a)simplelogin.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|broaden_acid002@simplelogin |
|.com |
--
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=9127
--- Comment #119 from Alberto Salvia Novella <es20490446e(a)gmail.com> ---
@Alexandre Julliard
Still happening to me on Wine 8.1 with Silent Hill 4:
https://bugs.winehq.org/show_bug.cgi?id=53726#add_comment
If I remove:
- gst-plugins-good
- gst-plugins-bad
- lib32-gst-plugins-good
- lib32-gst-plugins-bad
- lib32-gst-plugins-base
The video no longer works, and the game hangs.
--
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=9127
Alberto Salvia Novella <es20490446e(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julliard(a)winehq.org
--
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=9127
--- Comment #118 from Alberto Salvia Novella <es20490446e(a)gmail.com> ---
Still happening to me on Wine 8.1 with Silent Hill 4:
https://bugs.winehq.org/show_bug.cgi?id=53726#add_comment
If I remove:
- gst-plugins-good
- gst-plugins-bad
- lib32-gst-plugins-good
- lib32-gst-plugins-bad
- lib32-gst-plugins-base
The video no longer works, and the game hangs.
--
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=53905
Bug ID: 53905
Summary: widl: support MIDL 3.0 and WinMD output
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Windows
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tools
Assignee: wine-bugs(a)winehq.org
Reporter: alvin(a)alvinhc.com
C++/WinRT (cppwinrt):
https://github.com/microsoft/cppwinrt
It is currently impossible to build the custom components in the cppwinrt test
suite with mingw-w64. For this to work, widl needs to:
- understand MIDL 3.0 syntax,
- generate the ABI header (not required if only using C++/WinRT projection),
- produce .winmd metadata of the component,
- read existing system .winmd metadata (not sure if actually needed).
The MIDL command line for this:
midl.exe /metadata_dir C:\Windows\System32\WinMetadata /winrt /winmd
"D:\a\cppwinrt\cppwinrt\_build\x64\Debug\test_component.winmd" /h
"D:\a\cppwinrt\cppwinrt\_build\x64\Debug\test_component.h" /ns_prefix /nomidl
test_component.idl
## MIDL 3.0
https://learn.microsoft.com/en-us/uwp/midl-3/intro
What I can tell is missing widl so far:
- MIDL 3.0 uses different basic type names (e.g. Int32, String)
- Attribute types, and using custom attributes
Example file:
https://github.com/microsoft/cppwinrt/blob/5ca626adae21be363399b44d2b6a9ab3…
> widl --winrt -h -H out/test_component.h --ns_prefix test_component.idl
test_component.idl:5: error: syntax error, unexpected aIDENTIFIER,
expecting ',' or ']'
(widl version 7.7 from mingw-w64)
## WinMD metadata
https://learn.microsoft.com/en-us/uwp/winrt-cref/winmd-files
These are CLR (think .NET and ECMA 335) assemblies used as a replacement for
the old typelib files.
--
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.