Mail Archives: cygwin/2006/12/08/22:30:18
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 12/8/2006 1:53 PM:
> It looks like you are picking up the cygwin version of grep/gawk, so I'm not
> sure why you are getting a failure.
As it is, I think there might be a regression in cygwin's handling of
arbitrary length argument handling between cygwin processes:
$ /bin/echo `perl -e 'print "a "x15000'` >/dev/null
Segmentation fault (core dumped)
$ cat echo.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=610DE121
eax=00000000 ebx=0000225B ecx=FFFFFFFF edx=00000000 esi=0022D008 edi=00000000
ebp=0022CC28 esp=0022CC24 program=c:\cygwin\bin\echo.exe, pid 1600, thread
main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022CC28 610DE121 (00000000, 611010E8, 0022CC50, 00000000)
0022CC78 610E5BD3 (0022D008, 00000000, 611010E8, 610EE94A)
0022CC98 610E5C61 (00000000, 611010E8, 0040539B, 004054AA)
0022CCE8 61092AA8 (0000225B, 61171BA8, 00660090, 00000000)
0022CD98 61006148 (00000000, 0022CDD0, 610054C0, 0022CDD0)
610054C0 61004416 (0000009C, A02404C7, E8611001, FFFFFF48)
4 [main] echo 1600 _cygtls::handle_exceptions: Error while dumping
state (probably corrupted stack)
In other words, I am starting to feel more inclined that there is a cygwin
bug, rather than an xargs bug. :(
If it helps any:
$ /bin/echo `perl -e 'print "a "x2986'`>/dev/null && echo $?
Segmentation fault (core dumped)
$ /bin/echo `perl -e 'print "a "x2985'`>/dev/null && echo $?
0
- --
Life is short - so eat dessert first!
Eric Blake ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFei3L84KuGfSFAYARAlHyAKDYKNZTIFnCVpP4gzhudw5oRLmywwCgih0w
2eAC1g5znYJl/m3EC9iUAaw=
=LCtW
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -