Opened 7 years ago

Last modified 4 years ago

#56166 assigned defect

wine[-devel] freezes when WINEARCH=win64 is used

Reported by: ostefano (Stefano Ortolani) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: wine wine-devel

Description

Latest wine freezes (with an empty prefix) when WINEARCH=win64 is used.

WINEARCH=win32 works with the following output::

WINEARCH=win32 winecfg
wine: created the configuration directory '/Users/stefano/.wine'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0017:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:dwmapi:DwmIsCompositionEnabled 0x6d5d3018
001d:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0xa688c8, init_notify 0, handle 0x12afce8): stub
0010:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
wine: configuration in '/Users/stefano/.wine' has been updated.

WINEARCH=win64 freezes with the following output:

WINEARCH=win64 winecfg
wine: created the configuration directory '/Users/stefano/.wine'
0009:err:file:init_redirects cannot open L"C:\\windows" (c000000f)
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0017:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001b:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
001d:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x9e65a0, init_notify 0, handle 0x12dfa40): stub
0010:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform

After few minutes it timeouts and winecfg shows up

0009:err:process:__wine_kernel_init boot event wait timed out

However some wine processes are left dangling in the background:

68196   ??  Ss     0:01.60 /opt/local/lib/../bin/wineserver
68198   ??  Ss     0:00.70 C:\windows\system32\wineboot.exe --init
68202   ??  R      4:02.03 C:\windows\system32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 \\?\unix/opt/local/lib/../bin/../share/wine/wine.inf
68218   ??  S      0:00.09 C:\windows\system32\winedevice.exe

Attachments (1)

full_output.txt (634.2 KB) - added by ostefano (Stefano Ortolani) 7 years ago.
full output

Download all attachments as: .zip

Change History (11)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Owner: set to ryandesign
Port: wine, wine-develwine wine-devel
Status: newassigned

comment:2 Changed 7 years ago by raimue (Rainer Müller)

Port: wine wine-develwine, wine-devel

Did you try with a different WINEPREFIX instead of using the same path for win32 and win64? wineserver might still have it associated with this WINEARCH. In general, if wineserver was still running from a previous run, this could also be a problem.

You can set WINEDEBUG to get more output to see whether it is actually hanging or just working hard.

$ wineserver -k
$ WINEDEBUG=warn+all WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg

comment:3 Changed 7 years ago by raimue (Rainer Müller)

Port: wine, wine-develwine wine-devel

comment:4 in reply to:  2 Changed 7 years ago by ostefano (Stefano Ortolani)

Replying to raimue:

Did you try with a different WINEPREFIX instead of using the same path for win32 and win64? wineserver might still have it associated with this WINEARCH. In general, if wineserver was still running from a previous run, this could also be a problem.

You can set WINEDEBUG to get more output to see whether it is actually hanging or just working hard.

$ wineserver -k
$ WINEDEBUG=warn+all WINEARCH=win64 WINEPREFIX=~/.wine64 winecfg

I have always reset (removed) the prefix before every test. Last lines printed after launching it with your command line options shows:

0010:warn:iphlpapi:AllocateAndGetIpForwardTableFromStack Received unsupported sockaddr family 0xff
0010:warn:ntdll:FILE_CreateFile L"\\??\\C:\\windows\\system32\\wineqtdecoder.dll" not found (c0000034)
0010:warn:module:load_builtin_dll cannot open .so lib for builtin L"wineqtdecoder.dll": dlopen(/opt/local/lib/wine64/wineqtdecoder.dll.so, 258): image not found
0010:warn:module:load_dll Failed to load module L"C:\\windows\\system32\\wineqtdecoder.dll"; status=c0000135
0010:warn:setupapi:do_register_dll could not load L"C:\\windows\\system32\\wineqtdecoder.dll"

Let me know if this is enough, or if you need more.

Changed 7 years ago by ostefano (Stefano Ortolani)

Attachment: full_output.txt added

full output

comment:5 Changed 7 years ago by raimue (Rainer Müller)

There is already a similar upstream report: https://forum.winehq.org/viewtopic.php?f=9&t=30078

comment:6 Changed 7 years ago by raimue (Rainer Müller)

I can reproduce the problem with wine-devel @3.4_1 from MacPorts, but not with the official portable wine binaries for 3.4. There must be some difference.

With WINEDEBUG=warn+msg, I see messages about timeouts:

0010:fixme:winsock:set_dont_fragment IP_DONTFRAGMENT for IPv4 not supported in this platform
001d:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x9e65c0, init_notify 0, handle 0x12dfa40): stub
003b:warn:msg:bcast_childwindow Timed out!
003b:warn:msg:bcast_childwindow Timed out!
003b:warn:msg:bcast_childwindow Timed out!
003b:warn:msg:bcast_childwindow Timed out!
003b:warn:msg:bcast_childwindow Timed out!
0009:err:process:__wine_kernel_init boot event wait timed out

comment:7 Changed 7 years ago by raimue (Rainer Müller)

As a workaround, the problem does not seem to occur when using the X11 driver by disabling the native driver with WINEDLLOVERRIDES="winemac.drv=d". This is not permanent and the prefix can be used with winemac.drv afterwards.

comment:8 in reply to:  7 Changed 7 years ago by ostefano (Stefano Ortolani)

Replying to raimue:

As a workaround, the problem does not seem to occur when using the X11 driver by disabling the native driver with WINEDLLOVERRIDES="winemac.drv=d". This is not permanent and the prefix can be used with winemac.drv afterwards.

Confirm. I can switch to x11 (even without having it installed), run it, let it create the prefix, and then use it without problems. Thx!

comment:9 Changed 6 years ago by pete27

for me this helps (without having X11 installed):

WINEDLLOVERRIDES="winemac.drv=d" wineboot

and then

wine foo.exe

But is there a way to determine if wine boot will perform an update? If I could heck this upfront, I could skip the first line.

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:10 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.