This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Program received signal SIGTRAP, Trace/breakpoint trap
- From: divick kishore <divick_kishore at yahoo dot com>
- To: ramana dot radhakrishnan at codito dot com
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 19 Sep 2005 11:08:43 +0100 (BST)
- Subject: Re: Program received signal SIGTRAP, Trace/breakpoint trap
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