[Bug 37034] Stars!: Crashes on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 5 17:33:12 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=37034

--- Comment #5 from Ken Thomases <ken at codeweavers.com> ---
(In reply to planetbeing from comment #2)
> Found the real reason for this. The space was reserved by the WINE_DOS
> segment. However, due to ASLR on Mac, that segment is always put into a
> random location and does not start at 0x1000 as expected.

If those segments are not ending up in the correct place, then the solution is
to fix that.  We may need to add "-no_pie" to the linker flags, perhaps instead
of "-macosx_version_min 10.6".  See the setting of LDEXECFLAGS in configure.ac.

> It seems to me
> that the correction solution is to reserve those segments correcting for the
> ASLR slide. The previous patch helped but was unreliable. This new patch
> seems to have solved the problem for good.

I don't understand how making reserve_area() reserve a different area then it
was asked to helps anything.

-- 
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