[Bug 31090] Wine overwrites dyld debug information

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Dec 16 19:35:28 CST 2013


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

Ken Thomases <ken at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ken at codeweavers.com

--- Comment #5 from Ken Thomases <ken at codeweavers.com> ---
Please retest with Wine 1.7.8 or later.  In particular, this patch
<http://source.winehq.org/git/wine.git/?a=commit;h=1577fb6c3f5941a9b2ba1fec7e38e61cdfa2b757>
may have helped.

dbghelp/macho_module assumed that _dyld_all_image_infos was always at a fixed
address for any given build of the OS.  Basically, it looked up the symbol in
the symbol table of /usr/lib/dyld and used that static address.

However, in recent versions of the OS, dyld is loaded at a random address for
security (Address Space Layout Randomization).  Therefore, dbghelp/macho_module
was looking in the wrong place.

I suspect that Wine was not re-allocating the memory occupied by dyld.  It's
just that you were misled to look at the wrong memory range by the invalid
assumption embedded in dbghelp.

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