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

Re: Segmentation fault (df)



On Thu, Feb 24, 2005 at 04:44:50PM +0530, Vijaya S wrote:
> 
> 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
Hi Vijaya,

I don't know if this has been proposed before, but: That the Virtual
Machine is randomly killing processes sounds to me like you're
severely running out of memory... what does "free" tell you?
I guess you've already checked that the dynamic library loader
ld-linux.so is at its proper place?
I'm still stabbing in the dark, because I can't understand why
df is the only executable that fails...
Oh wait: You're getting a dpkg error when you try to install a
random new package? What does it say exactly?

Jan

-- 
Jan C. Nordholz
<jckn at gmx dot net>

Attachment: signature.asc
Description: Digital signature


Reply to: