[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r5429 - in glibc-package/trunk/debian: . patches patches/any



Author: adconrad
Date: 2012-12-30 17:06:09 +0000 (Sun, 30 Dec 2012)
New Revision: 5429

Added:
   glibc-package/trunk/debian/patches/any/local-tst-eintr1-eagain.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
Merge any/local-tst-eintr1-eagain.diff and release to unstable

Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2012-12-26 16:45:59 UTC (rev 5428)
+++ glibc-package/trunk/debian/changelog	2012-12-30 17:06:09 UTC (rev 5429)
@@ -1,4 +1,4 @@
-eglibc (2.13-38) UNRELEASED; urgency=low
+eglibc (2.13-38) unstable; urgency=low
 
   [ Adam Conrad ]
   * debian/patches/arm/cvs-ldconfig-cache-abi.diff: Backport upstream
@@ -11,6 +11,9 @@
   [ Jonathan Nieder ]
   * control.in/opt: correct misspelling of "Ezra" in descriptions of
     *-i686 variants.  Thanks to Thorsten Glaser.
+  * patches/any/local-tst-eintr1-eagain.diff: new patch to work around
+    a race that lets pthread_create hit resource limits when the kernel
+    takes too long to clean up after joined threads.  (closes: #673596)
 
   [ Samuel Thibault ]
   * patches/any/local-fhs-linux-paths.diff: Patch vardb path on !linux too.
@@ -28,7 +31,7 @@
   * patches/hurd-i386/unsubmitted-setitimer_fix.diff: Fix Hurd implementation
     of setitimer.
 
- -- Adam Conrad <adconrad@0c3.net>  Mon, 19 Nov 2012 14:23:26 -0700
+ -- Adam Conrad <adconrad@0c3.net>  Sun, 30 Dec 2012 06:06:32 -0700
 
 eglibc (2.13-37) unstable; urgency=low
 

Copied: glibc-package/trunk/debian/patches/any/local-tst-eintr1-eagain.diff (from rev 5417, glibc-package/branches/eglibc-2.16/debian/patches/any/local-tst-eintr1-eagain.diff)
===================================================================
--- glibc-package/trunk/debian/patches/any/local-tst-eintr1-eagain.diff	                        (rev 0)
+++ glibc-package/trunk/debian/patches/any/local-tst-eintr1-eagain.diff	2012-12-30 17:06:09 UTC (rev 5429)
@@ -0,0 +1,25 @@
+2012-06-06  Jonathan Nieder  <jrnieder@gmail.com>
+
+	* nptl/tst-eintr1.c (tf1): Tolerate EAGAIN from pthread_create.
+
+---
+
+--- a/nptl/tst-eintr1.c
++++ b/nptl/tst-eintr1.c
+@@ -49,6 +49,16 @@
+ 	      puts ("pthread_create returned EINTR");
+ 	      exit (1);
+ 	    }
++	  if (e == EAGAIN)
++	    {
++	      /* The kernel might not have processed the last few
++	         pthread_join()s yet.  Tolerate that, but record the
++	         event in test output so attentive people reading
++	         logs can notice if pthread_join() stops working
++	         altogether.  */
++	      write (STDOUT_FILENO, "!", 1);
++	      continue;
++	    }
+ 
+ 	  char buf[100];
+ 	  printf ("tf1: pthread_create failed: %s\n",

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series	2012-12-26 16:45:59 UTC (rev 5428)
+++ glibc-package/trunk/debian/patches/series	2012-12-30 17:06:09 UTC (rev 5429)
@@ -373,3 +373,4 @@
 any/cvs-vfprintf-many-format-strings.diff
 any/cvs-strtod-overflow.diff
 any/cvs-arch-lowlevellock.diff
+any/local-tst-eintr1-eagain.diff


Reply to: