[Bug 462760] Re: sprof fails to work with shared objects

Brian Murray brian at ubuntu.com
Wed Jul 27 13:04:13 UTC 2011


** Bug watch added: Debian Bug tracker #499801
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499801

** Also affects: eglibc (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499801
   Importance: Unknown
       Status: Unknown

** Bug watch added: Red Hat Bugzilla #458861
   https://bugzilla.redhat.com/show_bug.cgi?id=458861

** Also affects: eglibc (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=458861
   Importance: Unknown
       Status: Unknown

** Changed in: eglibc (Ubuntu)
       Status: New => Confirmed

** Tags added: udd-find

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/462760

Title:
  sprof fails to work with shared objects

Status in “eglibc” package in Ubuntu:
  Confirmed
Status in “eglibc” package in Debian:
  Unknown
Status in “eglibc” package in Fedora:
  Unknown

Bug description:
  Binary package hint: libc-dev-bin

  When I try to profile a compiled shared object, sprof always fails
  with: "Inconsistency detected by ld.so: dl-open.c: 672: _dl_open:
  Assertion `_dl_debug_initialize (0, args.nsid)->r_state ==
  RT_CONSISTENT' failed!"

  I have the environment variables LD_PROFILE and LD_PROFILE_OUTPUT set
  up as you would expect and a file.so.profile file is created along
  with gmon.out.

  Both the main program and .SO are compiled and linked with -pg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/462760/+subscriptions




More information about the foundations-bugs mailing list