* Core file format
@ 2001-04-27 23:37 Mikhail Isayev
2001-05-03 10:50 ` Dave Butenhof
0 siblings, 1 reply; 2+ messages in thread
From: Mikhail Isayev @ 2001-04-27 23:37 UTC (permalink / raw)
I got some strange problem analyzing core files on Tru64.
Both dbx and ladebug show stack trace OK, if I run them
on the same box there the core has occured. If the box is different
stack trace is full with garbage.
What's the problem? Can I cure it? I mean can I extract the exception
location anyway, if my box is different?
(Never had this problem on Solaris, though)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Core file format
2001-04-27 23:37 Core file format Mikhail Isayev
@ 2001-05-03 10:50 ` Dave Butenhof
0 siblings, 0 replies; 2+ messages in thread
From: Dave Butenhof @ 2001-05-03 10:50 UTC (permalink / raw)
Mikhail Isayev wrote:
> I got some strange problem analyzing core files on Tru64. Both dbx and
> ladebug show stack trace OK, if I run them on the same box there the
> core has occured. If the box is different stack trace is full with
> garbage.
What's probably happened is that your two "boxes" also have different
versions of the operating system installed, with different shared
libraries. (They may even APPEAR to have the same version, from "uname"
or even "sizer -v", but have different patch levels of one or more
library.) If so, it's not the "stack trace" that's broken, but the
attempt by the debugger to find NAMES for the addresses in the stack
trace, because the code has moved around between versions.
> What's the problem? Can I cure it? I mean can I extract the exception
> location anyway, if my box is different?
"Core file migration" is a topic covered by the ladebug user
documentation. You can get it (along with the latest version of the
debugger) off the web, from
http://www.compaq.com/products/software/ladebug/.
In particular, see the documentation section on "transported core
files":
ftp://ftp.compaq.com/pub/products/software/developer/ladebug_debugger_manual.html#at.core.tran
> (Never had this problem on Solaris, though)
I find it hard to see how any debugger could avoid this problem, unless
the core file includes all the program text without needing to look at
the real shared libraries. (Which would make for rather large core
files, wasting an awful lot of space.)
/------------------[ David.Butenhof@compaq.com ]------------------\
| Compaq Computer Corporation POSIX Thread Architect |
| My book: http://www.awl.com/cseng/titles/0-201-63392-2/ |
\-----[ http://home.earthlink.net/~anneart/family/dave.html ]-----/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-03 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-27 23:37 Core file format Mikhail Isayev
2001-05-03 10:50 ` Dave Butenhof
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox