mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <andrewm@uow.edu.au>
To: Tobias Ringstrom <tori@tellus.mine.nu>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Weird problem with 2.4.4-pre6
Date: Wed, 25 Apr 2001 18:10:16 -0700	[thread overview]
Message-ID: <3AE77578.42A62EA6@uow.edu.au> (raw)
In-Reply-To: <Pine.LNX.4.30.0104250842420.13663-100000@svea.tellus>

Tobias Ringstrom wrote:
> 
> Yesterday, I was running tcpdump, paging the output with less.  All of a
> sudden, less started to dump core (SIGSEGV).  I could not even start less
> by itself:
> 
>     > less
> 
> without it getting a SIGSEGV, and in fact no user could run less without
> getting a SIGSEGV, but it did work perfectly a few minutes earlier.  This
> morning, I tried to run less again, and now it was working!  No core
> dumps!
> 
> How can this happen?  Something overwriting the page/buffer cache?

Yes.  Something scribbled on the pagecache, most likely.

If this happens, take a copy of the offending binary and all its shared
libraries - simply copy them into a temp directory.  The corrupted version
will be written to disk, from the pagecache.  Make sure you keep
a copy of the offending vmlinux as well for looking things up in.

Then reboot and start diffing things; the differences can provide
clues.  If the diffs show single-bit errors then it's a RAM
problem.  If the diffs look like pointers into kernel space
then look 'em up in vmlinux and shout loudly.  etc.

-

      reply	other threads:[~2001-04-26  1:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-25  6:59 Tobias Ringstrom
2001-04-26  1:10 ` Andrew Morton [this message]

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=3AE77578.42A62EA6@uow.edu.au \
    --to=andrewm@uow.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tori@tellus.mine.nu \
    /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®