On Wed, Jun 4, 2008 at 3:10 PM, Markus Osterried
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using Xenomai with pSOS-skin.
> The application and the whole system crashes when I call the following
> statement from a pSOS-thread:
>
> system("ifconfig eth0 down");
>
> Any other call to system(), e.g. system("ls") works fine.
> On the other hand, if I call "ifconfig eth0 down" from a shell outside the
> Xenomai-application, it works also fine.
>
> I have reduced the whole application to only one pSOS-thread which only call
> system(), it crashes.
> If I call system() in the main() function before creating/starting the
> pSOS-thread, it works fine.
>
> Anybody any idea why this call to system() doesn't work from inside the
> application?

A similar issue has been fixed in recent I-pipe patches. Could you try
a more recent I-pipe patch ?

-- 
 Gilles

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to