From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] x86_32 mayday
Date: Sun, 03 Jun 2012 18:58:08 +0200 [thread overview]
Message-ID: <4FCB97A0.2020400@xenomai.org> (raw)
In-Reply-To: <4FC8FBD0.3020206@siemens.com>
On 06/01/2012 07:28 PM, Jan Kiszka wrote:
> On 2012-06-01 19:16, Gilles Chanteperdrix wrote:
>>
>> Hi,
>>
>> with the current tip of xenomai 2.6 branch, the "sigdebug" test testing
>> the "mayday" code ends up with a segfault on x86_32. I tried to have a
>> look at it, but could not really understand what happens: the register
>> on return from the syscall are ok, but the segfault happens after return
>> from the signal handler, when returning from the interrupted function.
>> It looks like either ebp, or the function return adress are wrong.
>>
>> If anyone wants to have a look at it... Jan maybe?
>
> Can't promise, but will try to find a slot.
>
> I think I didn't test on x86-32 so far. Is this a regression or did you
> run the test for the first time as well?
This could not have worked reliably on x86_32, my bad. We must save
ss:esp across the mayday transition to return to userland sanely.
I'll be pushing a patch shortly.
--
Philippe.
prev parent reply other threads:[~2012-06-03 16:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-01 17:16 [Xenomai] x86_32 mayday Gilles Chanteperdrix
2012-06-01 17:28 ` Jan Kiszka
2012-06-01 18:05 ` Gilles Chanteperdrix
2012-06-04 11:16 ` Philippe Gerum
2012-06-04 11:23 ` Jan Kiszka
2012-06-04 12:27 ` Gilles Chanteperdrix
2012-06-03 16:58 ` Philippe Gerum [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=4FCB97A0.2020400@xenomai.org \
--to=rpm@xenomai.org \
--cc=jan.kiszka@siemens.com \
--cc=xenomai@xenomai.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.