Re: sysrq shows impossible call stack

From: Eli Cohen
Date: Tue Apr 20 2004 - 12:36:41 EST


Roland Dreier wrote:

Eli> Hi, I am exsperiencing a hang, probably caused by a deadlock,
Eli> so I can do sysrq commands. However I can see that in some
Eli> cases the exspected call stack has some functions in between
Eli> as if two call stack are interleaved.

Hi Eli,

I think what you are seeing is old values left on the stack. If a
function allocates space for local variables but bumping the stack
pointer, but then never actually uses those variables, then old values
including old return addresses may be left in the stack.

- Roland


Thanks Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/