lkml.org 
[lkml]   [2010]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromMike Frysinger <>
SubjectRe: mprotect() failed: Cannot allocate memory
DateTue, 20 Apr 2010 22:23:52 -0400
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2010-04-21 04:27    [from the cache]
©2003-2010