[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: df causes a segmentation fault
From: |
Jim Meyering |
Subject: |
Re: df causes a segmentation fault |
Date: |
Mon, 31 Dec 2001 09:29:02 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) |
What version are you using (df --version).
If you've just upgraded your kernel, be sure you've also upgraded
all corresponding libraries and utilities.
Here's the latest test release:
ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.4.tar.gz
Would you please see if you can reproduce the failure with it?
If so, the best would be if you could debug the problem.
If you build like this
./configure && make CFLAGS=-g
you can then do the following:
gdb src/df
then type `run /dev/hdb1' and you'll
probably get the segfault. Type `backtrace' for starters.
If you feel like exploring, use `list' to show a few lines
then `print SOME_VARIABLE'. To do the latter you might have
to first do `up' a time or two if the backtrace showed you're
in kernel or C library code rather than in fileutils sources.
Rozanna Miller <address@hidden> wrote:
> I have a linux system (pc based) that has two drives.
> The boot disk is a removable disk using a dock station
> of sorts. Anyways. I am using a new boot disk which I
> upgraded to Mandrake 8.1.
>
> df /dev/hda1 gives the results I would expect. No
> errors
>
> df gives a segmentation fault after displaying
> /dev/hda1
...