Xref: utzoo comp.unix.aix:5270 comp.unix.programmer:1887 comp.unix.questions:31566 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!agate!stanford.edu!leland.Stanford.EDU!rstanton From: rstanton@leland.Stanford.EDU (Richard Stanton) Newsgroups: comp.unix.aix,comp.unix.programmer,comp.unix.questions Subject: HELP! Why do I get error message: "Segmentation fault(coredump)" ? Message-ID: <1991May23.090946.4000@leland.Stanford.EDU> Date: 23 May 91 09:09:46 GMT Article-I.D.: leland.1991May23.090946.4000 Sender: rstanton@leland.Stanford.EDU (Richard Stanton) Organization: Stanford GSB Lines: 22 The following may be simple, but I'm new to the AIX environment (and to programming in C under any UNIX). I am trying to run a large C program on an IBM RS/6000. The program has run fine on a VAX, but when I try to run it on the IBM, it starts OK, but after a certain point I get the error message: "Segmentation fault(coredump)" This appears to happen at a section of code where memory is being allocated using calloc, but I test for failure here, and my own error message is never produced. What does this error message mean, and what do I have to do to get the program to run properly? Another program dies at a similar point, but this time it tells me it can't allocate the memory I asked for using my own error message. How can I increase the amount of memory available to the program? Thanks for any help you can give me. Richard Stanton pstanton@gsb-lira.stanford.edu