home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp / 14206 < prev    next >
Encoding:
Text File  |  1992-12-18  |  1.1 KB  |  34 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!dhepner
  3. From: dhepner@cup.hp.com (Dan Hepner)
  4. Subject: Re: bus error problems, how to solve?
  5. Sender: news@cupnews0.cup.hp.com
  6. Message-ID: <BzFIC3.DGB@cup.hp.com>
  7. Date: Fri, 18 Dec 1992 00:21:39 GMT
  8. References: <A0W9TOW@math.fu-berlin.de>
  9. Organization: Hewlett-Packard
  10. X-Newsreader: Tin 1.1scd1 PL4
  11. Lines: 21
  12.  
  13. From: holger@spider.chemie.fu-berlin.de (Holger Busse)
  14.  
  15. >Hello HPNetters,
  16. >does anybody have some information how to search for the origin of
  17. >bus errors, that occur when executing programs.
  18. >
  19. >Thanx for help
  20. >
  21. >Holger Busse
  22.  
  23. Bad pointers in the program.  When an invalid memory locations is attempted 
  24. to be read or written, a bus error will result.
  25.  
  26. Check for pointers which are used but have not been initialized, or have 
  27. been initialized with something other than a valid address of one of
  28. the things the pointer is declared as pointing to.
  29.  
  30. There are other ways to end up with references "out of bounds",
  31. but this is the most common.
  32.  
  33. Dan Hepner
  34.