From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31090 invoked by alias); 20 Sep 2005 05:08:33 -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 30940 invoked by uid 22791); 20 Sep 2005 05:08:13 -0000 Received: from web60616.mail.yahoo.com (HELO web60616.mail.yahoo.com) (209.73.178.184) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Tue, 20 Sep 2005 05:08:13 +0000 Received: (qmail 48223 invoked by uid 60001); 20 Sep 2005 05:08:11 -0000 Message-ID: <20050920050811.48221.qmail@web60616.mail.yahoo.com> Received: from [202.54.219.130] by web60616.mail.yahoo.com via HTTP; Tue, 20 Sep 2005 06:08:11 BST Date: Tue, 20 Sep 2005 05:08:00 -0000 From: divick kishore Subject: Re: Program received signal SIGTRAP, Trace/breakpoint trap To: Ajay Patel , ramana.radhakrishnan@codito.com, gdb@sources.redhat.com In-Reply-To: <1127149017.19788@horse.he.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-09/txt/msg00138.txt.bz2 Hi Ajay, my application is partially statically linked and partially it is dynamically linked. And yes, I dynamically link my application with a library which uses NPTL library. Does statically linked applications pose this problem when debugged? If yes, then I have no reason to believe why it would be so, as statically linked applications are nothing but archieved object files. Any suggestions? Thanks, Divick --- Ajay Patel wrote: > Hi Divik, > > Are you trying to debug statically linked > application? > > I see similar problem when I try to debug > NPTL based statically linked application. > > Thanks > Ajay > > > Hi, > > here is my version of GDB, GCC: > > > > GDB - 6.3 > > GCC - g++ (GCC) 3.3.3 (SuSE Linux). > > Architecture -- Intel IA 64 bit,kernel -- > > 2.6.5-7.193-rtgfx (SGI Altix system) > > > > The app is 64 bit based (SGI Altix system). > > > > I am developing a client/server application, and I > am > > using some proprietary API' of SGI. > > > > According to gdb backtraces, I find that it > crashes at > > several different places. But most of the time, it > > gets SEGFAULT signal and the follwing message. > > > > Program received signal SIGTRAP, Trace/breakpoint > > trap. > > [Switching to Thread 2305843009239495296 (LWP > 1573)] > > > > (gdb) bt > > #0 > > Cannot access memory at address 0xfb0000000000528 > > > > > > It seemed to me that somewhere some memory > corruption > > is occurring, but the backtrace by gdb leaves me > > clueless. I am stuck. > > > > Thanks, > > Divick > > > > > > --- Ramana Radhakrishnan > > wrote: > > > > > On Mon, 2005-09-19 at 08:05 +0100, divick > kishore > > > wrote: > > > > Hi, > > > > I am getting the above error when I am > trying > > > to > > > > debug a 64 but application. I have no clue why > it > > > > happens. The exact message from gdb is as > below. > > > Any > > > > suggestions? > > > > > > What did you do to get this message ? A full > > > sequence of steps would be > > > useful for people to resolve your problem . And > > > please mention the > > > versions for > > > > > > 1. gdb > > > 2. compiler (if GCC version of GCC) > > > 3. The architecture under consideration . > > > 4. Is this a 64 bit linux based app ? > > > > > > and then maybe someone can help you out. > > > > > > > > > > > > > > > > > > Program received signal SIGTRAP, > Trace/breakpoint > > > > trap. > > > > > > This is just a bit too cryptic. > > > > > > cheers > > > Ramana > > > > > > > > > > > > > > > > > > > > > > __________________________________________________________ > > > > > > > Yahoo! India Matrimony: Find your partner now. > Go > > > to http://yahoo.shaadi.com > > > > > > > > > > > > > > > > > __________________________________________________________ > > > Yahoo! India Matrimony: Find your partner now. Go > to > http://yahoo.shaadi.com > > > > > > > __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com