🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2426

Re: vmunix: sendsig: bad user stack

#2426
From: Guy Harris
Date: Sat, 19 Dec 1992 04:34
27 lines
1171 bytes
>--  Why would interrupting a program during startup result in an illegal
>instruction signal?

See below.

>--  What do the log messages mean?

See below.

>--  Why does the log message say "sig=11" (segmentation fault), but
>"Illegal instruction", (signal 4), is printed on my terminal.

Because:

	1) "bash" is catching SIGSEGV;

	2) it did something that caused a SIGSEGV when you ^C'ed it;

	3) the user stack pointer was bad (the address 0xffffffdc looks
	   bogus), so the kernel couldn't deliver the SIGSEGV to the
	   process (it has to push stuff onto the stack to do so);

	4) if that happens, the kernel sends a SIGILL to the process to
	   kill it off, and logs some messages to indicate why it's
	   doing so.

Could be a bug somewhere in "bash"....
Technical Details
Message-ID: <16019@auspex-gw.auspex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!auspex-gw!guy
References: <w6n2=sg@rpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!auspex-gw!guy
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.unix.internals
Subject: Re: vmunix: sendsig: bad user stack
Message-ID: <16019@auspex-gw.auspex.com>
Date: 19 Dec 92 04:34:53 GMT
References: <w6n2=sg@rpi.edu>
Sender: news@auspex-gw.auspex.com
Organization: Auspex Systems, Santa Clara
Lines: 27
Nntp-Posting-Host: auspex.auspex.com