All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jose Barroca <jose.barroca@netcabo.pt>
To: linux-kernel@vger.kernel.org
Subject: segmentation fault in "top" command
Date: Mon, 11 Jul 2005 16:24:20 +0100	[thread overview]
Message-ID: <dau2v4$l62$2@sea.gmane.org> (raw)

Dear all,

I'm trying to deal with a peculiar problem that came up the other day.
I've searched the net, posted in newbie groups, but to no avail. So,
perhaps you can lend a hand:

Using a 2.6.12.12 straight from kernel.org:
- I experience loss of responsiveness (mouse, keyboard, music) during
r/w intensive operations, such as lengthy computations in matlab
(exceeding my RAM), or a simple system update using Debian's dselect.
Mouse clicks and keypresses don't get lost, but xmms may skip the
tracks. And all this happens intermitently during the mentioned r-w op.
== This did not happen with previous kernels ==

- I had a case of FS corruption, which I could not trace. I use ext3,
only one partition for the complete debian system. I keep my data in
other partitions. Reason is a small disk in a laptop. This corruption
made itself visible after a reboot, when I called top to check why bash
was taking so long to complete a directory name (TAB press):

rdrs@abafado:~$ top
Segmentation fault

Other outputs included: "can't execute binary file", "attempt to access
beyond end of device"

I ran e2fsck -vc to get a read-only badblock scan, but the latter came
out clean. I had a lot of illegal inodes, though. This ext3 partition
was never accessed by other OSs.
== I use top on a dayly basis, so corruption happenned not long ago.
There were no power outages, but the previous kernel (2.6.11) had
NLS_DEFAULT=iso8859-1, whereas the new one has NLS_DEFAULT=utf8 ==

---
And, to sum up, I've been through a MEMTEST86, an E2FSCK, don't think
the machine was cracked (not even literally speaking), and ran SMARTCTL
-a /dev/hda.

This one had an interesting output: there was indication of an error
happening some 197 days ago. I could decipher the remaining info. Also,
the REALLOACTED_SECTOR_CT has a very high number, though it is labelled
"PRE_FAIL".


I'm quite at a loss on what to do now - where should I start looking?
And even if I simply replace "top", is that even possible, or advisable?

Eagerly waiting for your answers,

Jose






             reply	other threads:[~2005-07-11 16:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-11 15:24 Jose Barroca [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-11 16:21 segmentation fault in TOP command Jose Barroca
2005-07-13  2:07 ` Anssi Hannula

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='dau2v4$l62$2@sea.gmane.org' \
    --to=jose.barroca@netcabo.pt \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.