1835555 Members
2662 Online
110078 Solutions
New Discussion

Re: Need help on GDB

 
madhavabk
Regular Advisor

Need help on GDB

Hi All,

My application is freeing some address, and hitting segmentation fault with si_code=0.

can any one tell what is si_code means and value 0 means?

Can i know what is that address, and to which library it corresponds to?

Thanks,
Madhava
3 REPLIES 3
Arunvijai_4
Honored Contributor

Re: Need help on GDB

Hi Madhava,

Use tusc to find out exactly what happened,

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.8/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
madhavabk
Regular Advisor

Re: Need help on GDB

Hi All,

I have used tusc and seen the problem,

I just need inputs for

can any one tell what is si_code means and value 0 means?

Can i see full or part of symbol table to see what is the address of each loaded library.

Thanks,
Madhava
Arunvijai_4
Honored Contributor

Re: Need help on GDB

Hi,

Try with "nm" or "strings"

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"