From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5071 invoked by alias); 30 Sep 2005 13:08:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4434 invoked by uid 22791); 30 Sep 2005 13:08:10 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 30 Sep 2005 13:08:10 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1ELKcN-0001pw-KC; Fri, 30 Sep 2005 09:08:03 -0400 Date: Fri, 30 Sep 2005 13:08:00 -0000 From: Daniel Jacobowitz To: =?iso-8859-1?Q?S=E9bastien?= Roret Cc: gdb@sources.redhat.com Subject: Re: fork and pthreads Message-ID: <20050930130802.GA7043@nevyn.them.org> Mail-Followup-To: =?iso-8859-1?Q?S=E9bastien?= Roret , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00248.txt.bz2 On Fri, Sep 30, 2005 at 09:58:05AM +0000, Sébastien Roret wrote: > Hi, > > I'm having some problems using fork() with threads. > I'm using a debian linux on Intel, gdb 6.3, glibc 2.3.3 and 2.3.5 > If I call forks before using threads it's ok, but not the other way. > The problem occurs only with gdb. > See below the testcase and output I got. > My question : is it a bug, or did I missed something ? Please try a CVS snapshot (6.3.50.*) and let us know if that works better. -- Daniel Jacobowitz CodeSourcery, LLC