This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/386] pthread_create returns ENOMEM but should return EAGAIN


http://sourceware.org/bugzilla/show_bug.cgi?id=386

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-11 22:24:22 UTC ---
(In reply to comment #9)
> I was just able to reproduce this.  Using strace I discovered that ENOMEM was
> coming from the mprotect() call that sets up the guard page.  And indeed this
> seems to be a case that isn't converting ENOMEM -> EAGAIN.

That's a good catch.  I changed the code.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]