Detect list corruption at early stage to avoid BUG hitting?
richard -rw- weinberger
richard.weinberger at gmail.com
Mon Jan 7 11:32:38 EST 2013
On Fri, Jan 4, 2013 at 5:49 AM, Ritesh Harjani <ritesh.harjani at gmail.com> wrote:
> Hi Everyone,
>
> Many times we see the following warning, which causes some kernel Bug to
> hit. I googled for any solution to detect list corruption so as to avoid the
> bug hit, but couldnt find any.
> Do you guys have any info ?? Does kernel provide any generic solution to do
> this?
>
> Warning: list_del corruption. next->prev should be xxxxxx, but was yyyyy.
Is your code dealing with lists?
If yes, looks like you are using the list API in a wrong manner.
E.g. double list_add().
Or your code corrupts memory...
--
Thanks,
//richard
More information about the Kernelnewbies
mailing list