mprotect() failed: Cannot allocate memory

Mike Frysinger vapier@gentoo.org
Wed Apr 21 02:24:00 GMT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20100421/f33fb909/attachment.sig>


More information about the Libc-help mailing list