[Crash-utility] Patch to fix Seg Violation in parse_for_member

Bob Montgomery bob.montgomery at hp.com
Thu Aug 9 22:23:39 UTC 2012


If you change the 
     fprintf(pc->saved_fp, buf);
lines to 
     print_verbatim(pc->saved_fp, buf);

Then I won't get:

crash> sk_buff.head ffff88012014dc80
Segmentation fault

When I need to get:

crash> sk_buff.head ffff88012014dc80
  head = 0xffff880121267000 "\"%s %s %s\", got type \"%s\""


Patch attached (6.0.8).

I suspect performance will suffer a bit when I try to print
2 million of these...

Thanks,
Bob Montgomery


-------------- next part --------------
A non-text attachment was scrubbed...
Name: parse_for_member_fix.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120809/8f4b37e6/attachment.bin>


More information about the Crash-utility mailing list