comp.sys.hp comp.sys.sgi comp.sys.sun comp.unix.ultrix comp.unix.wizards

comp.sys.hp comp.sys.sgi comp.sys.sun comp.unix.ultrix comp.unix.wizards

Post by Mike Elli » Wed, 06 Mar 1991 06:55:13

  How can you find out how much memory and/or swap space you
  have left from inside a C program.



1. comp.unix.wizards comp.lang.c comp.sys.sun alt.unix.wizards

Has anyone seen this type of error on the following platform and the Sun C
Compiler ??  The C program in question returns an integer from main and core
dumps with the error message below.  We replaced the return with an exit and
the error disappeared.  We ran the program in the debugger with check -all
and it gets a segmentation fault on the return statement.

Platform: SunOS oscar 5.4 Generic_101945-36 sun4d sparc

reading symbolic information for prdbc301
core file header read successfully
core file read error: address 0xdf7f1de0 not in data space
error while reading shared library list
program terminated by signal SEGV (no mapping at the fault address)

PLEASE SEND me e-mail instead of posting back an answer.

Thanx in advance,

Julie M. Kalman

2. bug in yacc -- or is it a feature

3. comp.sys.sun.admin comp.unix.solaris comp.unix.wizards

4. RH modem problem

5. comp.sys.mac.misc comp.sys.mac.system comp.sys.mac.apps

6. System Logs to a Log Server Machine?

7. comp.sys.sun.admin comp.unix.questions

8. Read Error with tar xvf on a VDat

9. CFD: comp.sys.mac.mklinux, comp.sys.mac.programmer.mklinux

10. comp.unix.questions comp.unix.misc comp.unix.sys5.r3


12. comp.os.linux, comp.os.linux.misc,, comp.os.linux.networking