Xref: utzoo comp.unix.aix:5333 comp.unix.programmer:1918 comp.unix.questions:31717 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!uunet!mcsun!hp4nl!orcenl!nlicl1!hbergh From: hbergh@nlicl1.oracle.com (Herbert van den Bergh) Newsgroups: comp.unix.aix,comp.unix.programmer,comp.unix.questions Subject: Re: HELP! Why do I get error message: "Segmentation fault(coredump)" ? Message-ID: <1406@nlsun1.oracle.nl> Date: 27 May 91 15:55:49 GMT References: <1991May23.090946.4000@leland.Stanford.EDU> <1991May23.232950.27551@minyos.xx.rmit.oz.au> <1991May25.055311.8071@research.canon.oz.au> Sender: news@oracle.nl Reply-To: hbergh@oracle.com Followup-To: comp.unix.aix Organization: Oracle Europe Lines: 23 Nntp-Posting-Host: nlicl1 In article <1991May25.055311.8071@research.canon.oz.au>, andy@research.canon.oz.au (Andy Newman) writes: |> Sounds like a NULL pointer dereference. VAXen have data at location 0 |> many modern systems don't (is AIX in this league?). Nope. From /usr/lpp/bos/bsdport: 7.1. Derefencing NULL Pointers The word at memory location zero contains a zero. That means that code which has been incorrectly written to use a NULL pointer to represent a null string will work, but will not be portable to other UNIX operating systems, and may not work on future AIX systems. |> -- |> Andy Newman (andy@research.canon.oz.au) Canon Info. Systems Research Australia -- Regards, Herbert van den Bergh hbergh@oracle.com Oracle Europe or uunet!oracle!hbergh