gdb set heap-check problem

  • Follow


I am getting a segmentation fault when during initialization of the
rtc library when I try to use the gdb's heap-check feature.  

Here's what I see:

(gdb) set heap-check on
(gdb) r
Starting program: /prj/upadims/code/z00/edisvr/HPUX1020D/EdiSvr
"-#a:p,'^log','^queue.aq','^queue.qa','^map.grpaud','edisvr.memuse':P,(16)ku"

Program received signal SIGSEGV, Segmentation fault.
0x78ac82d8 in  () from /opt/langtools/lib/librtc.sl
(gdb) bt
#0  0x78ac82d8 in  () from /opt/langtools/lib/librtc.sl
#1  0x78aca954 in __rtc_U_get_shLib_unw_tbl () at
.../../../Src/gnu/gdb/infrtc.c:1824
#2  0x79a465b8 in U_is_shared_pc () from /lib/libcl.2
#3  0x79a4db1c in U_prep_frame_rec_for_unwind () from /lib/libcl.2
#4  0x78ac8898 in determine_stack_base () at
.../../../Src/gnu/gdb/infrtc.c:643
#5  0x78ac9038 in rtc_initialize () at
.../../../Src/gnu/gdb/infrtc.c:890
#6  0x78ac9fe8 in __rtc_free () at ../../../Src/gnu/gdb/infrtc.c:1454
#7  0x794229b4 in _main () from /lib/libCsup.2

Does anybody have any idea what's going on here?


-jrff

(Remove the NOSPAM from my email address to send me mail)
0
Reply Jeff 5/7/2004 6:37:27 PM

On Fri, 07 May 2004 18:37:27 +0000, *Jeff Esposito* wrote:

> I am getting a segmentation fault when during initialization of the
> rtc library when I try to use the gdb's heap-check feature.  
> 

> Program received signal SIGSEGV, Segmentation fault.
> 0x78ac82d8 in  () from /opt/langtools/lib/librtc.sl
> 
> Does anybody have any idea what's going on here?

I'd start with an updated version of GDB. 

http://hp.com/go/gdb


0
Reply Chuck 5/7/2004 10:37:01 PM


Thanks -- installing the correct version of GDB (version 3.3 in my
case) fixed the problem.

Chuck Slivkoff <slivkoff-AT-hp-DOT-com@localhost.invalid> wrote:

>On Fri, 07 May 2004 18:37:27 +0000, *Jeff Esposito* wrote:
>
>> I am getting a segmentation fault when during initialization of the
>> rtc library when I try to use the gdb's heap-check feature.  
>> 
>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x78ac82d8 in  () from /opt/langtools/lib/librtc.sl
>> 
>> Does anybody have any idea what's going on here?
>
>I'd start with an updated version of GDB. 
>
>http://hp.com/go/gdb
>


-jrff

(Remove the NOSPAM from my email address to send me mail)
0
Reply Jeff 5/11/2004 9:10:21 PM

2 Replies
549 Views

(page loaded in 0.05 seconds)

Similiar Articles:













7/15/2012 3:23:42 AM


Reply: