[Bug 12783] Allocation of PEB and TEB can overlap dll mappings

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 28 21:54:43 CDT 2008


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





--- Comment #6 from Albert Lee <trisk+winehq at acm.jhu.edu>  2008-04-28 21:54:42 ---
I've solved the problem using a suggestion by Rod Evans, which is relaxing the
alignment of the data section of Wine  DLLs from 0x10000 (specified in the ABI)
to 0x1000. That way, no "hole" is created  which the OS can use for anonymous
mmaps.

http://opensolaris.org/jive/message.jspa?messageID=229817#229799

As suggested, I created a mapfile which was passed to the linker. This appears
to have fixed the problem, although I'm experiencing a crash in winex11 because
of the new XIM code.

The SFEwine package has been updated with this fix. I think a configure check
would make this more transparent for others, what do you think?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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