1 Feb 2010 23:07
segv in crash-5.0.0
Bob Montgomery <bob.montgomery <at> hp.com>
2010-02-01 22:07:54 GMT
2010-02-01 22:07:54 GMT
I accidentally tried to dump a struct from a bogus pointer while using crash-5.0.0 on x86-64. In crash-4.1.1, the result was: crash> struct bnx2 0xffffc90006b000cf struct bnx2 struct: invalid kernel virtual address: ffffc90006b000cf type: "gdb_readmem_callback" Cannot access memory at address 0xffffc90006b000cf crash> On crash-5.0.0, the result was: crash-5.0> struct bnx2 0xffffc90006b000cf struct bnx2 struct: invalid kernel virtual address: ffffc90006b000cf type: "gdb_readmem_callback" *** glibc detected *** crash-5.0: double free or corruption (!prev): 0x0000000006f94e60 *** gdb called without error_hook: Cannot access memory at address 0xffffc90006b000cf <segmentation violation in gdb> [[ Here the process hung, and I had to kill -9 it ]] While running crash-5.0.0 under gdb, I tried some non-struct accesses of the location first: crash> rd 0xffffc90006b000cf 10 rd: invalid kernel virtual address: ffffc90006b000cf type: "64-bit KVADDR" crash> x/xg 0xffffc90006b000cf 0xffffc90006b000cf: gdb: invalid kernel virtual address: ffffc90006b000cf type: "gdb_readmem_callback"(Continue reading)
RSS Feed