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

Re: Bug#70762: textutils: tail segfault



reassign 70762 libc6
quit

On Fri, Sep 01, 2000 at 08:54:05PM -0700, Joey Hess wrote:
> Package: textutils
> Version: 2.0-3
> Severity: minor
> 
> Note severity. I don't think this happens in everyday use.

Is this new? Are there any other new ones available?

> joey@kite:~>ulimit -a
> cpu time (seconds)         unlimited
> file size (blocks)         unlimited
> data seg size (kbytes)     81920
> stack size (kbytes)        8192
> core file size (blocks)    0
> resident set size (kbytes) 81920
> processes                  150
> file descriptors           1024
> locked-in-memory size (kb) unlimited
> virtual memory size (kb)   81920
> joey@kite:~>tail /dev/zero
> zsh: segmentation fault  tail /dev/zero
> 
> If I disable memory limits, it doesn't segfault. Of course, it eventually
> eats up all memory on the machine and gets killed.

It's segfaulting in vfprintf which is called by error(3) (via fprintf(3))
which is called by xmalloc() when the malloc(3) fails.  So if this is a
bug at all, it is in libc6.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: