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 libc/5758] New: [patch] Fix getrlimit() acting funny sometimes


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.


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