https://bugs.winehq.org/show_bug.cgi?id=52773
Bug ID: 52773 Summary: winwprefix is not to ready to use after running wineboot Product: Wine Version: 7.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ralf.habacker@freenet.de Distribution: ---
Created attachment 72145 --> https://bugs.winehq.org/attachment.cgi?id=72145 Wine 7.5 related log file showing the issue
On building a package in a qemu-kvm environment wine 7.5 shows an unusual behavior compared with older wine versions, when running winboot to initialize a wine prefix followed by running wintricks to change wine settings.
With wine 6.0, which is working, there is printed (wineboot is started without a display to avoid showing any gui dialog)
[ 211s] ++ command -v wineboot [ 211s] ++ test -n /home/abuild/.mingw32-cross-wine [ 211s] ++ test -d /home/abuild/.mingw32-cross-wine [ 211s] ++ wineboot -fi [ 211s] wine: created the configuration directory '/home/abuild/.mingw32-cross-wine' [ 211s] 0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\.\DISPLAY1". [ 211s] 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 [ 211s] 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 [ 211s] 0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002 [ 211s] 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 211s] 002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 211s] 0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 211s] 0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 211s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 [ 211s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 [ 211s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007 [ 211s] 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7 [ 211s] 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7 [ 211s] 0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7 [ 211s] 0050:err:ole:start_rpcss Failed to open RpcSs service [ 211s] 0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 211s] 0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 213s] 0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 213s] 0060:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 213s] 0068:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 213s] 0068:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly. [ 213s] Could not find Wine Gecko. HTML rendering will be disabled. [ 214s] wine: configuration in L"/home/abuild/.mingw32-cross-wine" has been updated.
Then winetricks is called to change settings
[ 214s] ++ winetricks nocrashdialog autostart_winedbg=disabled [ 214s] ------------------------------------------------------ [ 214s] winetricks latest version check update disabled [ 214s] ------------------------------------------------------ [ 214s] Executing mkdir -p /home/abuild [ 215s] Using winetricks 20210206-next - sha256sum: 57ff30bced6c84e79932d5d98993a6361f12331b3a33f51cc1e65d8c9af2656c with wine-6.0 and WINEARCH=win32 [ 216s] Executing w_do_call nocrashdialog [ 216s] Executing mkdir -p /home/abuild [ 216s] Executing load_nocrashdialog [ 216s] Disabling graphical crash dialog [ 216s] Executing cd /home/abuild/.mingw32-cross-wine/dosdevices/c:/windows/temp [ 216s] Executing wine regedit crashdialog.reg [ 216s] Using override for following DLLs: autostart_winedbg [ 216s] Executing wine regedit C:\windows\Temp_disabled\override-dll.reg
This works out of the box.
Processing the same with wine-7.5 shows
[ 154s] ++ wineboot -fi [ 154s] wine: created the configuration directory '/home/abuild/.mingw32-cross-wine' [ 154s] 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) [ 154s] 0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) [ 154s] 0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) [ 154s] 0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0048:err:winediag:nodrv_CreateWindow L"The explorer process failed to start." [ 154s] 0048:err:systray:initialize_systray Could not create tray window [ 154s] 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 [ 154s] 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 [ 154s] 0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002 [ 154s] 002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 002c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 154s] 0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0050:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 154s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 3 [ 154s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0 [ 154s] 0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007 [ 154s] 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7 [ 154s] 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7 [ 154s] 0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7 [ 154s] 0050:err:ole:start_rpcss Failed to open RpcSs service [ 154s] 0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0040:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 154s] 0084:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 154s] 0084:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 156s] 008c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. [ 156s] 008c:err:winediag:nodrv_CreateWindow L"Make sure that your X server is running and that $DISPLAY is set correctly." [ 157s] wine: configuration in L"/home/abuild/.mingw32-cross-wine" has been updated.
To this point nothing is different
[ 157s] ++ winetricks nocrashdialog autostart_winedbg=disabled [ 157s] ------------------------------------------------------ [ 157s] winetricks latest version check update disabled [ 157s] ------------------------------------------------------ [ 157s] Executing mkdir -p /home/abuild [ 158s] grep: /home/abuild/.mingw32-cross-wine/*.reg: No such file or directory [ 158s] ------------------------------------------------------
The issue is, that the newly created wine prefix is not ready for usage.
[ 158s] WINEPREFIX INFO: [ 158s] Drive C: total 24 [ 158s] drwxr-xr-x 6 abuild abuild 4096 Apr 4 22:11 . [ 158s] drwxr-xr-x 4 abuild abuild 4096 Apr 4 22:11 .. [ 158s] drwxr-xr-x 6 abuild abuild 4096 Apr 4 22:11 Program Files [ 158s] drwxr-xr-x 3 abuild abuild 4096 Apr 4 22:11 ProgramData [ 158s] drwxr-xr-x 4 abuild abuild 4096 Apr 4 22:11 users [ 158s] drwxr-xr-x 16 abuild abuild 4096 Apr 4 22:11 windows [ 158s] [ 158s] Registry info: [ 158s] /home/abuild/.mingw32-cross-wine/*.reg: [ 158s] ------------------------------------------------------ [ 158s] ------------------------------------------------------ [ 158s] warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "" [ 158s] ------------------------------------------------------
https://bugs.winehq.org/show_bug.cgi?id=52773
--- Comment #1 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 72146 --> https://bugs.winehq.org/attachment.cgi?id=72146 wine 6.0 related log file as reference
https://bugs.winehq.org/show_bug.cgi?id=52773
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|winwprefix is not to ready |wine prefix is not to ready |to use after running |to use after running |wineboot |wineboot
https://bugs.winehq.org/show_bug.cgi?id=52773
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com Keywords| |download, regression
https://bugs.winehq.org/show_bug.cgi?id=52773
--- Comment #2 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 72149 --> https://bugs.winehq.org/attachment.cgi?id=72149 Tumbleweed/Wine 6.0 related log file as reference
To make sure that no other part of the build system is responsible for this problem, a build with wine 6.0 was performed on the same distribution (openSUSE Tumbleweed), which does not show the issue.
https://bugs.winehq.org/show_bug.cgi?id=52773
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #72145|0 |1 is obsolete| |
--- Comment #3 from Ralf Habacker ralf.habacker@freenet.de --- Created attachment 72150 --> https://bugs.winehq.org/attachment.cgi?id=72150 Tumbleweed/Wine 7.5 related log file showing the issue
https://bugs.winehq.org/show_bug.cgi?id=52773
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #72146|wine 6.0 related log file |Leap-15.3/Wine 6.0 related description|as reference |log file as reference
https://bugs.winehq.org/show_bug.cgi?id=52773
--- Comment #4 from Austin English austinenglish@gmail.com --- I've definitely seen this and remember working around it by running` wineserver -w` after `wineboot` to make sure things were settled before continuing.
That said, I'm on mobile, can't remember if there's a bug for this or if I've bisected it..
https://bugs.winehq.org/show_bug.cgi?id=52773
--- Comment #5 from Ralf Habacker ralf.habacker@freenet.de --- (In reply to Austin English from comment #4)
I've definitely seen this and remember working around it by running` wineserver -w` after `wineboot` to make sure things were settled before continuing.
That said, I'm on mobile, can't remember if there's a bug for this or if I've bisected it..
Thank you very much for this tip. After adding the mentioned command, the *.reg files are now available:
[ 166s] ++ wineserver -w [ 171s] 0048:err:ole:start_rpcss Failed to start RpcSs service [ 174s] 0128:err:rpc:I_RpcReceive we got fault packet with status 0x1c010003 [ 174s] 011c:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 1053 [ 174s] 011c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1115 [ 174s] 011c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1115 [ 174s] 011c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1115 [ 174s] 011c:fixme:service:scmdatabase_autostart_services Auto-start service L"Eventlog" failed to start: 1115 [ 174s] 011c:fixme:service:scmdatabase_autostart_services Auto-start service L"nsiproxy" failed to start: 1115 [ 174s] 011c:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 1115 [ 174s] ++ winetricks nocrashdialog autostart_winedbg=disabled [ 174s] ------------------------------------------------------ [ 174s] winetricks latest version check update disabled [ 174s] ------------------------------------------------------ [ 174s] Executing mkdir -p /home/abuild [ 176s] ------------------------------------------------------ [ 176s] WINEPREFIX INFO: [ 176s] Drive C: total 24 [ 176s] drwxr-xr-x 6 abuild abuild 4096 Apr 5 11:24 . [ 176s] drwxr-xr-x 4 abuild abuild 4096 Apr 5 11:24 .. [ 176s] drwxr-xr-x 6 abuild abuild 4096 Apr 5 11:24 Program Files [ 176s] drwxr-xr-x 3 abuild abuild 4096 Apr 5 11:24 ProgramData [ 176s] drwxr-xr-x 4 abuild abuild 4096 Apr 5 11:24 users [ 176s] drwxr-xr-x 16 abuild abuild 4096 Apr 5 11:24 windows [ 176s] [ 176s] Registry info: [ 176s] /home/abuild/.mingw32-cross-wine/system.reg:#arch=win32 [ 176s] /home/abuild/.mingw32-cross-wine/user.reg:#arch=win32 [ 176s] /home/abuild/.mingw32-cross-wine/userdef.reg:#arch=win32 [ 176s] ------------------------------------------------------
but something seems to be missing, because %AppData% is empty
[ 176s] ------------------------------------------------------ [ 176s] warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message "" [ 176s] ------------------------------------------------------ [ 176s] error: Bad exit status from /var/tmp/rpm-tmp.eHIrRQ (%check)
https://bugs.winehq.org/show_bug.cgi?id=52773
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
--- Comment #6 from Ken Sharp imwellcushtymelike@gmail.com --- A regression test would be helpful. https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=52773
--- Comment #7 from Ralf Habacker ralf.habacker@freenet.de --- (In reply to Ken Sharp from comment #6)
A regression test would be helpful. https://wiki.winehq.org/Regression_Testing
Not a complete bisect, but a hint in this direction:
I tested this with wine 7.9 and with that the problem does not occur anymore, so the problem was fixed in version > 7.5 and <= 7.9.
https://bugs.winehq.org/show_bug.cgi?id=52773
--- Comment #8 from Austin English austinenglish@gmail.com --- (In reply to Ralf Habacker from comment #7)
(In reply to Ken Sharp from comment #6)
A regression test would be helpful. https://wiki.winehq.org/Regression_Testing
Not a complete bisect, but a hint in this direction:
I tested this with wine 7.9 and with that the problem does not occur anymore, so the problem was fixed in version > 7.5 and <= 7.9.
May be https://bugs.winehq.org/show_bug.cgi?id=52771.
https://bugs.winehq.org/show_bug.cgi?id=52773
Ralf Habacker ralf.habacker@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #9 from Ralf Habacker ralf.habacker@freenet.de --- According to https://bugs.winehq.org/show_bug.cgi?id=52771#c11 was this issued fixed in version 7.8.
https://bugs.winehq.org/show_bug.cgi?id=52773
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.14.