https://bugs.winehq.org/show_bug.cgi?id=49326
--- Comment #12 from Alex Xu alex_y_xu@yahoo.ca --- (In reply to Paul Gofman from comment #11)
(In reply to Robert Walker from comment #10)
Could you please attach the full WINEDEBUG=+pid,+virtual,+module,+process log with the latest patch? And also the exact command line how do you run Wine (the way it would fail without the patch)?
The thing is, I could not ever reproduce the problem like described here without some very specific settings, and it was the same for some other people. And while there was definitely a bug (which should be fixed now), maybe I could finally guess the reason why it fails specifically for some people and maybe suggest some workaround with existing version.
I had this issue on Gentoo wine-staging-5.10.
$ export WINEPREFIX=$(mktemp -d) $ wine explorer 002c:fixme:winediag:__wine_start_process Wine Staging 5.10 is a testing version containing experimental patches. 002c:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org. 0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0048:err:ole:get_local_server_stream Failed: 80004002 0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002 0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002 0050:err:ole:get_local_server_stream Failed: 80004002 0070:err:virtual:free_ranges_remove_range range 0x10000000 - 0x10020000 is already partially mapped exe: /tmp/portage/app-emulation/wine-staging-5.10/work/wine-5.10/dlls/ntdll/unix/virtual.c:581: free_ranges_remove_range: Assertion `range->base <= view_base && range->end >= view_end' failed. 0090:err:virtual:free_ranges_remove_range range 0x10000000 - 0x10020000 is already partially mapped exe: /tmp/portage/app-emulation/wine-staging-5.10/work/wine-5.10/dlls/ntdll/unix/virtual.c:581: free_ranges_remove_range: Assertion `range->base <= view_base && range->end >= view_end' failed. 002c:err:setupapi:SetupDiInstallDevice Failed to start service L"winebus" for device L"ROOT\WINE\WINEBUS", error 1359. 00a0:err:virtual:free_ranges_remove_range range 0x10000000 - 0x10020000 is already partially mapped exe: /tmp/portage/app-emulation/wine-staging-5.10/work/wine-5.10/dlls/ntdll/unix/virtual.c:581: free_ranges_remove_range: Assertion `range->base <= view_base && range->end >= view_end' failed. 002c:err:setupapi:SetupDiInstallDevice Failed to start service L"wineusb" for device L"ROOT\WINE\WINEUSB", error 1359. wine: configuration in L"/tmp/tmp.4YO2pEQ3dh" has been updated. 0024:err:ole:create_server class {9ba05972-f6a8-11cf-a442-00a0c90a8f39} not registered 0024:err:ole:CoGetClassObject no class object {9ba05972-f6a8-11cf-a442-00a0c90a8f39} could be created for context 0x4 0024:fixme:nstc:NSTC2_fnSetControlStyle2 mask & style (0x00000004) contains unsupported style(s): 0x00000004 0024:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x852938 (2, 1026, a003, 0, 0x31f5cc) 0024:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x852938 (2, 1026, a004, 1, 0x31f5cc) 0024:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x852938 (2, 1025, a003, 1, 0x31f5cc) 0024:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x852938 (2, 1025, a004, 1, 0x31f5cc) [ explorer opens; mouse over and close window ] 0024:fixme:shell:IShellBrowser_fnOnViewWindowActive stub, 0x852938 (0x874418) 0024:fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x00000010 0024:fixme:shell:ShellView_OnNotify LVN_KEYDOWN key=0x0000005b wine: Unhandled page fault on read access to 00000000 at address 7EA7BF09 (thread 0024), starting debugger... 00ac:err:virtual:free_ranges_remove_range range 0x10000000 - 0x10020000 is already partially mapped
/tmp/portage/app-emulation/wine-staging-5.10/work/wine-5.10/dlls/ntdll/unix/virtual.c:581: free_ranges_remove_range: Assertion `range->base <= view_base && range->end >= view_end' failed. 0024:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 32 172" (1359) Read the Wine Developers Guide on how to set up winedbg or another debugger $ wine explorer 002c:err:virtual:free_ranges_remove_range range 0x10000000 - 0x10020000 is already partially mapped e: /tmp/portage/app-emulation/wine-staging-5.10/work/wine-5.10/dlls/ntdll/unix/virtual.c:581: free_ranges_remove_range: Assertion `range->base <= view_base && range->end >= view_end' failed. 0024:err:environ:run_wineboot failed to start wineboot c00000e5 0024:fixme:winediag:start_process Wine Staging 5.10 is a testing version containing experimental patches. 0024:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. 0034:err:virtual:free_ranges_remove_range range 0x10000000 - 0x10020000 is already partially mapped e: /tmp/portage/app-emulation/wine-staging-5.10/work/wine-5.10/dlls/ntdll/unix/virtual.c:581: free_ranges_remove_range: Assertion `range->base <= view_base && range->end >= view_end' failed. 0024:err:ole:create_server class {9ba05972-f6a8-11cf-a442-00a0c90a8f39} not registered 0024:err:ole:CoGetClassObject no class object {9ba05972-f6a8-11cf-a442-00a0c90a8f39} could be created for context 0x4 0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded. 0024:err:winediag:nodrv_CreateWindow The explorer process failed to start. [ explorer is not displayed, process hangs until ^C ] ^C0038:fixme:console:default_ctrl_handler Terminating process 20 on event 0
I am using 5.7.0+git kernel with gcc 10.1.0 and glibc 2.31. It could be related to gcc 10 or glibc 2.31, I don't know. I haven't tried this patch yet.