public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13113] New: issues with libc being loaded twice when using audit library
@ 2011-08-19 13:08 jolsa at redhat dot com
  2011-08-19 14:11 ` [Bug libc/13113] " jolsa at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jolsa at redhat dot com @ 2011-08-19 13:08 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13113

             Bug #: 13113
           Summary: issues with libc being loaded twice when using audit
                    library
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: jolsa@redhat.com
    Classification: Unclassified


When running binary with audit library, the libc shared library is loaded
twice within the process.

It appears thats one time for binary namespace binary and second in namespace
for audit library. This is probably intended, not sure..

However this gets me to the dead end when I unwind stack from within
the audit library. The dl-iterate function gets me only libraries
from audit namespace.

And when I hit a function address from within the libc library loaded for
the binary I'm stuck, since I dont have any information about this library.
(eh_frame/debug_frame info).

So I'm not sure what should be fixed here..
* having 2 libc libraries loaded at the same time
* having dl-iterate to return info about all namespaces
* me ;)

please let me know if I can give you any other info/test/debug..

thanks for any ideas

jirka

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/13113] issues with libc being loaded twice when using audit library
  2011-08-19 13:08 [Bug libc/13113] New: issues with libc being loaded twice when using audit library jolsa at redhat dot com
@ 2011-08-19 14:11 ` jolsa at redhat dot com
  2012-02-21  2:22 ` [Bug ld.so|libdl/13113] " jsm28 at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jolsa at redhat dot com @ 2011-08-19 14:11 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13113

--- Comment #1 from Jiri Olsa <jolsa at redhat dot com> 2011-08-19 14:10:23 UTC ---
forgot to mention I also need following fixies:
(I did not get any answer on the list so far)

http://sources.redhat.com/ml/libc-alpha/2011-07/msg00134.html
http://sources.redhat.com/ml/libc-alpha/2011-08/msg00064.html

thanks

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ld.so|libdl/13113] issues with libc being loaded twice when using audit library
  2011-08-19 13:08 [Bug libc/13113] New: issues with libc being loaded twice when using audit library jolsa at redhat dot com
  2011-08-19 14:11 ` [Bug libc/13113] " jolsa at redhat dot com
@ 2012-02-21  2:22 ` jsm28 at gcc dot gnu.org
  2012-02-21  8:34 ` jolsa at redhat dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-02-21  2:22 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13113

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |ld.so|libdl

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ld.so|libdl/13113] issues with libc being loaded twice when using audit library
  2011-08-19 13:08 [Bug libc/13113] New: issues with libc being loaded twice when using audit library jolsa at redhat dot com
  2011-08-19 14:11 ` [Bug libc/13113] " jolsa at redhat dot com
  2012-02-21  2:22 ` [Bug ld.so|libdl/13113] " jsm28 at gcc dot gnu.org
@ 2012-02-21  8:34 ` jolsa at redhat dot com
  2012-12-19 10:51 ` [Bug dynamic-link/13113] " schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jolsa at redhat dot com @ 2012-02-21  8:34 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13113

--- Comment #2 from Jiri Olsa <jolsa at redhat dot com> 2012-02-21 08:33:57 UTC ---
any feedback? ;) thanks

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug dynamic-link/13113] issues with libc being loaded twice when using audit library
  2011-08-19 13:08 [Bug libc/13113] New: issues with libc being loaded twice when using audit library jolsa at redhat dot com
                   ` (2 preceding siblings ...)
  2012-02-21  8:34 ` jolsa at redhat dot com
@ 2012-12-19 10:51 ` schwab@linux-m68k.org
  2014-06-27 12:25 ` fweimer at redhat dot com
  2024-05-07 11:41 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2012-12-19 10:51 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13113

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drepper.fsp at gmail dot    |unassigned at sourceware
                   |com                         |dot org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug dynamic-link/13113] issues with libc being loaded twice when using audit library
  2011-08-19 13:08 [Bug libc/13113] New: issues with libc being loaded twice when using audit library jolsa at redhat dot com
                   ` (3 preceding siblings ...)
  2012-12-19 10:51 ` [Bug dynamic-link/13113] " schwab@linux-m68k.org
@ 2014-06-27 12:25 ` fweimer at redhat dot com
  2024-05-07 11:41 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 12:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=13113

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug dynamic-link/13113] issues with libc being loaded twice when using audit library
  2011-08-19 13:08 [Bug libc/13113] New: issues with libc being loaded twice when using audit library jolsa at redhat dot com
                   ` (4 preceding siblings ...)
  2014-06-27 12:25 ` fweimer at redhat dot com
@ 2024-05-07 11:41 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2024-05-07 11:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=13113

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |fweimer at redhat dot com

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
The _dl_find_object function reaches across namespaces and should fix this once
libgcc_s uses it (so GCC 12 or later built against glibc 2.35 or later).

Does this issue persist?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-07 11:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19 13:08 [Bug libc/13113] New: issues with libc being loaded twice when using audit library jolsa at redhat dot com
2011-08-19 14:11 ` [Bug libc/13113] " jolsa at redhat dot com
2012-02-21  2:22 ` [Bug ld.so|libdl/13113] " jsm28 at gcc dot gnu.org
2012-02-21  8:34 ` jolsa at redhat dot com
2012-12-19 10:51 ` [Bug dynamic-link/13113] " schwab@linux-m68k.org
2014-06-27 12:25 ` fweimer at redhat dot com
2024-05-07 11:41 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).