Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - SIGSEGV coredump: (4 Items)
   
SIGSEGV coredump  
Hi,

We are trying to do analysis of a core dump file using coreinfo utility and we got below information from coredump file,


thread 1 SIGNALLED-SIGSEGV code=1 MAPERR refaddr=0x7fc7ff8 fltno=11
  ip=0x100027f2f sp=0x7fc8000 stkbase=0x7fc7000 stksize=528384
  state=STOPPED flags=0 last_cpu=1 timeout=00000000
  pri=10 realpri=10 policy=RR
  tls=0x8047f90

Can anyone help that  what is "code=1" and "refaddr=0x7fc7ff8"  here??

Thank you in Advance...
RE: SIGSEGV coredump  
code=1==MAPERR
________________________________________
From: Sai Devasani [community-noreply@qnx.com]
Sent: Wednesday, October 24, 2018 11:25
To: ostech-core_os
Subject: SIGSEGV coredump

Hi,

We are trying to do analysis of a core dump file using coreinfo utility and we got below information from coredump file,

thread 1 SIGNALLED-SIGSEGV code=1 MAPERR refaddr=0x7fc7ff8 fltno=11
  ip=0x100027f2f sp=0x7fc8000 stkbase=0x7fc7000 stksize=528384
  state=STOPPED flags=0 last_cpu=1 timeout=00000000
  pri=10 realpri=10 policy=RR
  tls=0x8047f90

Can anyone help that  what is "code=1" and "refaddr=0x7fc7ff8"  here??

Thank you in Advance...




_______________________________________________

OSTech
http://community.qnx.com/sf/go/post119230
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com
Re: RE: SIGSEGV coredump  
Hi John Kearney,

Thank you for the reply. 

We  understood meaning for code = 1, 2,3 ,4 and 5. But some times we are getting code=0 also from core dump. What is the
 meaning for code = 0?

  thread 1 SIGNALLED-SIGSEGV code=0  from pid=4603923 uid=-1 value=0(0x0)
  ip=0x80496ea sp=0x8047bc0 stkbase=0x7fc7000 stksize=528384
  state=STOPPED flags=0 last_cpu=1 timeout=00000000
  pri=10 realpri=10 policy=RR
  tls=0x8047f90

Thank you in Advance..
RE: RE: SIGSEGV coredump  
code ß means that it originates from software i.e. slay/kill.
Thats why the line outputs where the signal comes from e.g. "from pid=4603923 uid=-1 value=0(0x0)"
________________________________________
From: Sai Devasani [community-noreply@qnx.com]
Sent: Wednesday, October 24, 2018 12:52
To: ostech-core_os
Subject: Re: RE: SIGSEGV coredump

Hi John Kearney,

Thank you for the reply.

We  understood meaning for code = 1, 2,3 ,4 and 5. But some times we are getting code=0 also from core dump. What is the
 meaning for code = 0?

  thread 1 SIGNALLED-SIGSEGV code=0  from pid=4603923 uid=-1 value=0(0x0)
  ip=0x80496ea sp=0x8047bc0 stkbase=0x7fc7000 stksize=528384
  state=STOPPED flags=0 last_cpu=1 timeout=00000000
  pri=10 realpri=10 policy=RR
  tls=0x8047f90

Thank you in Advance..




_______________________________________________

OSTech
http://community.qnx.com/sf/go/post119233
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com