https://bugs.winehq.org/show_bug.cgi?id=55096
Bug ID: 55096 Summary: Moving loader to PIE removed loaded modules chain view from debuggers Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: loader Assignee: wine-bugs@winehq.org Reporter: eric.pouech@gmail.com Distribution: ---
since 78ed343842dcd8ffb95c416420953e121959d40d the link_map of the ELF loaded modules in no longer visible in debuggers (winedbg, gdb in proxy module) (on x86_64 only, i386 is fine)
'info share' should list both PE and ELF modules
https://bugs.winehq.org/show_bug.cgi?id=55096
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |78ed343842dcd8ffb95c4164209 | |53e121959d40d
https://bugs.winehq.org/show_bug.cgi?id=55096
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
--- Comment #1 from Eric Pouech eric.pouech@gmail.com --- actually, the first offending commit is likely cc2cfb9b, but I cannot test in between
likely, moving to PIE has removed the DT_DEBUG record in .dynamic ELF's section which winedbg uses for getting back to link_map
https://bugs.winehq.org/show_bug.cgi?id=55096
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #2 from Bernhard Übelacker bernhardu@mailbox.org --- I think I am observing this too with rr-debugger. After 'file loader/wine64' it just reads symbols for /lib64/ld-linux-x86-64.so.2, info share shows it would be loaded at 0x1060.
By reverting ac1761d1, c55578f3, 78ed3438 and cc2cfb9b from current git gdb gets the ability back to show shared libraries.
https://bugs.winehq.org/show_bug.cgi?id=55096
--- Comment #3 from Eric Pouech eric.pouech@gmail.com --- for the record, posted https://gitlab.winehq.org/wine/wine/-/merge_requests/3129 as a more explicit test case
https://bugs.winehq.org/show_bug.cgi?id=55096
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Is this fixed by https://gitlab.winehq.org/wine/wine/-/commit/eb1f62bb31b2f99f9390c4c9e4d9db4... ?
https://bugs.winehq.org/show_bug.cgi?id=55096
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |eb1f62bb31b2f99f9390c4c9e4d | |9db4cbbfdca2b
--- Comment #5 from Eric Pouech eric.pouech@gmail.com --- (for the record, the issue isn't linked to using PIE, but rather the effect of actually loading the loader above the 4G limit for a 32bit process in new wow setup) resolved & fixed by eb1f62bb31b2f99f9390c4c9e4d9db4cbbfdca2b
https://bugs.winehq.org/show_bug.cgi?id=55096
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.12.