home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8888 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.3 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!VNET.IBM.COM!metaylor
  2. From: metaylor@VNET.IBM.COM (Mark E Taylor)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Follow-up: Re: Debuging Segmentation Violation Fault
  5. Message-ID: <9208180827.AA18954@ucbvax.Berkeley.EDU>
  6. Date: 18 Aug 92 08:58:48 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Reply-To: metaylor@vnet.ibm.com
  9. Organization: IBM UK Laboratories
  10. Lines: 18
  11.  
  12. Jing Huang writes:
  13. >        However, to my great surprise, it later turned out that nothing was
  14. >wrong with my program. It was the system's library which got corrupted. And
  15. >I did not find this out until someone else took my favorite seat and I was
  16. >forced to use another computer (we have 9 AIX). I would have never suspected
  17. >the system itself and could have spent my whole life (?) in vain.
  18.  
  19. If you get a crash on one machine but not on another, it's very
  20. probable that there's a bug in your program. The behaviour of the
  21. S/6000 hardware has changed. Early machines will let you dereference NULL
  22. but more recent machines will coredump. Add to that the stricter
  23. behaviour of malloc under AIX 3.2, and it's still likely that you're
  24. seeing delayed effects of your program writing beyond a malloced area.
  25.  
  26. Mark E Taylor
  27. AIX Solution Engineering Services
  28. IBM UK Laboratories, Hursley, England
  29.  
  30.