From: Philippe Gerum <rpm@xenomai.org>
To: "M. Koehrer" <mathias_koehrer@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: Re: [Xenomai-help] Howto catch SEGV signals in Xenomai
Date: Wed, 14 Mar 2007 12:02:17 +0100 [thread overview]
Message-ID: <1173870137.32259.30.camel@domain.hid> (raw)
In-Reply-To: <22180008.1173860253238.JavaMail.ngmail@domain.hid>
On Wed, 2007-03-14 at 09:17 +0100, M. Koehrer wrote:
> Hi all,
>
> thanks for all the feedback on that issue.
> Since yesterday I did a couple of tests on kernel 2.6.19.2
> 1. I used the adeos patch provided with xenomai-2.3.0
> SMP mode => freeze with my program. I have enclosed the kernel config for this one
> UP mode => freeze with my program
>
> 2. I added the patch from Philippe (the second one):
>
> --- ksrc/nucleus/pod.c (revision 2293)
> +++ ksrc/nucleus/pod.c (working copy)
> @@ -1420,6 +1420,11 @@
> the KICKED bit set, so that xnshadow_relax() is never
> prevented from blocking the current thread. */
> if (xnthread_test_info(thread, XNKICKED)) {
> + XENO_ASSERT(NUCLEUS, (mask & XNRELAX) == 0,
> + xnpod_fatal("Relaxing a kicked thread"
> + "(thread=%s, mask=%lx)?!",
> + thread->name, mask);
> + );
> xnthread_clear_info(thread, XNRMID | XNTIMEO);
> xnthread_set_info(thread, XNBREAK);
> goto unlock_and_exit;
>
> I used this patch on the UP kernel 2.6.19.2. Same adeos version as before.
> The result was the same => PC freeze
>
Make sure to switch on the nucleus debug option, so that this code
triggers if appropriate.
--
Philippe.
next prev parent reply other threads:[~2007-03-14 11:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 14:51 [Xenomai-help] Howto catch SEGV signals in Xenomai M. Koehrer
2007-03-13 15:19 ` Philippe Gerum
2007-03-13 15:36 ` M. Koehrer
2007-03-13 15:25 ` Gilles Chanteperdrix
2007-03-13 15:52 ` Philippe Gerum
2007-03-13 19:21 ` Gilles Chanteperdrix
2007-03-13 22:34 ` Philippe Gerum
2007-03-13 22:37 ` Philippe Gerum
2007-03-14 8:17 ` M. Koehrer
2007-03-14 8:47 ` M. Koehrer
2007-03-14 10:35 ` Philippe Gerum
2007-03-14 11:18 ` M. Koehrer
2007-03-14 13:32 ` Philippe Gerum
2007-03-14 11:02 ` Philippe Gerum [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-03-14 12:36 M. Koehrer
2007-03-14 13:26 ` Philippe Gerum
2007-03-14 14:43 M. Koehrer
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=1173870137.32259.30.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=mathias_koehrer@domain.hid \
--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.