home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!dhepner
- From: dhepner@cup.hp.com (Dan Hepner)
- Subject: Re: bus error problems, how to solve?
- Sender: news@cupnews0.cup.hp.com
- Message-ID: <BzFIC3.DGB@cup.hp.com>
- Date: Fri, 18 Dec 1992 00:21:39 GMT
- References: <A0W9TOW@math.fu-berlin.de>
- Organization: Hewlett-Packard
- X-Newsreader: Tin 1.1scd1 PL4
- Lines: 21
-
- From: holger@spider.chemie.fu-berlin.de (Holger Busse)
-
- >Hello HPNetters,
- >does anybody have some information how to search for the origin of
- >bus errors, that occur when executing programs.
- >
- >Thanx for help
- >
- >Holger Busse
-
- Bad pointers in the program. When an invalid memory locations is attempted
- to be read or written, a bus error will result.
-
- Check for pointers which are used but have not been initialized, or have
- been initialized with something other than a valid address of one of
- the things the pointer is declared as pointing to.
-
- There are other ways to end up with references "out of bounds",
- but this is the most common.
-
- Dan Hepner
-