[prev in list] [next in list] [prev in thread] [next in thread]
List: hpux-devtools
Subject: Re: HPUX-DEVTOOLS: please help me in interpreting siginfo_t
From: Srikanth Sankaran <srikanth () cup ! hp ! com>
Date: 2003-04-24 13:16:57
[Download RAW message or body]
> Hi,
>
> Please help me in analysing the below output.
>
man 5 signal talks about this.
> 1) If Iam right then signal number is 11 then it is SIGSEGV ie Segmentation
> violation, and signal number 10 then it is _SIGBUS ie bus error. If Iam
> right about the signal number, then under what cases bus error raises.
>
One frequent cause of bus error is is misaligned memory access due
to a bad pointer.
> 2) In siginfo_t, is si_code represents cause of signal, if so Please help me
> in interpreting the reason why.
This is described in signal(5). Also take a look at
/usr/include/sys/siginfo.h
> 3) In siginfo_t, the si_addr represents what and pls interpret for my
> output?
>
The address of the faulting instruction.
Srikanth.
_________________________________________________________________
To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
with the message UNSUBSCRIBE hpux-devtools
_________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic