*BSD News Article 87356


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.mathworks.com!EU.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!newsfeed.ed.ac.uk!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: What causes a bus error?
Message-ID: <E4GMop.9E9@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
References: <5biv26$boh@sol.ctr.columbia.edu> <craigs-ya023180001501972048120001@news.os.com> <5brlta$35u@uriah.heep.sax.de>
Date: Thu, 23 Jan 1997 12:00:23 GMT
Lines: 12
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34424

In article <5brlta$35u@uriah.heep.sax.de> joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) writes:
>I think a segmentation violation was a signal caused by the MMU, while
>a bus error was usually an access to the void on the system bus

On many systems, the usual cause of a bus error is an unaligned
access.  Of course, this doesn't happen on x86s.  It did on PDP-11s,
at least for instructions ("odd address trap").

-- Richard
-- 
"The Socialists had many branches in America, and the deceased had no
doubt infringed their unwritten laws" - A Study in Scarlet