Wine 5.7 fails to work on High Sierra 10.13.6

Questions about Wine on macOS.
Locked
cpljeebus
Newbie
Newbie
Posts: 2
Joined: Sun May 31, 2020 4:50 pm

Wine 5.7 fails to work on High Sierra 10.13.6

Post by cpljeebus »

Hi

I have installed wine on my mac running High Sierra 10.13.6. I have tried the following methods
  • brew cask install wine-stable
    brew cask install wine-staging
    brew cask install wine-devel
    from all of the above pkgs
regardless of how I have installed running any wine command gives me the following (or very similar) output.

Code: Select all

$ winecfg 
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000110000-0000000068000000
000b:err:module:__wine_process_init failed to load L"C:\\windows\\system32\\wineboot.exe", error c0000018
0009:err:environ:run_wineboot failed to start wineboot c0000018
0009:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000110000-0000000068000000
000d:err:module:__wine_process_init failed to load L"C:\\windows\\system32\\explorer.exe", error c0000018
preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
preloader: Warning: failed to reserve range 0000000000110000-0000000068000000
000f:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
000f:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
000f:err:winediag:nodrv_CreateWindow The explorer process failed to start.
I have installed wine previously on ubuntu machines before and have never needed to do anything special. So I'm at a miss as to what to do.

I have searched on this forum and elsewhere and even though I have found similar errors no solutions seemed apparent.

James
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Wine 5.7 fails to work on High Sierra 10.13.6

Post by Gcenx »

Something is definitely wrong on your end as those versions all function.

Do you have an anti-virus/anti-malware installed?
Did you create a clean wineprefix?

Wine-5.6 was broken and Wine-5.8 was broken however Winehqs builder was depreciated so no official package was created anyway, wine-5.9 works but still no official packages

I started to provide wine-devel and wine-staging packages (.tar.gz) for macOS until Winehq gets a new builder up and running get them from macOS Wine builds
cpljeebus
Newbie
Newbie
Posts: 2
Joined: Sun May 31, 2020 4:50 pm

Re: Wine 5.7 fails to work on High Sierra 10.13.6

Post by cpljeebus »

Hey Gcenx

Thanks for getting back to me.
Do you have an anti-virus/anti-malware installed?
]
I have SentinelOne installed, it is a work laptop.
Did you create a clean wineprefix?
I'm not sure what that is? So I'm guessing no.

I'm beginning to think SentinelOne is the problem as I decided to build Wine from source and am seeing the same thing. However SentinelOne normally tells you if it has blocked stuff!

On think I did notice is that under my

Code: Select all

~/.wine/drive_c./
directory there are very few files? Again working from memory I would have expected that there would be a dir structure somewhere that mimics a widows dir structure but I can't find anything.

Is there anything else obvious I could be missing?

James
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Wine 5.7 fails to work on High Sierra 10.13.6

Post by Gcenx »

The default wineprefix is stored within your home directly called .wine

The ~/.wine/drive_c is wines Windows environment on first launch or wine or launch of a different version the prefix is update to use the current versions of wines provided files.

If you remove .wine and run wine again it will create a clean wineprefix.

The antivirus might not prompt you for this it depends on the configuration that was set by the IT department.
jmullaney
Newbie
Newbie
Posts: 1
Joined: Sat Jul 10, 2021 6:41 am

Re: Wine 5.7 fails to work on High Sierra 10.13.6

Post by jmullaney »

cpljeebus,

Did you find a solution to this? I'm seeing the same warning using Wine-6.0 on centos:

Code: Select all

preloader: Warning: failed to reserve range 0000000000010000-0000000000110000
The fact that you are reporting the same range makes me think that if you found a solution it might be applicable to my environment.

Thanks.
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Wine 5.7 fails to work on High Sierra 10.13.6

Post by Gcenx »

Here is the relevant section for preloader.c

https://github.com/wine-mirror/wine/blo ... #L112-L127

Code: Select all

static struct wine_preload_info preload_info[] =
{
#ifdef __i386__
    { (void *)0x00000000, 0x00010000 },  /* low 64k */
    { (void *)0x00010000, 0x00100000 },  /* DOS area */
    { (void *)0x00110000, 0x67ef0000 },  /* low memory area */
    { (void *)0x7f000000, 0x03000000 },  /* top-down allocations + shared heap + virtual heap */
#else
    { (void *)0x000000010000, 0x00100000 },  /* DOS area */
    { (void *)0x000000110000, 0x67ef0000 },  /* low memory area */
    { (void *)0x00007ff00000, 0x000f0000 },  /* shared user data */
    { (void *)0x7ffffe000000, 0x01ff0000 },  /* top-down allocations + virtual heap */
#endif
    { 0, 0 },                            /* PE exe range set with WINEPRELOADRESERVE */
    { 0, 0 }                             /* end of list */
};
As you can see that address isn't listed directly but it seems that the issue is between DOS area and low memory area
Locked