LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: David Chinner <dgc@sgi.com> To: David Chinner <dgc@sgi.com> Cc: "Haar János" <djani22@netcenter.hu>, linux-xfs@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: xfslogd-spinlock bug? Date: Tue, 19 Dec 2006 15:47:00 +1100 [thread overview] Message-ID: <20061219044700.GW33919298@melbourne.sgi.com> (raw) In-Reply-To: <20061219025229.GT33919298@melbourne.sgi.com> On Tue, Dec 19, 2006 at 01:52:29PM +1100, David Chinner wrote: > On Tue, Dec 19, 2006 at 12:39:46AM +0100, Haar János wrote: > > From: "David Chinner" <dgc@sgi.com> > > > #define POISON_FREE 0x6b > > > > > > Can you confirm that you are running with CONFIG_DEBUG_SLAB=y? > > > > Yes, i build with this option enabled. ...... > FWIW, I've run XFSQA twice now on a scsi disk with slab debuggin turned > on and I haven't seen this problem. I'm not sure how to track down > the source of the problem without a test case, but as a quick test, can > you try the following patch? Third try an I got a crash on a poisoned object: [1]kdb> md8c40 e00000300d7d5100 0xe00000300d7d5100 000000005a2cf071 0000000000000000 q.,Z............ 0xe00000300d7d5110 000000005a2cf071 6b6b6b6b6b6b6b6b q.,Z....kkkkkkkk 0xe00000300d7d5120 e0000039eb7b6320 6b6b6b6b6b6b6b6b c{.9...kkkkkkkk 0xe00000300d7d5130 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d5140 6b6b6b6f6b6b6b6b 6b6b6b6b6b6b6b6b kkkkokkkkkkkkkkk 0xe00000300d7d5150 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d5160 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d5170 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d5180 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d5190 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d51a0 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d51b0 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d51c0 6b6b6b6b6b6b6b6b 6b6b6b6b6b6b6b6b kkkkkkkkkkkkkkkk 0xe00000300d7d51d0 6b6b6b6b6b6b6b6b a56b6b6b6b6b6b6b kkkkkkkkkkkkkkk. 0xe00000300d7d51e0 000000005a2cf071 a000000100468c30 q.,Z....0.F..... [1]kdb> mds 0xe00000300d7d51e0 0xe00000300d7d51e0 5a2cf071 q.,Z.... 0xe00000300d7d51e8 a000000100468c30 xfs_inode_item_destroy+0x30 So the use-after-free here is on an inode item. You're tripping over a buffer item. Unfortunately, it is not the same problem - the problem I've just hit is to do with a QA test that does a forced shutdown on an active filesystem, and: [1]kdb> xmount 0xe00000304393e238 ..... flags 0x440010 <FSSHUTDOWN IDELETE COMPAT_IOSIZE > The filesystem was being shutdown so xfs_inode_item_destroy() just frees the inode log item without removing it from the AIL. I'll fix that, and see if i have any luck.... So I'd still try that patch i sent in the previous email... Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group
next prev parent reply other threads:[~2006-12-19 4:47 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-12-11 23:00 xfslogd-spinlock bug? Haar János 2006-12-12 14:32 ` Justin Piszcz 2006-12-13 1:11 ` Haar János 2006-12-16 11:19 ` Haar János 2006-12-17 22:44 ` David Chinner 2006-12-17 23:56 ` Haar János 2006-12-18 6:24 ` David Chinner 2006-12-18 8:17 ` Haar János 2006-12-18 22:36 ` David Chinner 2006-12-18 23:39 ` Haar János 2006-12-19 2:52 ` David Chinner 2006-12-19 4:47 ` David Chinner [this message] 2006-12-27 12:58 ` Haar János 2007-01-07 23:14 ` David Chinner 2007-01-10 17:18 ` Janos Haar 2007-01-11 3:34 ` David Chinner 2007-01-11 20:15 ` Janos Haar
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20061219044700.GW33919298@melbourne.sgi.com \ --to=dgc@sgi.com \ --cc=djani22@netcenter.hu \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-xfs@oss.sgi.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).