From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10973 invoked by alias); 6 Jun 2005 13:32:40 -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 10955 invoked by uid 22791); 6 Jun 2005 13:32:37 -0000 Received: from smtpout.eastlink.ca (HELO smtpout.eastlink.ca) (24.222.0.30) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 06 Jun 2005 13:32:37 +0000 Received: from ip01.eastlink.ca ([24.222.10.5]) by mx4.eastlink.ca (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IHO007OT0FNGZ@mx4.eastlink.ca> for gdb@sources.redhat.com; Mon, 06 Jun 2005 10:35:47 -0300 (ADT) Received: from blk-215-92-186.eastlink.ca (HELO [192.168.11.236]) (24.215.92.186) by ip01.eastlink.ca with ESMTP; Mon, 06 Jun 2005 10:31:46 -0300 Date: Mon, 06 Jun 2005 13:32:00 -0000 From: Alvin Beach Subject: Re: Program no longest exists? In-reply-to: <20050606132159.GB26360@nevyn.them.org> To: gdb@sources.redhat.com Message-id: <200506061032.56709.abeach@deepvision.ca> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.8 X-BrightmailFiltered: true References: <200506061016.47931.abeach@deepvision.ca> <20050606132159.GB26360@nevyn.them.org> X-SW-Source: 2005-06/txt/msg00039.txt.bz2 On Monday 06 June 2005 10:21, Daniel Jacobowitz wrote: > On Mon, Jun 06, 2005 at 10:16:47AM -0300, Alvin Beach wrote: > > Hello all, > > > > I have recently upgraded from suse 9.1 to suse 9.3. Since upgrading, I > > can no longer debug programs that I was able to debug before. > > > > When I run gdb, the program runs fine as long there are no breakpoints. > > As soon as I set a breakpoint and run the program, I get message: > > > > Program terminated with signal SIGTRAP, Trace/breakpoint trap. > > Program no longer exists. > > > > Sometimes it happens right away, sometime after I step over the > > breakpoint. > > > > I have found reference from googling that this may be pthread related? My > > programs do use pthread. > > > > Is there a work-around or fix for this. Without gdb, my programs are no > > littered with cerr/printf statements. > > This is usually a bug in your kernel; maybe SuSE has an update kernel > available. Unfortunately, they don't. I guess I will just have to wait until they do. In the meantime, I'm going to look for a way to dump a stack trace (like in KDE when an app crashes - which is happening a lot for me). Thanks for the info. Alvin -- Please reply to the mailing list.