This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: reading from pipes fails if working directory is on a removable drive
- From: mihau <mh at mihau dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 29 Apr 2016 16:44:53 +0200
- Subject: Re: reading from pipes fails if working directory is on a removable drive
- Authentication-results: sourceware.org; auth=none
- References: <3429db07-294c-a42a-f131-45016ecf5af9 at mihau dot de> <fdc2df23-276c-6a43-b28c-6ea1fd182080 at gmail dot com> <b1f2ef81-10cb-2d81-995c-1d517e223045 at mihau dot de> <cc21c1be-e93d-a92b-065b-4ed2b4c0dc5e at gmail dot com> <3f5bb698-9a4e-e9f9-beff-8ed517862f45 at mihau dot de> <60a8df83-76c5-ef66-60b2-818cadf24f81 at gmail dot com>
On 29.04.2016 15:23, Marco Atzeri wrote:
As next step, can you remove it ?
Some can interfere also when disabled.
I did think about it for a second but actually that's not an option;
also it never interfered with cygwin or any other application.
In addition you can run
strace -o pipe.strace cat test.txt |head
on fix and removable drive. May be will give some additional hint.
exact same result as described in the original post
To see if any program is injecting dll's on your system
you can also looks on /proc/self/maps
$ cat /proc/self/maps | awk '{print $6}' |sort -u
/c/WINDOWS/system32/kernel32.dll
/c/WINDOWS/system32/locale.nls
/c/WINDOWS/system32/ntdll.dll
/c/WINDOWS/system32/sortkey.nls
/c/WINDOWS/system32/sorttbls.nls
/c/WINDOWS/system32/unicode.nls
/usr/bin/cat.exe
/usr/bin/cygiconv-2.dll
/usr/bin/cygintl-8.dll
/usr/bin/cygwin1.dll
[cygwin-shared]
[cygwin-user-shared]
[heap]
[procinfo]
[shared-user-data]
[stack
[teb
[win
looks largely like your output, plus the stuff in square brackets at the end
I forgot one question :
did your XP system ever worked with a cygwin installation ?
yes, I've been using it (at least) for the past five years largely without any issues
I doubt latest cygwin changes broke XP, but may be it happens.
at the end of the day I can still work with it, as long as working directory is on a fixed drive -
it's just a little annoying
anyway, many thanks for your help :)
Michael
--
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