All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Stoidner, Christoph" <c.stoidner@arvero.de>,
	"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Some Information About compilation Xenomai and RT Patches
Date: Mon, 23 Jun 2014 11:40:20 +0200	[thread overview]
Message-ID: <53A7F604.7010709@xenomai.org> (raw)
In-Reply-To: <39ed57fee9f445d995e8d17a267c2fa0@EX132MBOX1B.de2.local>

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.

-- 
                                                                Gilles.


  reply	other threads:[~2014-06-23  9:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 15:00 [Xenomai] Some Information About compilation Xenomai and RT Patches Jean Rodriguez
     [not found] ` <be428e33f9f5482aa36cbc1654ec2db2@EX132MBOX1B.de2.local>
2014-06-20  8:50   ` Stoidner, Christoph
2014-06-20  9:00 ` Philippe Gerum
2014-06-20  9:02 ` Stoidner, Christoph
2014-06-20 11:50   ` Gilles Chanteperdrix
2014-06-23  9:33     ` Stoidner, Christoph
2014-06-23  9:40       ` Gilles Chanteperdrix [this message]
2014-06-23  9:53       ` Gilles Chanteperdrix
2014-06-23 10:04         ` Stoidner, Christoph
2014-06-23 23:41           ` Gilles Chanteperdrix
2014-06-24  6:37             ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A7F604.7010709@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=c.stoidner@arvero.de \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.