Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2000 07:45:57 -0700 (PDT)
From:      christor@ug.cs.sunysb.edu
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   gnu/17812: gprof gives error: 
Message-ID:  <200004051445.HAA20663@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         17812
>Category:       gnu
>Synopsis:       gprof gives error:
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr  5 07:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Rued
>Release:        3.3-RELEASE
>Organization:
>Environment:
FreeBSD laptop.smurfy.net 3.3-RELEASE FreeBSD 3.3-RELEASE #5: Tue Mar 28 17:06:51 EST 2000     chris@laptop.smurfy.net:/usr/src/sys/compile/LAPTOP  i386
>Description:
The gprof program seems to want to use an enormous amount of memory, even for very simple programs.

On my system at home (uname -a output: FreeBSD laptop.smurfy.net 3.3-RELEASE FreeBSD 3.3-RELEASE #5: Tue Mar 28 17:06:51 EST 2000     chris@laptop.smurfy.net:/usr/src/sys/compile/LAPTOP  i386) I get the output:

Killed

In addition, the output "swap_pager: out of swap space" is sent to the console.
---
On a FreeBSD system at school (uname -a output: FreeBSD public.ug.cs.sunysb.edu 3.2-RELEASE FreeBSD 3.2-RELEASE #1: Fri Aug 6 15:34:52 EDT 1999     root@:/A/src/sys/compile/PUBLIC  i386) gprof gives the output:

gprof: no room for 67268600 sample pc's
>How-To-Repeat:
Create a C program (hello.c):
int main(void){
  printf("hello world!\n);
}

Then compile it with:
$ gcc -pg -o hello hello.c

Then run:
gprof hello
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004051445.HAA20663>