Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "W Bauske" <wsb@paralleldata.com>
To: "axp-list@redhat.com" <axp-list@redhat.com>
Subject: gprof on Alpha
Date: Wed, 23 Feb 2000 01:35:08 -0600	[thread overview]
Message-ID: <38B38DAC.6527C88A@paralleldata.com> (raw)


Ok, I'm trying to do some tuning and I set -pg in my make
file and recompiled all my code on my UP2000. Then run a
test and it generates a gmon.out just fine. So, then I try
a 'gprof my_binary' and it SEGV's in malloc. Traceback is:

(gdb) run `which zm31mig`
Starting program: /usr/local/bin/gprof `which zm31mig`
 
Program received signal SIGSEGV, Segmentation fault.
chunk_alloc (ar_ptr=0x2000033d748, nb=289232) at malloc.c:2857
malloc.c:2857: No such file or directory.
(gdb) bt
#0  chunk_alloc (ar_ptr=0x2000033d748, nb=289232) at malloc.c:2857
#1  0x20000192674 in __libc_malloc (bytes=2199026653000) at malloc.c:2616
#2  0x1200636cc in xmalloc (size=289216) at xmalloc.c:71
#3  0x12000b9e4 in hist_read_rec (ifp=0x1201e0230,
    filename=0x120064c56 "gmon.out") at hist.c:149
#4  0x120009e40 in gmon_out_read (filename=0x120064c56 "gmon.out")
    at gmon_io.c:121
#5  0x12000b3bc in main (argc=2, argv=0x11ffff858) at gprof.c:555
#6  0x2000014ffb0 in __libc_start_main (main=0x12000aa60 <main>, argc=2,
    argv=0x11ffff858, init=0x1200019e0 <_init>, fini=0x120063aa0 <_fini>,
    rtld_fini=0x2000033d748 <main_arena>, stack_end=0x11ffff840)
    at ../sysdeps/generic/libc-start.c:78

I tried a couple versions of gprof which I happened to have
laying around and they die the same way. I recall this worked
at one point, probably with RH5.2 or so. Current setup is RH6.0
on this system. Anyone got this working with RH6.0 or maybe RH6.1?
I can upgrade if needed to RH6.1.

Any suggestions appreciated.


Wes


             reply	other threads:[~2000-02-23  7:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-23  7:35 W Bauske [this message]
2000-02-23 14:03 ` gprof on Alpha Harvey J. Stein
2000-02-23 16:55 ` Rolf Neugebauer
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox