Re: 2.6.9-rc1: kernel BUG at mm/slab.c:1828 (sunrpc)

From: Neil Brown
Date: Thu Aug 26 2004 - 21:12:29 EST


On Thursday August 26, fork0@xxxxxxxxxxxxxxxxxxxxx wrote:
> I get this running X and some gnome applications for a while (~10sec).
> After the bug, keyboard stays locked, mouse (usb) works, and I can
> finish the session. It brings me to a blank console:
>
> kernel: <6>SysRq : Emergency Sync
> kernel: Emergency Sync complete
> gconfd (raa-3333): Received signal 1, shutting down cleanly
> gconfd (raa-3333): Exiting
> init: open(/dev/console): Input/output error
>
> Ctrl-Alt-Del worked, though:
>
> init: Switching to runlevel: 6
>
> It is reproducable with latest bk as of Aug 26 20:00 CET.
> The system is ht/smt P4 with preempt, Gentoo (no hotplug and udev).
>
> There is a suspect:
> struct auth_domain *auth_unix_lookup(struct in_addr addr)
> ...
> key.m_class = "nfsd";
> key.m_addr = addr;
>
> And ip_map_put contains a "kfree(im->m_class)".
> I wasn't able to reproduce the bug after removing the kfree.
> The strdups to m_class will leak now, I suppose.

Yep, thanks.
Andrew has received a patch so it should be fixed in the next
release. For now, removing the "kfree" is safe enough.

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