From: David Mosberger <davidm@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Bug in signal handling
Date: Mon, 03 Dec 2001 03:15:16 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590698805575@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805573@msgid-missing>
>>>>> On 02 Dec 2001 23:05:29 +0100, Andreas Schwab <schwab@suse.de> said:
Andreas> Then send both SIGUSR1 and SIGUSR2 to the process from
Andreas> another terminal. If they arrive close enough then the
Andreas> first signal handler will be interupted at GATE_ADDR by the
Andreas> second handler. But ia64_do_signal is again called with
Andreas> in_syscall = 1, and it will call ia64_decrement_ip before
Andreas> setting up the signal handler frame. Thus when the second
Andreas> signal returns then rt_sigreturn it will return to
Andreas> GATE_ADDR - 16 and crashes.
I think I know what the problem is. If I'm right, then, oddly enough,
I discovered the same bug just yesterday (while proof-reading the
book, nevertheless... ;-).
Anyhow, I'll look into it on Monday.
Thanks,
--david
next prev parent reply other threads:[~2001-12-03 3:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-02 22:05 [Linux-ia64] Bug in signal handling Andreas Schwab
2001-12-03 3:15 ` David Mosberger [this message]
2001-12-04 19:53 ` David Mosberger
2001-12-05 1:14 ` Richard Henderson
2001-12-05 2:15 ` David Mosberger
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-ia64-105590698805575@msgid-missing \
--to=davidm@hpl.hp.com \
--cc=linux-ia64@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox