Skip to contentSkip to conversation

Freeze on system()/fork() call (xenomai 2.4.4)

Xenomai-help [email protected] 3 participants 3 messages Jul 17, 2008 – Jul 21, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

A few months ago I reported that my installation of xenomai 2.4.2 would freeze when calling fork() or system() under certain conditions:

https://mail.gna.org/public/xenomai-help/2008-04/msg00002.html

Gilles Chanteperdrix gave me a patch that seemed to resolve the issue. I now tried to upgrade to Xenomai 2.4.4 and it seems to suffer from the same problem. Is this issue expected to be resolved in the near future or should I look for a permanent work-around in my programs?

Thank you,

Vincent Levesque
[email protected]

#1 lore raw
Quoted 5 lines · [email protected] wrote:

Hello,

A few months ago I reported that my installation of xenomai 2.4.2 would freeze when calling fork() or system() under certain conditions:

Quoted 7 lines

https://mail.gna.org/public/xenomai-help/2008-04/msg00002.html

Gilles Chanteperdrix gave me a patch that seemed to resolve the issue. I now tried to upgrade to Xenomai 2.4.4 and it seems to suffer from the same problem. Is this issue expected to be resolved in the near future or should I look for a permanent work-around in my programs?

This was not a Xenomai issue, but an Adeos one.

Assuming that your arch is x86, Gilles's fix was merged back in April:
http://download.gna.org/adeos/patches/v2.6/x86/older/adeos-ipipe-2.6.24-x86-2.0-05.patch

The latest update for the 2.6.24 baseline you may want to grab is this one:
http://download.gna.org/adeos/patches/v2.6/x86/older/adeos-ipipe-2.6.24-x86-2.0-08.patch

You may also want to have a look at the Xenomai FAQ about picking the proper I-pipe patch for any given Xenomai release:
http://www.xenomai.org/index.php/FAQs

Quoted 10 lines

Thank you,

Vincent Levesque
[email protected]

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

Signature · 1 line
Philippe.
#2 lore raw

Hi Philippe,

You are quite correct. I was using adeos-ipipe-2.6.20.21-i386-1.12-03.patch which predates the fix. I switched to adeos-ipipe-2.6.25-x86-2.0-08.patch (also distributed with xenomai 2.4.4) and my issue was resolved.

Thank you for your help,

Vincent Levesque
[email protected]

This was not a Xenomai issue, but an Adeos one.

Quoted 14 lines

Assuming that your arch is x86, Gilles's fix was merged back in April:

http://download.gna.org/adeos/patches/v2.6/x86/older/adeos-ipipe-2.6.24-x86-2.0-05.patch

The latest update for the 2.6.24 baseline you may want to grab is this one:

http://download.gna.org/adeos/patches/v2.6/x86/older/adeos-ipipe-2.6.24-x86-2.0-08.patch

You may also want to have a look at the Xenomai FAQ about picking the proper
I-pipe patch for any given Xenomai release:
http://www.xenomai.org/index.php/FAQs