home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12760 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.8 KB  |  52 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!usc!sdd.hp.com!mips!odin!twilight!zuni!anchor!olson
  3. From: olson@anchor.esd.sgi.com (Dave Olson)
  4. Subject: Re: KERNEL FAULT ??
  5. Message-ID: <os447ts@zuni.esd.sgi.com>
  6. Sender: news@zuni.esd.sgi.com (Net News)
  7. Organization:  Silicon Graphics, Inc.  Mountain View, CA
  8. References: <32154@adm.brl.mil>
  9. Date: Fri, 21 Aug 92 21:05:18 GMT
  10. Lines: 40
  11.  
  12. In <32154@adm.brl.mil> SERRER@odin.nrc.ca (Martin Serrer) writes:
  13. |   A couple of days ago I asked the net what the prototype
  14. | for the function pcreatev() looks like (still don't know
  15. | what it is :-(  but I'm using the function anyway)
  16. | and now I have an interesting related tidbit.
  17.  
  18. There is a prototype on the man page; it is basicly the same as
  19. execv:      int pcreatev(char *path, *argv[ ]);
  20.  
  21. | 1. I create a child process using, pid = pcreatev("some-program", NULL)
  22. | 2. My parent process dies a horrible death (dumps core)
  23. |   because of a Segmentation fault somewhere further on in
  24. |   the code (no problem, my fault, I can fix this).
  25.  
  26. Yes, the NULL probably wasn't a great idea...
  27.  
  28. | 3. I kill the child process at the csh prompt, kill some-pid.
  29. | WHAMMO, the OS crashes with the following message...
  30. | PANIC: KERNEL FAULT
  31. | PC:0x80107B18     ep:FFFFED54
  32. | EXC code: 28, 'Data Bus Error'
  33. | Bad addr: 0x40B000, cause: 0x1C<>
  34. | sr: 0xC034<IM7,IM6,KVo,IEo,IEp>
  35. | dumping to dev 0x1621 at block 49050, numpages 4095
  36.  
  37. Now this, on the  other hand, is a problem!  Try dis -b 0x80107b00
  38. on the kernel, and that will tell you the routine where it died,
  39. at least, so  you have something to report to the TAC.
  40.  
  41. |   Should I worry? (beyond fixing my code)
  42. |   Should SGI worry?
  43.  
  44. Yes, to both.
  45. --
  46. Let no one tell me that silence gives consent,  |   Dave Olson
  47. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  48.     Maria Isabel Barreno                        |   olson@sgi.com
  49.