[opensuse-factory] bug using sprof?

Hi, I'm struggling to get sprof to run, starting to believe there's a bug somewhere. I'm posting this here because I didn't find any mention searching the web and checking two other computers, sprof works under SUSE 10.0 but fails on another openSUSE 10.2. I'm running openSUSE 10.2, the output of uname -a: Linux psi 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 i686 i686 i386 GNU/Linux When collecting profile info with LD_PROFILE=libc.so.6 LD_PROFILE_OUTPUT=. ls and afterwards trying to display the profile with sprof libc.so.6 returns sprof: failed to load shared object `libc.so.6': No such file or directory Investigating with ltrace turns up the following: ltrace sprof libc.so.6 __libc_start_main(0x804a7f0, 2, 0xbfe078a4, 0x804b980, 0x804b970 <unfinished ...> setlocale(6, "") = "" textdomain("") = "" argp_parse(0x804e0d0, 2, 0xbfe078a4, 0, 0xbfe07808) = 0 strchr("\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., '/') = "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"... strlen("\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"...) = 9 strcpy(0xbfe07672, "libc.so.6") = 0xbfe07672 dlopen("\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 1073741825) = NULL dlopen("\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 1073741825) = NULL __dcgettext("failed to load shared object `%s"..., "failed to load shared object `%s"..., 5) = "failed to load shared object `%s"... __errno_location() = 0xb7df968c error(0, 2, 0x804bd94, 0xbfe07cee, 0xb7f696f8sprof: failed to load shared object `libc.so.6': No such file or directory ) = 0 exit(1 <unfinished ...> +++ exited (status 1) +++ So somehow, somewhere it seems to destroy the name of the so. Is this a bug in openSUSE's libc? Shall I post this to the glibc mailinglist? Cheers, Christian -- Christian Keil /"\ Institute for Reliable Computing \ / ASCII Ribbon Campaign Hamburg University of Technology X against HTML email & vCards mail:c.keil@tu-harburg.de / \ --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org

On 2007-09-20 17:19:20 +0200, Christian Keil wrote:
ltrace sprof libc.so.6
can you provide a strace too? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org

Christian Keil <c.keil@tu-harburg.de> writes:
Hi,
I'm struggling to get sprof to run, starting to believe there's a bug somewhere. I'm posting this here because I didn't find any mention searching the web and checking two other computers, sprof works under SUSE 10.0 but fails on another openSUSE 10.2.
I'm running openSUSE 10.2, the output of uname -a:
Linux psi 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 i686 i686 i386 GNU/Linux
When collecting profile info with
LD_PROFILE=libc.so.6 LD_PROFILE_OUTPUT=. ls
and afterwards trying to display the profile with
sprof libc.so.6
returns
sprof: failed to load shared object `libc.so.6': No such file or directory
Seems to be in 10.3 as well. could you open a bugreport in our bugzilla, please? Thanks, Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (3)
-
Andreas Jaeger
-
Christian Keil
-
Marcus Rueckert