Re: Make the 32 bit Frame Pointer backtracer fall back totraditional

From: Ingo Molnar
Date: Thu Jan 10 2008 - 01:55:38 EST



* Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> Subject: Make the 32 bit Frame Pointer backtracer fall back to traditional
> From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
>
> The 32 bit Frame Pointer backtracer code checks if the EBP is valid to
> do a backtrace; however currently on a failure it just gives up and
> prints nothing. That's not very nice; we can do better and still print
> a decent backtrace.
>
> This patch changes the backtracer to fall back to the non-framepointer
> backtracer if the EBP value isn't within the expected range; so on
> weird stack corruption cases we get at least something out...

thanks, applied. Another nice catch!

Ingo
--
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/