Bug report: Core dump with too many args

Steven Penny svnpenn@gmail.com
Wed Nov 7 15:04:00 GMT 2018


On Wed, 7 Nov 2018 13:37:53, Ole Tange wrote:
> I get core dump when running:
>
> $ /bin/echo `seq 1000000`
> Segmentation fault (core dumped)
>
> This also looks bad:
>
> $ /bin/wc `seq 1000000`
>       2 [main] -bash 15396 C:\cygwin\bin\bash.exe: *** fatal error - cmallo=
> c would have returned NULL
> Hangup

Not sure what you are expecting to happen when you provide pathological input to
the shell? For context - Fedora essentially does the same thing:

    $ /bin/echo `seq 1000000`
    Killed


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list