lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48177961.3030204@cs.helsinki.fi>
Date:	Tue, 29 Apr 2008 22:39:13 +0300
From:	Pekka Enberg <penberg@...helsinki.fi>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	Patrick McHardy <kaber@...sh.net>, htmldeveloper@...il.com,
	bugme-daemon@...zilla.kernel.org, netdev@...r.kernel.org,
	clameter@....com
Subject: Re: [Bug 10575] New: WARNING: at mm/slub.c:2444

Andrew Morton wrote:
> Sorry, I confused it with a similar-looking USB trace.  Pekka added some
> additional debug at that site which might help here - it will tell us the
> name of the slab cache:
> 
> void kmem_cache_destroy(struct kmem_cache *s)
> {
> 	down_write(&slub_lock);
> 	s->refcount--;
> 	if (!s->refcount) {
> 		list_del(&s->list);
> 		up_write(&slub_lock);
> 		if (kmem_cache_close(s)) {
> 			printk(KERN_ERR "SLUB %s: %s called for cache that "
> 				"still has objects.\n", s->name, __func__);
> 			dump_stack();
> 		}
> 		sysfs_slab_remove(s);
> 	} else
> 		up_write(&slub_lock);
> }
> 			
> that was merged into mainline yesterday.

Christoph added even nicer debugging code that dumps the objects in the 
cache:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=33b12c38134e95e5afa73214af6f49abd7b8418e
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ