public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: divick kishore <divick_kishore@yahoo.com>
To: Ajay Patel <ajayp@kymasys.com>,
	ramana.radhakrishnan@codito.com, gdb@sources.redhat.com
Subject: Re: Program received signal SIGTRAP, Trace/breakpoint trap
Date: Tue, 20 Sep 2005 05:08:00 -0000	[thread overview]
Message-ID: <20050920050811.48221.qmail@web60616.mail.yahoo.com> (raw)
In-Reply-To: <1127149017.19788@horse.he.net>

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 <ajayp@kymasys.com> 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)]
> > <signal handler called>
> > (gdb) bt
> > #0  <signal handler called>
> > 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
> > <ramana.radhakrishnan@codito.com> 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

  reply	other threads:[~2005-09-20  5:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19 16:57 Ajay Patel
2005-09-20  5:08 ` divick kishore [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-16 13:54 FengLingDu
2012-07-24  3:13 John Smith
2012-07-24 17:05 ` Pedro Alves
2005-09-19  7:05 divick kishore
2005-09-19  7:56 ` Ramana Radhakrishnan
2005-09-19 10:09   ` divick kishore
2003-05-15 18:44 Smita
2003-05-15 19:21 ` Tim Combs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050920050811.48221.qmail@web60616.mail.yahoo.com \
    --to=divick_kishore@yahoo.com \
    --cc=ajayp@kymasys.com \
    --cc=gdb@sources.redhat.com \
    --cc=ramana.radhakrishnan@codito.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).