[Rock-dev] R: Re: Deployment with more then 22 instances crashes on xenomai

gprizzi at tin.it gprizzi at tin.it
Wed Apr 6 19:31:19 CEST 2011


Tank you for your support.

I verified that the names of instances are all different.

Instead I have a component with a name that is 34 caracters long.
If this is the cause of the failure i can shorten it.

In my orogen file and in my defined data types there is not a name like "Activity".

Using dmesg I can see the following message when the deployment crashes.


I-pipe: Domain Xenomai registered.
Xenomai: hal/i386 started.
Xenomai: scheduling class idle registered.
Xenomai: scheduling class rt registered.
Xenomai: real-time nucleus v2.5.5.2 (Ghosts) loaded.
Xenomai: starting native API services.
Xenomai: starting POSIX services.
MainThread[2307]: segfault at 0 ip b46673f7 sp bfcad440 error 6 in libnative.so.3.0.0[b4662000+9000]
Xenomai: stopping POSIX services.
Xenomai: stopping native API services.
I-pipe: Domain Xenomai unregistered.
Xenomai: hal/i386 stopped.
Xenomai: real-time nucleus unloaded.

G. Rizzi



----Messaggio originale----

Da: lambert.willy at gmail.com

Data: 6-apr-2011 8.27

A: "gprizzi at tin.it"<gprizzi at tin.it>

Cc: <orocos-dev at lists.mech.kuleuven.be>, <orocos-users at lists.mech.kuleuven.be>, <rock-dev at dfki.de>

Ogg: Re: [Rock-dev] Deployment with more then 22 instances crashes on xenomai





2011/4/5 gprizzi at tin.it <gprizzi at tin.it>

 Dear sirs,

 I am working with Orocos toolchain-2.3.0.

 I have a deployments made of 24 instances of 13 components.
 I define my components using orogen the I generate the source code with the commands:


orogen --target=xenomai -v -V test.orogen

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/lib/orocos

I modified the generated source code simply removing comment from configureHook, updateHook, startHook.


I compiled the deployment with the command 

make.

With all the 24 instances, necessary for my deployment, I got a crash with segmentation fault.

I I remove two instances (no matter which one) the deployment works fine.


The complete deployments works fine on gnulinux too.

Can you suggest me why having more than 22 instances produces a program crash?

Is there any configuration parameter of xenomai that have to be tuned?


When taskcontext are loaded I get for 13 times the following warning too:

0.086 [ Warning][Thread] Activity: an object with that name is already existing in Xenomai.

Why this happens?


Did you give by pity the same same to 2 instances of the same component ?
Are you using long names for you components ? such as more than around 30 letters ?
This warning should not prevent your app from working (at least deploying) , but it is better to correct it.

 
Tank you for your kind support?

G. Rizzi





 
_______________________________________________

Rock-dev mailing list

Rock-dev at dfki.de

http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev









 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/mailman/cgi-bin/private/rock-dev/attachments/20110406/af13db6d/attachment.htm 


More information about the Rock-dev mailing list