[Xenomai] Some Information About compilation Xenomai and RT Patches

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Mon Jun 23 11:40:20 CEST 2014

On 06/23/2014 11:33 AM, Stoidner, Christoph wrote:
> Hi Gilles,
> when a userspace application starts it calls the brk() syscall to
> enlarge it's heap space. In some cases the call leads to an NOMEM
> error in fcse_check_mmap_addr(). Since glibc does not handle NOMEM
> error at this place the a segfault exception appears.
> It seems as this happens when brk() got an address above some limit,
> also when the process at all consumes less than 32MB RAM. E.g.
> busybox shell command "ls" is enough to get the segfault.

with the glibc versions I have been testing with the FCSE patch since it
exists, when brk fails, the glibc uses mmap to allocate memory, and
everything continues.


More information about the Xenomai mailing list