home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / internal / 2068 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.1 KB

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.unix.internals
  4. Subject: Re: vmunix: sendsig: bad user stack
  5. Message-ID: <16019@auspex-gw.auspex.com>
  6. Date: 19 Dec 92 04:34:53 GMT
  7. References: <w6n2=sg@rpi.edu>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 27
  11. Nntp-Posting-Host: auspex.auspex.com
  12.  
  13. >--  Why would interrupting a program during startup result in an illegal
  14. >instruction signal?
  15.  
  16. See below.
  17.  
  18. >--  What do the log messages mean?
  19.  
  20. See below.
  21.  
  22. >--  Why does the log message say "sig=11" (segmentation fault), but
  23. >"Illegal instruction", (signal 4), is printed on my terminal.
  24.  
  25. Because:
  26.  
  27.     1) "bash" is catching SIGSEGV;
  28.  
  29.     2) it did something that caused a SIGSEGV when you ^C'ed it;
  30.  
  31.     3) the user stack pointer was bad (the address 0xffffffdc looks
  32.        bogus), so the kernel couldn't deliver the SIGSEGV to the
  33.        process (it has to push stuff onto the stack to do so);
  34.  
  35.     4) if that happens, the kernel sends a SIGILL to the process to
  36.        kill it off, and logs some messages to indicate why it's
  37.        doing so.
  38.  
  39. Could be a bug somewhere in "bash"....
  40.