public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5758] New: [patch] Fix getrlimit() acting funny sometimes
@ 2008-02-12 14:30 thomas dot jarosch at intra2net dot com
  2008-02-12 14:30 ` [Bug libc/5758] " thomas dot jarosch at intra2net dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: thomas dot jarosch at intra2net dot com @ 2008-02-12 14:30 UTC (permalink / raw)
  To: glibc-bugs

Hey there,

attached patch fixes a little bug I found while tracing some getrlimit issues 
on my system. Please have a look, I couldn't find a place 
where "__have_no_new_getrlimit" seems to get initialized.

The patch is still valid for glibc HEAD.

Currently pthread_create fails on my system as ugetrlimit(STACK_SIZE) 
retuns "2147483648". That -almost- half the size of RLIM_INFINITY.
mmap() in ntpl/allocatestack.c then tries to get 2GB of memory on my 1 GB 
box ;-) Still investigating...

Cheers,
Thomas

-- 
           Summary: [patch] Fix getrlimit() acting funny sometimes
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: thomas dot jarosch at intra2net dot com
                CC: glibc-bugs at sources dot redhat dot com


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-03-09  5:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-12 14:30 [Bug libc/5758] New: [patch] Fix getrlimit() acting funny sometimes thomas dot jarosch at intra2net dot com
2008-02-12 14:30 ` [Bug libc/5758] " thomas dot jarosch at intra2net dot com
2008-02-12 15:22 ` drepper at redhat dot com
2008-02-12 15:23 ` drepper at redhat dot com
2008-02-12 16:10 ` thomas dot jarosch at intra2net dot com
2008-02-12 18:41 ` thomas dot jarosch at intra2net dot com
2008-02-14 16:09 ` thomas dot jarosch at intra2net dot com
2008-03-09  5:49 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).