Web lists-archives.com

Re: Stretch - bash crash when reach ulimit file size




On 26/01/18 10:47, Felipe Salvador wrote:
> Hi list,
> setting
> 
> 	ulimit -f 1024
> 
> and running (for example)
> 
>     $ while true; do echo a>>a; done
> 
> makes bash crash when file size is reached
> 
>       Warning: Program '/bin/bash' crashed.
> 
>     $ du a
>     1024	/home/felipe/a
> 
> I would expect an error or something else (exit?)
> 
> Is it a bug?
> 
> bash:amd64/stretch 4.4-5 uptodate

A crash is always a bug. I suggest that you report it as such - if not
already reported.

Peter HB

Attachment: signature.asc
Description: OpenPGP digital signature