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
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help