[Crash-utility] Degradation with crash 5.0.0 on x86

Shahar Luxenberg shahar at checkpoint.com
Mon Jan 11 11:40:44 UTC 2010


Hi,

Environment: Red Hat Enterprise Linux Server release 5.2 (Tikanga), x86, 2.6.18-92.el5
I've installed crash 5.0.0 and noticed lots of error messages during startup of the form:
'crash: input string too large: "804328c4:" (9 vs 8)'
This doesn't happen with crash 4.1.2

While debugging it a little, I've noticed that BUG_x86 is calling gdb with the x/i command:
sprintf(buf1, "x/%ldi 0x%lx", spn->value - sp->value, sp->value);
The return buffer (buf2) is: 0x80430800:        push   %ebp
On 4.1.2, the return buffer (buf2) is: 0x80430800 <do_exit>:      push   %ebp
This explains the problem since parse_line will parse the line differently returning '0x80430800:' on arglist[0] and nothing on arglist[2] (crash 5.0.0) while returning 0x80430800 on arglist[0] and 'push' on arglist[2].
Have you noticed this kind of problem?

Thanks,
Shahar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20100111/a8cb10de/attachment.htm>


More information about the Crash-utility mailing list