Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 00:59 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: Hello, I found recently that large application uses to segfault before fork() leaves its glibc wrapper. I included here a test suite which can be easily used to verify what goes wrong. It

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: i see. want you me to send .config file ? anything else ? Have you tried gdb? It should tell you exactly at what point the binary takes the signal. -- Gilles. ___ Xenomai-core

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 13:00 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 00:59 +0200, Gilles Chanteperdrix wrote: - I have not really checked your user-space compilation flags, I am using xeno-config to get the correct ones. xeno-config

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 13:00 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 00:59 +0200, Gilles Chanteperdrix wrote: - I have not really checked your user-space compilation flags, I am using xeno-config to get the correct

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 14:00 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 13:00 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 00:59 +0200, Gilles Chanteperdrix wrote: - I have not really checked your

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: rather i use native clean x86 environment (on e.g. x86_64) I do this all the time, and never had any problem. i had lots with header files mainly. Well, the glibc and Xenomai header files are the same on 64 bits and 32 bits machines... of course, if you are

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 14:37 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: rather i use native clean x86 environment (on e.g. x86_64) I do this all the time, and never had any problem. i had lots with header files mainly. Well, the glibc and Xenomai header files are

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 14:37 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: rather i use native clean x86 environment (on e.g. x86_64) I do this all the time, and never had any problem. i had lots with header files mainly. Well, the glibc and

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 15:39 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 14:37 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: rather i use native clean x86 environment (on e.g. x86_64) I do this all the time, and never had any

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: yes. i downloaded this config a while ago. need to setup new kernel 2.6.31.1 with xenomai. is 2.5.4 suitable for this test ? should i also use adeos-*.31.1-*2.4-09 patch ? See the versions I posted in my test report yesterday. They were made with this

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 16:10 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: yes. i downloaded this config a while ago. need to setup new kernel 2.6.31.1 with xenomai. is 2.5.4 suitable for this test ? should i also use adeos-*.31.1-*2.4-09 patch ? See the versions I

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:10 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: yes. i downloaded this config a while ago. need to setup new kernel 2.6.31.1 with xenomai. is 2.5.4 suitable for this test ? should i also use adeos-*.31.1-*2.4-09 patch

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:10 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: yes. i downloaded this config a while ago. need to setup new kernel 2.6.31.1 with xenomai. is 2.5.4

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:10 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: yes. i downloaded this config a while ago. need to setup new kernel 2.6.31.1

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:10 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: yes. i downloaded this config a while ago. need to setup new kernel 2.6.31.1 with xenomai. is 2.5.4

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 17:13 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:10 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: yes. i

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Gilles Chanteperdrix
Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 17:13 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:10 +0200, Gilles Chanteperdrix wrote: Krzysztof

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 17:43 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 17:13 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed,

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 17:43 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 17:13 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed,

Re: [Xenomai-core] xenomai 2.5.3/native, kernel 2.6.31.8 and fork()

2010-08-18 Thread Krzysztof Błaszkowski
On Wed, 2010-08-18 at 17:43 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 17:13 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed, 2010-08-18 at 16:30 +0200, Gilles Chanteperdrix wrote: Krzysztof Błaszkowski wrote: On Wed,