On Wed, Apr 30, 2008 at 1:34 AM, Travis Stratman <[EMAIL PROTECTED]> wrote:
> The klatency test only works the first time that I run it, all further
> tests cause a segmentation fault. Here is the strace of the last few
> calls on klatency when it does fail:
> gettimeofday({1209511560, 302399}, NULL) = 0
> rt_sigaction(SIGINT, {0x88c8, [INT], SA_RESTART|0x4000000}, {SIG_DFL},
> 8) = 0
> rt_sigaction(SIGTERM, {0x88c8, [TERM], SA_RESTART|0x4000000}, {SIG_DFL},
> 8) = 0
> rt_sigaction(SIGHUP, {0x88c8, [HUP], SA_RESTART|0x4000000}, {SIG_DFL},
> 8) = 0
> rt_sigaction(SIGALRM, {0x88c8, [ALRM], SA_RESTART|0x4000000}, {SIG_DFL},
> 8) = 0
> open("/proc/xenomai/registry/native/pipes/klat_pipe", O_RDONLY) = 3
> read(3, "#C\0\0\0\0\0\0\220\1\0\0\321q\0\0\0\0\0\0\0\0\0\0\362\204"...,
> 32) = 32
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
Yes, I discovered this issue recently but did not fix it yet. You have
to compile the klatency driver as a module and load/unload it for each
run of the klatency user-space application. If you compile the driver
as a module and use the run script, all should happen automatically.
--
Gilles
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help