All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mariusz Janiak" <mariuszjaniak@wp.pl>
To: Xenomai <xenomai@xenomai.org>
Subject: [Xenomai] SIGXCPU with rt_mutex_release
Date: Mon, 31 Dec 2012 18:32:31 +0100	[thread overview]
Message-ID: <50e1cc2fb40c67.12589971@wp.pl> (raw)

Hi,

I have met problem when I run OROCOS helloWord example. Xenomai generate SIGXCPU signal when rt_mutex_release(...) is called. I have installed signal handler for each realtime thread created by OROCOS and I get following result 

SIGDEBUG received, reason 4: affected by priority inversion
/worek/install/orocos-toolchain-xeno/install/lib/liborocos-rtt-xenomai.so.2.6(my_warn_upon_switch+0x44)[0x7f687ad75024]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f687a5dbcb0]
/usr/xenomai/lib/libnative.so.3(rt_mutex_release+0xbb)[0x7f687a7ecf5b]
/worek/install/orocos-toolchain-xeno/install/lib/liborocos-rtt-xenomai.so.2.6(_ZN3RTT2os6ThreadD1Ev+0x129)[0x7f687ad73d89]
/worek/install/orocos-toolchain-xeno/install/lib/liborocos-rtt-xenomai.so.2.6(_ZN3RTT8ActivityD2Ev+0x37)[0x7f687ad272e7]
/worek/install/orocos-toolchain-xeno/install/lib/liborocos-rtt-xenomai.so.2.6(_ZN3RTT8ActivityD0Ev+0x9)[0x7f687ad27339]
/worek/install/orocos-toolchain-xeno/install/lib/liborocos-rtt-xenomai.so.2.6(_ZN5boost10shared_ptrIN3RTT4base17ActivityInterfaceEEaSERKS4_+0x4e)[0x7f687ad3fb6e]
/worek/install/orocos-toolchain-xeno/install/lib/liborocos-rtt-xenomai.so.2.6(_ZN3RTT11TaskContext11setActivityEPNS_4base17ActivityInterfaceE+0x72)[0x7f687ad34d32]
./helloworld(_ZN3OCL10HelloWorldC2ESs+0x19f)[0x4505ff]
./helloworld(_Z13ORO_main_impliPPc+0xe3)[0x445393]
./helloworld(main+0x83)[0x444d63]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f6879a1976d]
./helloworld[0x444f01]

There is much bigger mess during exiting from application. I am not pretty sure this is a Xenomai problem, if not sorry for bothering. I haven check it with previous Xenomai release yet.

Best regards and happy new year,
Mariusz






             reply	other threads:[~2012-12-31 17:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-31 17:32 Mariusz Janiak [this message]
2012-12-31 17:41 ` [Xenomai] SIGXCPU with rt_mutex_release Gilles Chanteperdrix
2012-12-31 17:52   ` Peter Soetens
2012-12-31 17:55     ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2013-01-08 11:12 Mariusz Janiak
2013-01-08 13:33 ` Jan Kiszka
2013-01-08 19:40   ` Gilles Chanteperdrix
2013-01-08 19:43 ` Gilles Chanteperdrix
2013-01-08 21:06   ` Jan Kiszka
2013-01-08 21:09     ` Jan Kiszka
2013-01-09 13:30     ` Jan Kiszka
2013-01-12 18:43       ` Gilles Chanteperdrix
2013-01-13 12:29         ` Jan Kiszka
2013-01-13 12:35           ` Jan Kiszka
2013-01-13 12:52             ` Gilles Chanteperdrix
2013-01-08 17:42 Mariusz Janiak
2013-01-08 20:51 Mariusz Janiak

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=50e1cc2fb40c67.12589971@wp.pl \
    --to=mariuszjaniak@wp.pl \
    --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.