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