[Bug 43966] Wine crashes at launch in macOS 10.13.2 Beta (17C60c)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Nov 8 09:13:01 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=43966

--- Comment #8 from VitorMM <vitormm at portingkit.com> ---
(In reply to Ken Thomases from comment #7)
> (In reply to VitorMM from comment #5)
> > So we first need to find out where is the reserve entries end? There is any
> > way to figure that out, or just by trying a bunch of different values?
> 
> The range supported by the OS before 10.13.2 is from 3 to 8191. The range in
> the 10.13.2 betas is 3 to 127. I wrote a simple test program to determine
> this.
> 
> Wine currently tries indexes from 512 to 8191. (It assumes that indexes
> below 512 are reserved for the system.)

So these lines from libs/wine/ldt.c
#define LDT_FIRST_ENTRY 512
#define LDT_SIZE 8192

Should instead be like for macOS?
#define LDT_FIRST_ENTRY 3
#define LDT_SIZE 127

Just to confirm.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list