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.