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

Re: Segmentation fault (df)



 
Hi Jon,
I treid but i am not able to instal electric-fence or any package
i get dpkg error.
and also the df is still giving Seg fault

strace /bin/df
strace /bin/df
execve("/bin/df", ["/bin/df"], [/* 13 vars */]) = 0
uname({sys="Linux", node="x.y.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, 0xbffff478)                  = -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 +++
 

ldd /bin/df
ldd /bin/df
        libc.so.6 => /lib/libc.so.6 (0x4002c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

dmesg gives me some errors

request_module[net-pf-14]: waitpid(8040,...) failed, errno 1
Unable to load interpreter /lib/ld-linux.so.2
VM: killing process apache-ssl
VM: killing process ipop3d
Unable to load interpreter /lib/ld-linux.so.2
Unable to load interpreter /lib/ld-linux.so.2
VM: killing process cron
VM: killing process mozilla-bin
VM: killing process mixer_applet2
VM: killing process 73
VM: killing process imapd
VFS: file-max limit 4096 reached
Unable to load interpreter /lib/ld-linux.so.2
Unable to load interpreter /lib/ld-linux.so.2
Unable to load interpreter /lib/ld-linux.so.2
Unable to load interpreter /lib/ld-linux.so.2
VM: killing process sshd
VM: killing process sdaemon
VM: killing process sh
VM: killing process netobjd
VM: killing process procmail
VM: killing process bash
VM: killing process mgetty
VM: killing process xscreensaver
VM: terminating process XFree86
VM: killing process mysqld
VM: killing process nautilus
VM: killing process apache
VM: killing process apache-ssl
memory : cb350b80
memory : 00000000
memory : cb350a90
Can anyone throw light on the above and help me to sort it?
Thanks in advance..
 

Regards,
Vijaya

Jon Dowland wrote:

vijaya@picopeta.com wrote:

>its an ext2 partition only one / partition and its a debian machine.
>i dont want to install it coz its a server ..everything else works fine
>except thsi command
>
>
You could try installing electric-fence, and running

strace LD_PRELOAD=/usr/lib/libefence.so.0.0 df

...which would ensure the segfault was right next to the call that
caused it. Also, 'ltrace' does a similar thing to strace but prints out
library calls rather than system calls.

[I'm sure I've seen this recently -  try searching the debian-user
archives, maybe it came up here before]

--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: