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

Bug#427395: libc6: df command causes system crash on parisc



John David Anglin a écrit :
>> Is the libc6 the only thing that you updated? I am using the same libc
>> here, paer.debian.org also uses it in the sid chroot, and I am unable to
>> reproduce the problem.
> 
> No, some other packages were updated.  Here are the most recent
> packages in /var/cache/apt/archives:
> 
> -rw-r--r-- 1 root root 4088528 May 23 00:17 locales_2.5-9_all.deb
> -rw-r--r-- 1 root root  336310 May 23 03:47 ncurses-term_5.6-3_all.deb
> -rw-r--r-- 1 root root   12892 May 23 03:47 ncurses-base_5.6-3_all.deb
> -rw-r--r-- 1 root root  158668 May 23 12:47 nscd_2.5-9_hppa.deb
> -rw-r--r-- 1 root root 4875580 May 23 12:47 libc6_2.5-9_hppa.deb
> -rw-r--r-- 1 root root 1435964 May 23 12:47 libc6-pic_2.5-9_hppa.deb
> -rw-r--r-- 1 root root 2394486 May 23 12:47 libc6-dev_2.5-9_hppa.deb
> -rw-r--r-- 1 root root 5600472 May 23 12:47 libc6-dbg_2.5-9_hppa.deb
> -rw-r--r-- 1 root root  244816 May 23 12:47 ncurses-bin_5.6-3_hppa.deb
> -rw-r--r-- 1 root root  365522 May 23 12:47 libncursesw5_5.6-3_hppa.deb
> -rw-r--r-- 1 root root  344868 May 23 12:47 libncurses5_5.6-3_hppa.deb
> -rw-r--r-- 1 root root 2514922 May 29 19:32 binutils_2.17cvs20070426-8_hppa.deb
> -rw-r--r-- 1 root root 1222814 May 29 19:32 binutils-hppa64_2.17cvs20070426-8_hp

Nothing that seems related to df.


> Running "strace df" I see:
> 
> dave@mx3210:~$ strace df
> execve("/bin/df", ["df"], [/* 19 vars */]) = 0
> brk(0)                                  = 0x2b000
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000
> newuname({sys="Linux", node="mx3210", ...}) = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=0, st_size=0, ...}) = 0
> mmap(NULL, 21269, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40486000
> 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\2\1\3\0\0\0\0\0\0\0\0\0\3\0\17\0\0\0\1\0\2\7"..., 512) = 512
> fstat64(3, {st_mode=0, st_size=0, ...}) = 0
> mmap(NULL, 1307036, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x402ac000
> mmap(0x403e2000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x403e2000
> mmap(0x403ea000, 4508, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x403ea000
> close(3)                                = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40001000
> mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40002000
> munmap(0x40486000, 21269)               = 0
> brk(0)                                  = 0x2b000
> brk(0x4c000)                            = 0x4c000
> open("/etc/mtab", O_RDONLY)             = 3
> fstat64(3, {st_mode=0, st_size=0, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40005000
> read(3, "/dev/sda3 / ext3 rw,errors=remou"..., 4096) = 339
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0x40005000, 4096)                = 0
> fstat64(1, {st_mode=0, st_size=4299262263301, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40005000
> write(1, "Filesystem           1K-blocks  "..., 67Filesystem           1K-blocks      Used Available Use% Mounted on
> ) = 67
> upeek: ptrace(PTRACE_PEEKUSER,1410,4294967292,0): Input/output error

This strace looks "normal" or rather this seems to be a different bug. I
mean I have the same output on my machine when running with strace, but
df works correctly when not run with strace.

It looks like you are using a hand built kernel. Do you use the patch to
disable LWS CAS debugging [1] ?

Aurelien

[1]
http://lists.parisc-linux.org/pipermail/parisc-linux/2007-May/031573.html

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: