[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Segmentation fault (df)



the output is as follows:0

#strace df
execve("/bin/df", ["df"], [/* 17 vars */]) = 0
uname({sys="Linux", node="domain.com", ...}) = 0
brk(0)                                  = 0x804ff00
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, 0xbffff418)                  = -1 ENOSYS (Function not
implemented)
fstat(3, {st_mode=S_IFREG|0644, st_size=79767, ...}) = 0
old_mmap(NULL, 79767, 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
fstat(3, {st_mode=S_IFREG|0644, st_size=1244004, ...}) = 0
old_mmap(NULL, 1254244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002c000
old_mmap(0x40154000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x127000) = 0x40154000
old_mmap(0x4015c000, 9060, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015c000
close(3)                                = 0
munmap(0x40018000, 79767)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Vijaya
"Jan C. Nordholz" wrote:

> On Wed, Feb 16, 2005 at 05:16:44PM +0530, Vijaya S wrote:
> > hi ,
> > no i havent updated or upgraded..
> > the output is below
> >
> > (gdb) run
> > Starting program: /bin/df
> > (no debugging symbols found)...(no debugging symbols found)...
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0804f568 in ?? ()
> > (gdb) bt
> > #0  0x0804f568 in ?? ()
> > (gdb)
> >
> > vijaya
>
> Hi,
>
> running gdb won't help if the executable has been compiled without
> the -g switch... try "strace df" instead (install if necessary,
> package has the same name), and post its last 20 lines of
> output... maybe that will give out a hint to what's wrong.
>
> Jan
>
> --
> Jan C. Nordholz
> <jckn At gmx net>
>
>   ------------------------------------------------------------------------
>                        Name: signature.asc
>    signature.asc       Type: application/pgp-signature
>                 Description: Digital signature



Reply to: