bug-hurd
[Top][All Lists]
Advanced

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

Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW


From: Thomas Schwinge
Subject: Re: fork: mach_port_mod_refs: EKERN_UREFS_OWERFLOW
Date: Wed, 14 Nov 2012 01:35:53 +0100
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu)

Hi!

On Thu, 8 Sep 2011 15:37:15 +0200, Samuel Thibault <address@hidden> wrote:
> Thomas Schwinge, le Thu 08 Sep 2011 12:40:30 +0200, a écrit :
> > One patch for the TLS code is below; Samuel please have a look.
> 
> Agreed.

You fixed this in Debian eglibc r4959, but it regressed in r5011 when
synchronizing to the Savannah t/tls TopGit branch (where it was not
fixed).  I have now committed the fix to the t/tls branch; please do the
equivalent change to Debian eglibc's debian/patches/hurd-i386/tg-tls.diff
file.

commit a49022d1a407bb8a4f1f3a8c69669808b3836c98
Author: Thomas Schwinge <address@hidden>
Date:   Wed Nov 14 01:29:29 2012 +0100

    id:"address@hidden".

diff --git sysdeps/mach/hurd/fork.c sysdeps/mach/hurd/fork.c
index 8bea456..c5adfe4 100644
--- sysdeps/mach/hurd/fork.c
+++ sysdeps/mach/hurd/fork.c
@@ -537,7 +537,7 @@ __fork (void)
       _hurd_longjmp_thread_state (&state, env, 1);
 
       /* Do special thread setup for TLS if needed.  */
-      if (err = _hurd_tls_fork (thread, __mach_thread_self (), &state))
+      if (err = _hurd_tls_fork (thread, ss->thread, &state))
        LOSE;
 
       if (err = __thread_set_state (thread, MACHINE_THREAD_STATE_FLAVOR,


Grüße,
 Thomas

Attachment: pgpQvtAwIvsBN.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]