Bug 266371 - emulators/wine-devel: cannot even get winecfg to run in 7.17
Summary: emulators/wine-devel: cannot even get winecfg to run in 7.17
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-11 19:49 UTC by alt2600
Modified: 2022-11-28 21:07 UTC (History)
6 users (show)

See Also:
bugzilla: maintainer-feedback? (damjan.jov)


Attachments
wine64 diablo2 pid loadall (26.24 KB, text/plain)
2022-09-29 00:38 UTC, alt2600
no flags Details
wine diablo2 pid loadall (28.89 KB, text/plain)
2022-09-29 00:39 UTC, alt2600
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description alt2600 2022-09-11 19:49:16 UTC
7.15 wine control.exe would not work, 32 bit was still an issue, but now winecfg won't even run, and I can confirm this is the 64 bit version as I have to do a killall wine64.bin to clear this hang and get back to a prompt. using amd64 13.1p1 . nvidia drivers 470 . not sure it matters but under kde, I only say because kde has been acting up for a while too, not always starting the first try of startx . I might just drop back to regular emulator/wine , wondering if that will get updated anytime to at least wine 7.0 . wondering if all this 32bit thunking is messing up the dual arch install, is it time to start doing pe builds?


$ winecfg
0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
003c:fixme:ntdll:create_logical_proc_info stub
003c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:ntdll:create_logical_proc_info stub
0048:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
006c:fixme:ntdll:create_logical_proc_info stub
006c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:ntdll:create_logical_proc_info stub
0090:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a8:fixme:ntdll:create_logical_proc_info stub
00a8:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00b0:fixme:ntdll:create_logical_proc_info stub
00b0:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00c8:fixme:ntdll:create_logical_proc_info stub
00c8:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00dc:fixme:ntdll:create_logical_proc_info stub
00dc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0104:fixme:ntdll:create_logical_proc_info stub
0104:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
010c:fixme:ntdll:create_logical_proc_info stub
010c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0104:err:msg:get_server_queue_handle Cannot get server thread queue
0104:err:win:get_desktop_window failed to create desktop window
0114:fixme:ntdll:create_logical_proc_info stub
0114:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0104:err:msg:get_server_queue_handle Cannot get server thread queue
0104:err:win:get_desktop_window failed to create desktop window
Comment 1 Damjan Jovanovic 2022-09-12 00:55:44 UTC
(In reply to alt2600 from comment #0)

Try "wine64 winecfg" on a clean WINEPREFIX.

If not, also try:
sysctl kern.elf32.aslr.enable=0
sysctl kern.elf64.aslr.enable=0


> 0104:err:msg:get_server_queue_handle Cannot get server thread queue
> 0104:err:win:get_desktop_window failed to create desktop window

This could be the problem.

> is it time to start doing pe builds?

The Port has already been doing PE builds since wine-devel 7.1.
Comment 2 alt2600 2022-09-12 02:36:57 UTC
(In reply to Damjan Jovanovic from comment #1)

wine64 winecfg 
and 
wine64 control.exe
even inside an existing prefix

wine generic_64bit_app.exe works too.

work, 32 bit still doesn't. always fails with that fails to create desktop window message. 64 bit still seems to work ok.
Comment 3 Patricio Villar 2022-09-15 23:48:56 UTC
Same here. 32-bit wine apps don't open and dmesg shows something like "stack overflow detected in explorer.exe".

Can confirm emulators/wine v6.0.4_1,1 is not affected. 

FreeBSD 13.1-RELEASE-p2
Comment 4 alt2600 2022-09-28 01:31:34 UTC
7.17 continues to not work, aslr not enabled for elf32 nor elf64. 32bit thunks cannot be loaded as the wine run below shows, wine64 can make a prefix and assuming it can run 64 bit, but at this point I'm dropping back to the older wine version I think. somethings is stopping the 32bit libraries from loading at all. It speaks of trying to load the wine debugger in both fresh prefix creations, but in no case did it ever run. Perhaps this is presumeably I don't have winedb installed. It must have crashed in the background. I might look through the old git history to get wine to v 7.0ish and submit a patch. I know 7 had more compatability with 64 bit stuff than 6.04 had, at least for me. In both cases it could not get mono 2.0 which I presume is like .NET Core equivelent into either prefix, but the wine64 bit run at least launched winecfg. 

in wine-devel 7.17 attempting to do fresh prefix. wine winecfg

hostname@~/adm/pkgs|$ wine winecfg
wine: created the configuration directory '/home/userdude/.wine'
0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0040:fixme:ntdll:create_logical_proc_info stub
0040:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:ntdll:create_logical_proc_info stub
0048:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:ntdll:create_logical_proc_info stub
0050:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:fixme:imm:ImeSetActiveContext (0000000000020022, 0): stub
0048:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000020022): stub
002c:fixme:imm:ImeSetActiveContext (000000000001004C, 1): stub
002c:fixme:imm:ImmReleaseContext (000000000001004A, 000000000001004C): stub
0068:fixme:ntdll:create_logical_proc_info stub
0068:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
008c:fixme:ntdll:create_logical_proc_info stub
008c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
008c:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0094:fixme:ntdll:create_logical_proc_info stub
0094:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0094:fixme:file:NtLockFile I/O completion on lock not implemented yet
0094:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:fixme:ntdll:create_logical_proc_info stub
009c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
009c:fixme:file:NtLockFile I/O completion on lock not implemented yet
009c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:fixme:ntdll:create_logical_proc_info stub
00a4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00ac:fixme:ntdll:create_logical_proc_info stub
00ac:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a4:err:system:update_display_cache failed to read display config
00a4:err:module:LdrInitializeThunk "comctl32.dll" failed to initialize, aborting
00a4:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\mono\\mono-2.0\\support\\removeuserinstalls-x86.exe" failed, status c0000005
009c:err:msi:execute_script Execution of script 0 halted; action L"REMOVEUSERINSTALLS" returned 1627
009c:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1627
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00b4:fixme:ntdll:create_logical_proc_info stub
00b4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00ac:fixme:imm:ImeSetActiveContext (000000000001009C, 1): stub
00ac:fixme:imm:ImmReleaseContext (0000000000020094, 000000000001009C): stub
00c4:fixme:ntdll:create_logical_proc_info stub
00c4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00dc:fixme:ntdll:create_logical_proc_info stub
00dc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00f8:fixme:ntdll:create_logical_proc_info stub
00f8:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00f8:err:system:update_display_cache failed to read display config
wine: Unhandled page fault on read access to 0000000C at address 62853B2B (thread 00f8), starting debugger...
00f8:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 244 68" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
0108:fixme:ntdll:create_logical_proc_info stub
0108:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: configuration in L"/home/userdude/.wine" has been updated.
wine: could not load kernel32.dll, status c0000135
hostname@~/adm/pkgs|$ 0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0138:fixme:ntdll:create_logical_proc_info stub
0138:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.


same thing fresh prefix doing wine64 winecfg

hostname@~/adm/pkgs|$ wine64 winecfg
wine: created the configuration directory '/home/userdude/.wine'
0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0040:fixme:ntdll:create_logical_proc_info stub
0040:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:ntdll:create_logical_proc_info stub
0048:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:ntdll:create_logical_proc_info stub
0050:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:fixme:imm:ImeSetActiveContext (0000000000020022, 0): stub
0048:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000020022): stub
002c:fixme:imm:ImeSetActiveContext (000000000001005A, 1): stub
002c:fixme:imm:ImmReleaseContext (0000000000010058, 000000000001005A): stub
0068:fixme:ntdll:create_logical_proc_info stub
0068:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
008c:fixme:ntdll:create_logical_proc_info stub
008c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
008c:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0094:fixme:ntdll:create_logical_proc_info stub
0094:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0094:fixme:file:NtLockFile I/O completion on lock not implemented yet
0094:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:fixme:ntdll:create_logical_proc_info stub
009c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
009c:fixme:file:NtLockFile I/O completion on lock not implemented yet
009c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
009c:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:fixme:ntdll:create_logical_proc_info stub
00a4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00ac:fixme:ntdll:create_logical_proc_info stub
00ac:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a4:err:system:update_display_cache failed to read display config
00a4:err:module:LdrInitializeThunk "comctl32.dll" failed to initialize, aborting
00a4:err:module:LdrInitializeThunk Initializing dlls for L"C:\\windows\\mono\\mono-2.0\\support\\removeuserinstalls-x86.exe" failed, status c0000005
009c:err:msi:execute_script Execution of script 0 halted; action L"REMOVEUSERINSTALLS" returned 1627
009c:err:msi:ITERATE_Actions Execution halted, action L"InstallFinalize" returned 1627
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00b4:fixme:ntdll:create_logical_proc_info stub
00b4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00ac:fixme:imm:ImeSetActiveContext (000000000001009C, 1): stub
00ac:fixme:imm:ImmReleaseContext (0000000000020094, 000000000001009C): stub
00c4:fixme:ntdll:create_logical_proc_info stub
00c4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00dc:fixme:ntdll:create_logical_proc_info stub
00dc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00f8:fixme:ntdll:create_logical_proc_info stub
00f8:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00f8:err:system:update_display_cache failed to read display config
wine: Unhandled page fault on read access to 0000000C at address 62853B2B (thread 00f8), starting debugger...
00f8:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 244 68" (2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
0108:fixme:ntdll:create_logical_proc_info stub
0108:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: configuration in L"/home/userdude/.wine" has been updated.
0124:fixme:ntdll:create_logical_proc_info stub
0124:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0118:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
013c:fixme:ntdll:create_logical_proc_info stub
013c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
013c:fixme:imm:ImeSetActiveContext (000000000002005E, 1): stub
013c:fixme:imm:ImmReleaseContext (000000000003004C, 000000000002005E): stub
Comment 5 Damjan Jovanovic 2022-09-28 02:10:28 UTC
Are you using the package or building from the port?
What build options did you use?
uname -a
LIBGL_ALWAYS_INDIRECT=1 wine64 winecfg
WINEDEBUG='+pid,+loaddll' wine64 winecfg
maybe also:
WINEDEBUG='+pid,trace+all' wine64 winecfg &> /tmp/huge_log.txt
Comment 6 alt2600 2022-09-29 00:36:53 UTC
(In reply to Damjan Jovanovic from comment #5)

ports, default options. i386 libraries from local poudriere off the same ports tree and distfiles

Options Default=
 GNUTLS OPENAL OSS X11


FreeBSD computer.hidden.org 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 releng/13.1-n250158-752f813d6ccc CUSTOM amd64

wine64 stuff is working, wine launching 64bit only apps works. e, the wow64 scripts dispatch to the right wine binary, but wine cannot run winecfg, only wine64 can. I perhaps wasn't very clear. but even in the fresh prefix, there seemed to be errors with mono-2.0 and loading the 32bit dlls in the prefix prep, which may or may not be issues, not sure.

wine Diablo\ II.exe will not work. My Xorg is configured to allow indirect GLX, but wine64 winecfg works.  Forcing indirect opengl didn't fix it with that environment option. I'll attach the logs as they are too much for copy paste. I cannot attach the trace+all one it produces a 250 meg log in about 30 seconds. far as I can tell dll's appear to be loading, but it cannot attach to the server nor create a desktop window when using 32 bit apps.

I took a stab at wine to 7.0, going to give it a second go after pulling the wine-devel 7.0rc6 stuff from the repo, just want to clean it a bit. looks like it will require upping mono, but that will be a separate report against emulators/wine once I get it building in ports and poudriere for 32 bit and running diablo again.
Comment 7 alt2600 2022-09-29 00:38:24 UTC
Created attachment 236932 [details]
wine64 diablo2 pid loadall

wine64 with debug to launch diablo 2
Comment 8 alt2600 2022-09-29 00:39:00 UTC
Created attachment 236933 [details]
wine diablo2 pid loadall

wine with debug launching diablo 2
Comment 9 Patricio Villar 2022-10-23 13:03:18 UTC
(In reply to Patricio Villar from comment #3)
Just FYI, now that emulators/wine was updated to v7.0,1 this problem is gone :)
Comment 10 Graham Perrin ◐ 2022-10-23 14:50:12 UTC
(In reply to Patricio Villar from comment #9)

I had not previously tested, but (now) yes, emulators/wine winecfg does work (on FreeBSD 14.0-CURRENT). 

% winecfg -v
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
win10
% wine client error:b8: write: Bad file descriptor

% pkg info -x wine
wine-7.0,1
wine-proton-6.3.2_6
winetricks-20220411
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #23 main-n258470-661faa1f77c0: Thu Oct  6 21:47:17 BST 2022     grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400072 1400072
%
Comment 11 Graham Perrin ◐ 2022-10-23 15:18:13 UTC
At a different computer, with a fresh installation of emulators/wine-devel

* winecfg does not work

* re: comment #1,    wine64 winecfg    does work 
  (with fixme lines visible in the terminal)
Comment 12 Fernando Apesteguía freebsd_committer 2022-10-24 12:46:25 UTC
Can any of the original posters confirm if the problem persists?
Comment 13 alt2600 2022-10-24 21:59:34 UTC
(In reply to Fernando Apesteguía from comment #12)

seems to be worse now. on a fresh prefix running 
winecfg

creates a prefix but fails to open winecfg
wine winecfg doesn't work
wine64 winecfg loads

no windows programs work, not in 32 bit nor 64 bit mode. both essentially throw this error, cannot load kernel32.dll seems to be a major problem.

this is from a ports tree current as of with live built wine-devel and poudriere built i386 version. With all the 32bit being wrapped into 64 bit do we  still even need as much i386 version? could they be conflicting with each other now?

commit 819bf69c15605e1e31998c91fb3fd02d5bc9fa0f (HEAD -> main, origin/main, origin/HEAD)
Author: Mark Millard <marklmi26-fbsd@yahoo.com>
Date:   Fri Oct 21 23:47:14 2022 +0200


0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
003c:fixme:ntdll:create_logical_proc_info stub
003c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:ntdll:create_logical_proc_info stub
0048:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
006c:fixme:ntdll:create_logical_proc_info stub
006c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
008c:fixme:ntdll:create_logical_proc_info stub
008c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0098:fixme:ntdll:create_logical_proc_info stub
0098:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00b0:fixme:ntdll:create_logical_proc_info stub
00b0:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
wine: could not load kernel32.dll, status c0000135
Comment 14 Alexander Vereeken 2022-11-28 18:17:31 UTC
Hello,

i am able to open winecfg using wine-devel 7.21

log:

Alexander88207@Home:/usr/home/Alexander88207 $ winecfg
wine: created the configuration directory '/home/Alexander88207/.wine'
0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
002c:fixme:ntdll:get_firmware_info info_class SYSTEM_FIRMWARE_TABLE_INFORMATION
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0038:fixme:thread:set_native_thread_name not implemented on this platform
0040:fixme:ntdll:create_logical_proc_info stub
0040:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:ntdll:create_logical_proc_info stub
0048:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:ntdll:create_logical_proc_info stub
0050:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:fixme:imm:ImeSetActiveContext (000000000001002E, 0): stub
0048:fixme:imm:ImmReleaseContext (0000000000010020, 000000000001002E): stub
002c:fixme:imm:ImeSetActiveContext (0000000000010056, 1): stub
002c:fixme:imm:ImmReleaseContext (0000000000010054, 0000000000010056): stub
0068:fixme:ntdll:create_logical_proc_info stub
0068:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0078:fixme:thread:set_native_thread_name not implemented on this platform
008c:fixme:ntdll:create_logical_proc_info stub
008c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
008c:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
0094:fixme:ntdll:create_logical_proc_info stub
0094:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0094:fixme:imm:ImeSetActiveContext (0000000000010088, 1): stub
0094:fixme:imm:ImmReleaseContext (0000000000010090, 0000000000010088): stub
0094:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0098:fixme:thread:set_native_thread_name not implemented on this platform
0094:fixme:file:NtLockFile I/O completion on lock not implemented yet
0094:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
0094:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:fixme:ntdll:create_logical_proc_info stub
00a4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a4:fixme:file:NtLockFile I/O completion on lock not implemented yet
00a4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
00ac:fixme:ntdll:create_logical_proc_info stub
00ac:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00b4:fixme:ntdll:create_logical_proc_info stub
00b4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00bc:fixme:ntdll:create_logical_proc_info stub
00bc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00c4:fixme:ntdll:create_logical_proc_info stub
00c4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
00a4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0094:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00b4:fixme:imm:ImeSetActiveContext (00000000000100B6, 1): stub
00b4:fixme:imm:ImmReleaseContext (00000000000200AE, 00000000000100B6): stub
00cc:fixme:ntdll:create_logical_proc_info stub
00cc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00dc:fixme:ntdll:create_logical_proc_info stub
00dc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00ec:fixme:thread:set_native_thread_name not implemented on this platform
00f4:fixme:ntdll:create_logical_proc_info stub
00f4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0100:fixme:thread:set_native_thread_name not implemented on this platform
0110:fixme:ntdll:create_logical_proc_info stub
0110:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0110:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0118:fixme:ntdll:create_logical_proc_info stub
0118:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0128:fixme:ntdll:create_logical_proc_info stub
0128:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0134:fixme:thread:set_native_thread_name not implemented on this platform
0138:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: configuration in L"/home/Alexander88207/.wine" has been updated.
0138:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0138:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0138:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
014c:fixme:ntdll:create_logical_proc_info stub
014c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
015c:fixme:ntdll:create_logical_proc_info stub
015c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0164:fixme:ntdll:create_logical_proc_info stub
0164:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0164:fixme:imm:ImeSetActiveContext (0000000000050040, 1): stub
0164:fixme:imm:ImmReleaseContext (0000000000050024, 0000000000050040): stub
Comment 15 Alexander Vereeken 2022-11-28 21:07:08 UTC
BTW, while here...

I found out that procfs is still needed somewhere.

Sea of thieves needs that or it fails to start...

061c:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x240004
wineserver: file_set_error() can't map error: Cannot allocate memory
063c:fixme:shell:CustomDestinationList_BeginList 10435230 (0FCFFB28 {92ca9dcd-5622-4bba-a805-5e9f541bd8c9} 0FCFFB34): stub
0644:fixme:shell:CustomDestinationList_BeginList 090D15D8 (184CFB28 {92ca9dcd-5622-4bba-a805-5e9f541bd8c9} 184CFB34): stub