home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!dog.ee.lbl.gov!news!vela!cs.uiuc.edu!sparc0b!pjl
- From: pjl@cs.uiuc.edu (Paul Lucas)
- Subject: Re: What is bus error ??
- Message-ID: <C1Ist3.Ixq@cs.uiuc.edu>
- Sender: news@cs.uiuc.edu
- Organization: University of Illinois at Urbana-Champaign
- References: <9301271441.AA09698@peacock.cis.ohio-state.edu>
- Distribution: usa
- Date: Wed, 27 Jan 1993 16:07:51 GMT
- Lines: 16
-
- In <9301271441.AA09698@peacock.cis.ohio-state.edu> ychung@news.cis.ohio-state.edu (yiu fai chung) writes:
-
- >Sometime I got strange error message like "bus error" when I was using
- >C++. Does anyone know the reason ?
-
- A bus error can mean:
-
- 1. odd pointer value on an even-pointer architechure machine.
- 2. addressing value outside your address space.
-
- Any language that allows direct pointer manipulation can cause
- bus errors, not just C++. You have a bug in your program.
- --
- - Paul J. Lucas
- AT&T Bell Laboratories
- Naperville, IL
-