On 28/04/2016 23:16, mihau wrote:
hello,
came across this today on a fresh (2 days old) installation of cygwin x86
$ cat test.txt | head
3 [main] head (3348) C:\tools\cygwin\bin\head.exe: *** fatal error
- MapViewOfFileEx '(null)'(0x5DC), Win32 error 6. Terminating.
Segmentation fault
reading from pipes works fine if working directory is a local drive or a
UNC path,
but this happens if the working directory is removable drive. I tried
with/on various
devices and it happens on all removable drives, regardless of the
filesystem (NTFS or FAT32)
also, 'head' is just an example; the same error comes up when trying to
use grep,
sed or gawk (haven't tested with others yet).
does anybody know what could be causing this?
thank you,
Michael
My cygwin is on a removable drive so your experience
is not normal.
I guess some BLODA.
As suggested on
https://cygwin.com/problems.html
"Run cygcheck -s -v -r > cygcheck.out and include that file as an
attachment in your report. Please do not compress or otherwise encode
the output. Just attach it as a straight text file so that it can be
easily viewed. "
--
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