From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 31406 invoked from network); 23 Feb 2000 07:30:16 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Feb 2000 07:30:16 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id CAA07730 for ; Wed, 23 Feb 2000 02:30:14 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Wed, 23 Feb 2000 01:35:47 -0600 Received: by paralleldata.com from paralleldata.com (24.15.240.182::mail daemon; unverified,SLMail V2.5); Wed, 23 Feb 2000 01:35:46 -0600 Sender: "Wsb" Message-ID: <38B38DAC.6527C88A@paralleldata.com> Date: Wed, 23 Feb 2000 01:35:08 -0600 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i686) X-Accept-Language: en MIME-Version: 1.0 To: "axp-list@redhat.com" Subject: gprof on Alpha Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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
, argc=2, argv=0x11ffff858, init=0x1200019e0 <_init>, fini=0x120063aa0 <_fini>, rtld_fini=0x2000033d748 , 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