What machines core dump on deref of NULL?

Andrew Morton applix at runxtsa.runx.oz.au
Fri Jun 29 12:43:36 AEST 1990


> 
> 	     I recently found to my delight that the Sparc architecture
> 	core dumps if a NULL pointer is dereferenced, and I want to find
> 	other systems that do this.  [ stuff deleted ]
> 	     What other machines do this?  I know that the 3B2 and 3B15
> 	don't do it, and neither does AT&T UNIX on the 386.

	The NCR Tower series (680x0 System V boxes) do this.  Executables
are loaded at address 0x8000 and a reference to any address lower
than that will make your program drop core.  I agree that this
is a very useful feature.  If this breaks any existing code,
then the code is already broken!



More information about the Comp.unix.wizards mailing list