This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5758] New: [patch] Fix getrlimit() acting funny sometimes
- From: "thomas dot jarosch at intra2net dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Feb 2008 14:29:25 -0000
- Subject: [Bug libc/5758] New: [patch] Fix getrlimit() acting funny sometimes
- Reply-to: sourceware-bugzilla at sourceware dot org
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.