[Bug 49437] Segmentation fault (core dumped) even on winecfg or wineconsole on FreeBSD

WineHQ Bugzilla wine-bugs at winehq.org
Sun Nov 15 03:24:36 CST 2020


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

--- Comment #16 from Damjan Jovanovic <damjan.jov at gmail.com> ---
(In reply to Alex S from comment #14)
> (In reply to Damjan Jovanovic from comment #13)
> 
> Huh? This doesn't make any sense. You don't need to preserve compatibility
> in all directions.

Yes you do. Compile on 12.1, run on 12.1: it uses offset 0 meaning l_addr, no
_rtld_version_laddr_offset so it recalculates the address, all good. Now
upgrade to 12.2, it crashes because _rtld_version_laddr_offset is there so
assumes l_addr is already valid, and it is, but it is located at a different
offset - what is at offset 0 is no longer l_addr -> crash. It would need to be
recompiled on 12.2 to find l_addr at its new offset and use it correctly.

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