mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugh Dickins <hugh@veritas.com>
To: Dave Jones <davej@redhat.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: signal_cache slab corruption.
Date: Thu, 16 Mar 2006 20:29:08 +0000 (GMT)	[thread overview]
Message-ID: <Pine.LNX.4.61.0603162013350.25141@goblin.wat.veritas.com> (raw)
In-Reply-To: <20060314170153.GB32080@redhat.com>

On Tue, 14 Mar 2006, Dave Jones wrote:
> On Tue, Mar 14, 2006 at 09:22:35AM +0000, Hugh Dickins wrote:
>  > On Mon, 13 Mar 2006, Dave Jones wrote:
>  > 
>  > > I got into the office today to find my workstation that was running
>  > > a kernel based on .16rc5-git9 was totally unresponsive.
>  > > After rebooting, I found this in the logs.
>  > > 
>  > > slab signal_cache: invalid slab found in partial list at ffff8100e3a48080 (11/11).
>  > > slab signal_cache: invalid slab found in partial list at ffff81007ecc6100 (11/11).
>  > > slab: Internal list corruption detected in cache 'signal_cache'(11), slabp ffff810037ec0998(12). Hexdump:
>  > > 
>  > > 000: c0 60 d9 7e 00 81 ff ff 00 61 cc 7e 00 81 ff ff
>  > > 010: a8 09 ec 37 00 81 ff ff a8 09 ec 37 00 81 ff ff
>  > > 020: 0c 00 00 00 00 00 00 00 57 d0 1d 07 01 00 00 00
>  > > 030: 00 00 00 00
>  > > ----------- [cut here ] --------- [please bite here ] ---------
>  > > Kernel BUG at mm/slab.c:2598

Thanks for the diff, that fitted together better.

I spent several hours poring over your report,
but came to no useful conclusions - sorry.

As you probably noticed yourself, struct slab's colouroff and s_mem
have been overwritten by a list_head; but I can't deduce anything
illuminating from that.

Less obvious and more interesting, is that the struct kmem_cache is
being corrupted during the course of the output: it starts off saying
in several places that cachep->num is 11, but ends up printing only
one kmem_bufctl_t (aside from "free"): implying cachep->num 1 by then.
Which may relate to how 11/11 was wrongly in the partial list.

I'd be interested in the signal_cache line from your /proc/slabinfo,
to see what cachep->num is usually in your configuration.  But it's
an idle interest: I won't have anything interesting to say, whatever
it is...

Anyone else?

Hugh

  reply	other threads:[~2006-03-16 20:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13 18:15 Dave Jones
2006-03-14  9:22 ` Hugh Dickins
2006-03-14 17:01   ` Dave Jones
2006-03-16 20:29     ` Hugh Dickins [this message]
2006-03-16 20:50       ` Dave Jones

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=Pine.LNX.4.61.0603162013350.25141@goblin.wat.veritas.com \
    --to=hugh@veritas.com \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /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: link
Be 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

all inboxes | Powered by JetHome®