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

Aidan Macdonald aidan.plenert.macdonald at gmail.com
Tue Nov 15 23:01:05 UTC 2016


I am compiling without -pg and I still have this problem. Is there a
work around yet?

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