From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jeff Webb <jeff.webb@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] switchtest and Xenomai 2.2.4
Date: Thu, 26 Oct 2006 10:21:03 +0200 [thread overview]
Message-ID: <45406FEF.90806@domain.hid> (raw)
In-Reply-To: <453FF6AA.6030406@domain.hid>
Jeff Webb wrote:
> Jeff Webb wrote:
>
>> When I upgraded to Xenomai 2.2.4, I tried the switchtest program:
>>
>> cd /usr/xenomai/testsuite/switchtest
>> ./run
>>
>> The program appeared to run properly, but <ctrl>-c would not stop the
>> application. I was not able to kill the process cleanly, and
>> /proc/xenomai/stat showed lots of processes still running.
>
>
> I get the same result with svn trunk (rev 1749) plus this FPU patch:
>
> https://mail.gna.org/public/xenomai-core/2006-10/msg00069.html
>
> I think the bug may be SMP related. When I press <ctrl>-c the first
> time, I see no more references to CPU 0. When I press <ctrl>-c a second
> time, all output stops. I have attached the output below.
>
Are you using NPTL or Linuxthreads ? Could you tell us in what state the
switchtest threads are when running ps and in /proc/xenomai/sched ?
After the second Ctrl-C, are the threads still alive ?
Since after the first Ctrl-C, CPU 0 switches are no longer displayed,
the program probably started the cleanup correctly; if gdb does not
tell you where the main thread is blocked, could you try adding some
printfs in the main thread ?
--
Gilles Chanteperdrix
next prev parent reply other threads:[~2006-10-26 8:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-15 21:32 [Xenomai-core] Xenomai v2.2.4 Philippe Gerum
2006-10-25 20:10 ` [Xenomai-help] switchtest and Xenomai 2.2.4 Jeff Webb
2006-10-25 23:43 ` Jeff Webb
2006-10-26 8:21 ` Gilles Chanteperdrix [this message]
2006-10-26 15:51 ` Jeff Webb
2006-10-26 15:56 ` Gilles Chanteperdrix
2006-10-26 16:44 ` Jeff Webb
2006-10-26 16:55 ` Jan Kiszka
2006-10-26 18:53 ` Jeff Webb
2006-10-26 7:35 ` Gilles Chanteperdrix
[not found] ` <454078AD.5000907@domain.hid>
[not found] ` <4540DE60.40209@domain.hid>
[not found] ` <4540E1AB.2040200@domain.hid>
[not found] ` <4540EABD.10403@domain.hid>
[not found] ` <4540ECA6.5000604@domain.hid>
2006-10-26 19:49 ` Jeff Webb
2006-10-27 8:18 ` Gilles Chanteperdrix
2006-10-27 14:45 ` Jeff Webb
2006-10-27 15:05 ` Gilles Chanteperdrix
2006-10-27 16:25 ` Jeff Webb
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=45406FEF.90806@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jeff.webb@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.