From: Michiel Boland <boland@diva.nl>
To: ultralinux@vger.kernel.org
Subject: Re: Address that caused sigsegv
Date: Wed, 14 Apr 1999 10:13:53 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-92408589426900@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-92408170123936@msgid-missing>
> * Is it impossible to get the address that caused the SIGSEGV or does
> new_setup_frame32() write this information to the stack frame?
Judging by the source, it doesn't.
> * Why does tss.new_signal exist, is setup_frame32() obsolete?
No idea why it exists. This is from sys32_sigaction():
if(sig < 0) {
current->tss.new_signal = 1;
sig = -sig;
}
Since you say that new_signal is always nonzero (how do you check that?),
my guess is that there is some hacking going on in libc.
The setup_frame32 function *does* put the faulting address on the stack,
but I guess you will have to hack around libc in order to get it to
work.
This is of course going to be extreeeeeeeemely unportable so I would
advise to just let your app dump core and not install a handler for
SIGSEGV.
Cheers
Michiel
prev parent reply other threads:[~1999-04-14 10:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-14 9:14 Address that caused sigsegv rehn
1999-04-14 10:13 ` Michiel Boland [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ultrasparc-92408589426900@msgid-missing \
--to=boland@diva.nl \
--cc=ultralinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.