[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201004202223.53664.vapier@gentoo.org>
Date: Tue, 20 Apr 2010 22:23:52 -0400
From: Mike Frysinger <vapier@...too.org>
To: libc-help@...rceware.org
Cc: Paweł Sikora <pluto@...k.net>,
linux-kernel@...r.kernel.org
Subject: Re: mprotect() failed: Cannot allocate memory
On Tuesday 20 April 2010 19:44:18 Paweł Sikora wrote:
> so, let's avoid EF and run following test:
good, the info is useful now
> mmap(NULL, 4896, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) =
> 0x7f5fd97df000
> mprotect(0x7f5fd97df000, 4096, PROT_NONE) = -1 ENOMEM (Cannot allocate
> memory)
since you're using funcs that go straight to the kernel, this most likely isnt
related to glibc at all, so sticking to LKML would be best. the next step
would be to look at the linux internals and find out why this is failing.
-mike
Download attachment "signature.asc " of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists