http://bugs.winehq.org/show_bug.cgi?id=14364
Summary: enhance loader and wine_main_preload_info for valgrind Product: Wine Version: 1.0.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: loader AssignedTo: wine-bugs@winehq.org ReportedBy: jreiser@BitWagon.com
Created an attachment (id=14661) --> (http://bugs.winehq.org/attachment.cgi?id=14661) loader co-operates with valgrind about wine_main_preload_info
wine-loader can co-operate with valgrind and other debugging tools.
1) New Elf32_auxv_t tag AT_WINE_PRELOAD_INFO for when symbol wine_main_preload_info is not visible, especially valgrind tools. binutils is not your friend: "ld: --export-dynamic fails if no undefined symbols" http://sourceware.org/bugzilla/show_bug.cgi?id=6468 2) Store pathname of pre-loader at end of wine_main_preload_info, in the .addr of the terminating 0==.size. This allows easy co-operation with valgrind tools and other debuggers. 3) Pending linux kernel patch for Elf32_auxv_t tag AT_EXECFN simplifies co-operation and virtualization in general. LKML, 2008-05-01, "execve filename: document and export via auxiliary vector".
Patch is attached, and will be sent to wine-patches@winehq.org.
http://bugs.winehq.org/show_bug.cgi?id=14364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-05 11:12:25 --- Is this still an issue in current (1.1.12 or newer) wine? Would you mind resubmitting the patch and asking for comments?
http://bugs.winehq.org/show_bug.cgi?id=14364
--- Comment #2 from Austin English austinenglish@gmail.com 2009-07-16 13:10:39 --- This area has changed a lot recently, might be worth taking another look/re-valgrinding.
http://bugs.winehq.org/show_bug.cgi?id=14364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14364
--- Comment #3 from Austin English austinenglish@gmail.com 2012-03-19 14:02:29 CDT --- Still present.
https://bugs.winehq.org/show_bug.cgi?id=14364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=14364
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- It is a bit difficult to guess what this is trying to fix. For me it sounds like the idea is to make certain information accessible to Valgrind, but I couldn't find any references to AT_WINE_PRELOAD_INFO in their code. There are only mailing list discussions, so my assumption would be that similar to some of the other Valgrind related suggestions, the actual code was never merged. I would suggest to close this bug report.
https://bugs.winehq.org/show_bug.cgi?id=14364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Sebastian Lackner from comment #4)
It is a bit difficult to guess what this is trying to fix. For me it sounds like the idea is to make certain information accessible to Valgrind, but I couldn't find any references to AT_WINE_PRELOAD_INFO in their code. There are only mailing list discussions, so my assumption would be that similar to some of the other Valgrind related suggestions, the actual code was never merged. I would suggest to close this bug report.
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=14364
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Austin English austinenglish@gmail.com --- Closing.