On Tue, 2010-02-02 at 14:48 +0000, Dave Anderson wrote:
----- "Dave Anderson" <anderson(a)redhat.com> wrote:
> ----- "Bob Montgomery" <bob.montgomery(a)hp.com> wrote:
>
> > I accidentally tried to dump a struct from a bogus pointer while using
> > crash-5.0.0 on x86-64.
... [ snip ] ...
> > Enough to go on? Already known?
>
> Not already known...
>
> But I can reproduce it (at least with some bogus addresses) -- I'll take
> a look at it tomorrow...
Caused by a slight change in the crash/gdb-7.0 exception handling.
Simple fix attached...
The patch fixed the problem on my dump file. It now prints:
crash-5.0.fix> struct bnx2 0xffffc90006b000cf
struct bnx2 struct: invalid kernel virtual address: ffffc90006b000cf
type: "gdb_readmem_callback"Cannot access memory at address
0xffffc90006b000cf
crash-5.0.fix>
Thanks,
Bob M.