From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17315 invoked by alias); 2 Oct 2014 16:45:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 17271 invoked by uid 48); 2 Oct 2014 16:45:17 -0000 From: "luto at mit dot edu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/14379] shared object constructors are called in the wrong order Date: Thu, 02 Oct 2014 16:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luto at mit dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-10/txt/msg00008.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=14379 --- Comment #6 from Andy Lutomirski --- FWIW, in the comments to your patch, you mention that pthread_atfork is nearly impossible to use cleanly without atomics. Unless I'm missing something, this is true for the prepare handler, but not for the parent and child handlers -- there are no threads when the parent and child handlers are called. -- You are receiving this mail because: You are on the CC list for the bug.