154     int r = rt_task_create(&thread, thread_name.c_str(), 128*1024, prio, 
T_FPU|T_JOINABLE);
Is there any trace on the serial console?

Hasn't been, but I now after I enabled Xenomai debugging and watchdog, at least there's 
some indication what's going wrong. The "last words" of the application are

...
Xenomai: registered exported object  (mutexes)
Xenomai: registered exported object  (mutexes)
Xenomai: watchdog triggered -- signaling runaway thread 'pfda'
Backtrace: 0xbcdcc6, 0, 0, 0

And in gdb it shows up as a SIGXCPU:

Program received signal SIGXCPU, CPU time limit exceeded.
...
(gdb) bt
#0  pthread_setcanceltype (type=0, oldtype=0x0) at 
libpthread/linuxthreads.old/forward.c:161
#1  0x00f35450 in __wrap_pthread_cond_wait (cond=<value optimized out>, 
mutex=<value optimized out>)
    at ../../../../xenomai-2.5.5.2/src/skins/posix/cond.c:123
#2  0x00be72c6 in consume_socket (ctx=0x837788, sp=0x1778240) at mongoose.c:3871
#3  0x00be753a in worker_thread (ctx=0x837788) at mongoose.c:3914
...


Kolja

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

Reply via email to