Bug#427395: libc6: df command causes system crash on parisc
> > 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.
Kyle says "df uses statfs64, which was added to 2.6.21... I'm confused
why we're not catching it in syscall.S, I'll need to sit and think a bit."
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
Reply to: