Discussion:
Program received signal SIGTRAP, Trace/breakpoint trap
divick kishore
2005-09-19 07:05:25 UTC
Permalink
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?


Program received signal SIGTRAP, Trace/breakpoint
trap.
[Switching to Thread 2305843009239495296 (LWP 29455)]
<signal handler called>
(gdb) bt
#0 <signal handler called>
Cannot access memory at address 0xfb0000000000528


Thanks,
Divick




__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
Ramana Radhakrishnan
2005-09-19 07:56:28 UTC
Permalink
Post by divick kishore
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.
Post by divick kishore
Program received signal SIGTRAP, Trace/breakpoint
trap.
This is just a bit too cryptic.

cheers
Ramana
Post by divick kishore
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
divick kishore
2005-09-19 10:08:43 UTC
Permalink
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
On Mon, 2005-09-19 at 08:05 +0100, divick kishore
Post by divick kishore
Hi,
I am getting the above error when I am trying
to
Post by divick kishore
debug a 64 but application. I have no clue why it
happens. The exact message from gdb is as below.
Any
Post by divick kishore
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.
Post by divick kishore
Program received signal SIGTRAP, Trace/breakpoint
trap.
This is just a bit too cryptic.
cheers
Ramana
__________________________________________________________
Post by divick kishore
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
Ajay Patel
2005-09-19 16:56:57 UTC
Permalink
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
Post by divick kishore
Hi,
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
On Mon, 2005-09-19 at 08:05 +0100, divick kishore
Post by divick kishore
Hi,
I am getting the above error when I am trying
to
Post by divick kishore
debug a 64 but application. I have no clue why it
happens. The exact message from gdb is as below.
Any
Post by divick kishore
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.
Post by divick kishore
Program received signal SIGTRAP, Trace/breakpoint
trap.
This is just a bit too cryptic.
cheers
Ramana
__________________________________________________________
Post by divick kishore
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
divick kishore
2005-09-20 05:08:11 UTC
Permalink
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
Post by Ajay Patel
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
Post by divick kishore
Hi,
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
Post by divick kishore
using some proprietary API' of SGI.
According to gdb backtraces, I find that it
crashes at
Post by divick kishore
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)]
Post by divick kishore
<signal handler called>
(gdb) bt
#0 <signal handler called>
Cannot access memory at address 0xfb0000000000528
It seemed to me that somewhere some memory
corruption
Post by divick kishore
is occurring, but the backtrace by gdb leaves me
clueless. I am stuck.
Thanks,
Divick
--- Ramana Radhakrishnan
On Mon, 2005-09-19 at 08:05 +0100, divick
kishore
Post by divick kishore
Post by divick kishore
Hi,
I am getting the above error when I am
trying
Post by divick kishore
to
Post by divick kishore
debug a 64 but application. I have no clue why
it
Post by divick kishore
Post by divick kishore
happens. The exact message from gdb is as
below.
Post by divick kishore
Any
Post by divick kishore
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.
Post by divick kishore
Program received signal SIGTRAP,
Trace/breakpoint
Post by divick kishore
Post by divick kishore
trap.
This is just a bit too cryptic.
cheers
Ramana
__________________________________________________________
Post by Ajay Patel
Post by divick kishore
Post by divick kishore
Yahoo! India Matrimony: Find your partner now.
Go
Post by divick kishore
to http://yahoo.shaadi.com
__________________________________________________________
Post by Ajay Patel
Post by divick kishore
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
Loading...