This is the mail archive of the libc-alpha@sources.redhat.com 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]

Is something wrong with glibc and kernel 2.4.5? (also a patch)


I have serious problems with glibc on i686 running 2.4.5. When I do

# make subdirs=rt check

I get

Didn't expect signal from child: got `File size limit exceeded'

on tst-aio3 and tst-aio4. If I remove RLIMIT_CORE in test-skeleton.c,
they are ok. Has anyone seen it?

BTW, there is a typo in linuxthreads/pthread.c.


H.J.
---
2001-06-15  H.J. Lu <hjl@gnu.org>

	* pthread.c (__pthread_reset_main_thread): Fix a typo.

--- linuxthreads/pthread.c.limit	Fri May 25 16:53:36 2001
+++ linuxthreads/pthread.c	Fri Jun 15 11:10:34 2001
@@ -884,7 +884,7 @@ void __pthread_reset_main_thread()
   if (getrlimit (RLIMIT_STACK, &limit) == 0
       && limit.rlim_cur != limit.rlim_max) {
     limit.rlim_cur = limit.rlim_max;
-    setrlimit (STACK_SIZE, &limit);
+    setrlimit(RLIMIT_STACK, &limit);
   }
 }
 


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