Ask a Question related to AIX, Design and Development.
-
dharmadeep #1
getting stack trace from core
Hi,
As far as I know, a core file contains , stack frames of all the
lwps when the process crashed. Is there any command which AIX433
provides ,which I can use to get the stack trace(mere addresses
will do) ,given a core file( from a 64 bit app) ? As far as I know
, dbx also requires the executable to be present. Some platforms
provide a command pstack ,which when supplied a core file ,gives
the stack trace.
Thanks,
dharmadeep
--
Posted via [url]http://dbforums.com[/url]
dharmadeep Guest
-
get the Java stack trace
hi, is there a way to get the full java stack trace when an exception is occured? May be a cfcatch or cferror variable that contains this stack? Do... -
#25823 [Bgs]: stack trace error on java when executing
ID: 25823 Updated by: sniper@php.net Reported By: wewing at nc dot rr dot com Status: Bogus Bug Type: ... -
#25823 [Opn->Bgs]: stack trace error on java when executing
ID: 25823 Updated by: sniper@php.net Reported By: wewing at nc dot rr dot com -Status: Open +Status: ... -
#25823 [NEW]: stack trace error on java when executing
From: wewing at nc dot rr dot com Operating system: Win2k PHP version: 4.3.4RC1 PHP Bug Type: Servlet related Bug... -
Displaying the function stack trace
Guenther Sohler wrote: Use abort() instead of exit(). This will leave a core file that you can use for post-mortem debugging. -
Jim Shaffer #2
Re: getting stack trace from core
"dharmadeep" <member39766@dbforums.com> wrote in message
news:3376162.1063726532@dbforums.com...If possible, AIX logs an entry in the system error log when a core dump is>
> Hi,
>
>
>
> As far as I know, a core file contains , stack frames of all the
> lwps when the process crashed. Is there any command which AIX433
> provides ,which I can use to get the stack trace(mere addresses
> will do) ,given a core file( from a 64 bit app) ? As far as I know
> , dbx also requires the executable to be present. Some platforms
> provide a command pstack ,which when supplied a core file ,gives
> the stack trace.
generated. This entry contains the call/return stack. To see such entries,
use
errpt -aJ CORE_DUMP
where CORE_DUMP is the label for that event.
--
Jim Shaffer
Jim Shaffer Guest
-
Mark Taylor #3
Re: getting stack trace from core
if you havent got the executable, then how come you have the core ?
to view the stack trace in the errpt, you are going to need to be on the
machine where the core occured.. and seeing as you state that you havent
got the executable, then either you are not on the correct box or
someone removed the executable.
If you want to access the core on another machine with dbx you can
collect all the data from the system where the core occured by running
the snapcore command which collects all the libs and executables for the
core file for support.
man snapcore (433 ML08 and later - it was a backport from v5)
hope this helps
Mark
--
Posted via [url]http://dbforums.com[/url]
Mark Taylor Guest



Reply With Quote

