Giammarco Zacheo wrote:
> Hi all,
>   I am running some tests on my mpc5200b board running Xenomai 2.4.5 with
> kernel DENX-2.6.25. When I run the clocktest program, it hangs after a
> variable period of time. Xenomai's watchdog recognizes it as a runaway task,
> and gdb tells that thread 1 is hanging at nanosleep(). Same behaviour with
> DENX-2.6.26
> 
> Here's the output of gdb:
> 
> Program received signal SIGINT, Interrupt.
> [Switching to Thread 0x48024d90 (LWP 352)]
> 0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
> (gdb) thread 1
> [Switching to thread 1 (Thread 0x48024d90 (LWP 352))]#0  0x0fe1ebb8 in
> nanosleep () from /lib/libc.so.6
> (gdb) bt
> #0  0x0fe1ebb8 in nanosleep () from /lib/libc.so.6
> #1  0x0fe4bea0 in usleep () from /lib/libc.so.6
> #2  0x1000259c in main (argc=1, argv=0xbfa6eb84) at clocktest.c:243
> (gdb)

Could you try latest clocktest.c from SVN (2.4.x or trunk)? I fixed a
very similar issue recently, but I'm not sure if it applies to your
scenario.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to