Subject: Re: kern/13774: NEW_PIPE failure after 1MB data
To: None <gcw@primenet.com.au>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 08/23/2001 13:10:03
[ On , August 23, 2001 at 23:37:35 (+1000), Geoff C.Wing wrote: ]
> Subject: kern/13774: NEW_PIPE failure after 1MB data
>
> 
> 	Problem exhibited with kernels compiled with NEW_PIPE.  Other
> 	kernels work.
> 
> 	% wc Mail/somemail
> 	  317373  601445 21912098 Mail/somemail
> 	% tail -n 50000 Mail/somemail | wc
> 	tail: stdout: Undefined error: 0
> 	   13598   13602 1045746
> 
> 	On a non easily line-split file (e.g. gzip'd data), it'll die
> 	at 1048576.

Can you reproduce your error with either of the following?

	$ tail -c 1500000 /usr/share/dict/words | wc
	$ tail -n 200000 /usr/share/dict/words | wc

Both of those pass well over 1M to 'wc' and work fine for me with 1.5W
(2001/06/24) on i386 and sparc....

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>