Thanks Felix,

I actually run that the other day, but I couldn't see
anything obvious, here's the output.

cheers

--------------------------
sebago:~# strace df
execve("/bin/df", ["df"], [/* 14 vars */]) = 0
uname({sys="Linux", node="sebago", ...}) = 0
brk(0)                                  = 0x8050000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40017000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=58697, ...}) = 0
old_mmap(NULL, 58697, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200^\1"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1243792, ...}) = 0
old_mmap(NULL, 1253956, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0x40027000
old_mmap(0x4014f000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
3, 0x127000) = 0x4014f000
old_mmap(0x40157000, 8772, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40157000
close(3)                                = 0
munmap(0x40018000, 58697)               = 0
brk(0)                                  = 0x8050000
brk(0x8071000)                          = 0x8071000
brk(0)                                  = 0x8071000
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=585, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40018000
read(3, "/dev/hda5 / ext2 rw,errors=remou"..., 4096) = 585
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40018000
write(1, "Filesystem           1K-blocks  "..., 67Filesystem          
1K-blocks      Used Available Use% Mounted on
) = 67
statfs64("/", 84,  <unfinished ...>
+++ killed by SIGSEGV +++
--------------------------
 


On Thu, 2004-05-06 at 23:22, Felix Sheldon wrote:
> Ramon Buckland wrote:
> 
> >Hi,
> >
> >sometime in the past month, I performed an upgrade
> >to my unstable debian. (apt-get update/upgrade) and possibly (i can't
> >remember, a dist-upgrade.
> >
> >I'm now getting a seg fault on a few commands., but repeatable is
> >when attempting to run df.
> >
> >Can anyone suggest a way I can resolve the issue? My ultimate aim is to
> >fix without a reinstall the box. (but if needed, I guess I will).
> >
> >  
> >
> 
> 'strace df' would be a good first step, to see what it's doing when it 
> segfaults.
> 
> 
> <snip>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to