From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28470 invoked by alias); 21 Jan 2003 03:16:25 -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 28422 invoked from network); 21 Jan 2003 03:16:25 -0000 Received: from unknown (HELO mtvmime02.veritas.com) (143.127.3.10) by 172.16.49.205 with SMTP; 21 Jan 2003 03:16:25 -0000 Received: from megami (unverified) by mtvmime02.veritas.com (Content Technologies SMTPRS 4.2.10) with SMTP id ; Mon, 20 Jan 2003 19:17:22 -0800 Received: from veritas.com([172.22.12.210]) (1813 bytes) by megami via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Mon, 20 Jan 2003 19:16:23 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #15 built 2001-Aug-30) Message-ID: <3E2CBD89.3C875FC7@veritas.com> Date: Tue, 21 Jan 2003 03:16:00 -0000 From: Bruce Korb Organization: Home X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz CC: Bruce Korb , Chris Hamilton , gdb@sources.redhat.com, bkorb@veritas.com Subject: Re: popen References: <3E2C6377.5030600@navtechinc.com> <3E2C6A5C.3AA4D0E3@gnu.org> <20030121020051.GA17791@nevyn.them.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00352.txt.bz2 Daniel Jacobowitz wrote: > > On Mon, Jan 20, 2003 at 01:30:04PM -0800, Bruce Korb wrote: > > Chris Hamilton wrote: > > > > > > Bruce, > > > I came across your September 24th posting about gdb throwing off a > > > "Cannot find thread 2049" when it hits a popen > > > (http://sources.redhat.com/ml/insight/2002-q3/msg00185.html). > > > I'm currently experiencing the same problem in my application, and I was > > > wondering if you had any advice on how to solve it. > Popen should not present this problem. I don't know why it does, so we > need more information. It seems to occur when using popen, but not when I do all the fork/exec stuff myself. I'll see if a trivial popen example duplicates the problem, but I would guess that many would have complained by now if it were that easy. > Meanwhile multi-process debugging is forthcoming. The Linux kernel > patches are already in and I have more GDB patches queued. Excellent!! Thank you very much!