Re: [BUG] kernel BUG at mm/vmacache.c:85!

From: Linus Torvalds
Date: Mon Apr 28 2014 - 18:26:01 EST


On Mon, Apr 28, 2014 at 3:14 PM, Davidlohr Bueso <davidlohr@xxxxxx> wrote:
>
> I think that returning some stale/bogus vma is causing those segfaults
> in udev. It shouldn't occur in a normal scenario. What puzzles me is
> that it's not always reproducible. This makes me wonder what else is
> going on...

I've replaced the BUG_ON() with a WARN_ON_ONCE(), and made it be
unconditional (so you don't have to trigger the range check).

That might make it show up earlier and easier (and hopefully closer to
the place that causes it). Maybe that makes it easier for Srivatsa to
reproduce this. It doesn't make *my* machine do anything different,
though.

Srivatsa? It's in current -git.

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