public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
@ 2012-04-03  8:32 Sven Severus
  2012-04-03  8:35 ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Sven Severus @ 2012-04-03  8:32 UTC (permalink / raw)
  To: cygwin

On Apr 2 17:33, Corinna Vinschen wrote
> > Hello all,
> > 
> > I am running Cygwin DLL 1.7.11-1 and the bash command
> > "cat < <(echo 1234)" (not very profound, ok) works fine
> > on my Win7-64 box.
> > 
> > Now I installed the same Cygwin release on an older PC
> > running WinXP: the above command does not execute
> > properly and breaks with the error message
> > "bash: /dev/fd/62: No such file or directory".
>
>Does /dev/fd exist and is it a symlink to /proc/self/fd?

It does not exist.

My Cygwin installation on the old WinXP-PC actually was an 
upgrade of an older Cygwin installation (from 2007 or so), 
not a new installation from scratch. Maybe it was not a very 
wise strategy to try to upgrade such an oldtimer ;-> ...
I will remove the upgraded Cygwin installation and then 
install from scratch. I'm confident, this will solve the 
problems...

Thanks a lot for your advice.

Best regards,
Sven
 

-- 
Mit freundlichen GrÌßen

Dipl. Inform. Sven Severus
Softwareentwicklung
----------------------------------------------------------
HIMA Paul Hildebrandt GmbH + CO KG
Abt: Entwicklung Software
Albert-Bassermann-Strasse 28
68782 Bruehl
Germany

Tel: +49 6202 709-289
Fax: +49 6202 709-299
E-Mail: s.severus@hima.com
Internet: www.hima.de


-- 
HIMA Paul Hildebrandt GmbH + Co KG, Albert-Bassermann-Str. 28, 68782 Bruehl bei Mannheim
Kommanditgesellschaft, Sitz Bruehl, Deutschland - Registergericht Mannheim HRA 421017
Ust-ID: DE 144286400, St.Nr: 43038 00190

Persoenlich haftende Gesellschafterin Paul Hildebrandt Verwaltungsgesellschaft mbH,
Sitz Bruehl, Deutschland - Registergericht Mannheim HRB 420588

Geschaeftsfuehrer: Dipl.-Betriebswirt Steffen Philipp


--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
  2012-04-03  8:32 Process Substitution / Named Pipes in cygwin 1.7.11-1 Sven Severus
@ 2012-04-03  8:35 ` Corinna Vinschen
  2012-04-11 17:40   ` Gregory M. Turner
  0 siblings, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2012-04-03  8:35 UTC (permalink / raw)
  To: cygwin

On Apr  3 10:32, Sven Severus wrote:
> On Apr 2 17:33, Corinna Vinschen wrote
> > > Hello all,
> > > 
> > > I am running Cygwin DLL 1.7.11-1 and the bash command
> > > "cat < <(echo 1234)" (not very profound, ok) works fine
> > > on my Win7-64 box.
> > > 
> > > Now I installed the same Cygwin release on an older PC
> > > running WinXP: the above command does not execute
> > > properly and breaks with the error message
> > > "bash: /dev/fd/62: No such file or directory".
> >
> >Does /dev/fd exist and is it a symlink to /proc/self/fd?
> 
> It does not exist.
> 
> My Cygwin installation on the old WinXP-PC actually was an 
> upgrade of an older Cygwin installation (from 2007 or so), 
> not a new installation from scratch. Maybe it was not a very 
> wise strategy to try to upgrade such an oldtimer ;-> ...
> I will remove the upgraded Cygwin installation and then 
> install from scratch. I'm confident, this will solve the 
> problems...

Why the big hammer?  Why not start with

  ln -s /proc/self/fd /dev/fd

?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
  2012-04-03  8:35 ` Corinna Vinschen
@ 2012-04-11 17:40   ` Gregory M. Turner
  2012-04-11 18:18     ` Gregory M. Turner
  0 siblings, 1 reply; 9+ messages in thread
From: Gregory M. Turner @ 2012-04-11 17:40 UTC (permalink / raw)
  To: cygwin

----- Original Message (Corinna) -----
> On Apr  3 10:32, Sven Severus wrote:
> > On Apr 2 17:33, Corinna Vinschen wrote
> > > > Hello all,
> > > > 
> > > > I am running Cygwin DLL 1.7.11-1 and the bash command
> > > > "cat < <(echo 1234)" (not very profound, ok) works fine
> > > > on my Win7-64 box.
> > > > 
[snip]
> > >Does /dev/fd exist and is it a symlink to /proc/self/fd?
> > 
> > It does not exist.
> > 
[snip]
>  Why not start with
> 
>   ln -s /proc/self/fd /dev/fd

Reeeeeely!  I assumed it was just me, as I have an old-ish
self-compiled bash in a highly nonstandard environment.

I have the symlink, but my process-substitution-happy shell scripts
started breaking this way, recently, as well.

Mine die, suggestively, at /dev/fd/63.  They don't /always/ all die; but
somehow, I crossed some kind of rubicon and now they do all die.  If
I carefully smell the air afterwards there is the faint odor of scarce
OS resources leaking.  (Just kidding about that last part :P)

Haven't been able to clear out the process table or generally to
"get all diagnostic" on it yet; it's on my list but I really
must finish some paperwork for a certain government agency.

I'll get back to the list with whatever I can figure out about
this sometime soon.

-gmt

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
  2012-04-11 17:40   ` Gregory M. Turner
@ 2012-04-11 18:18     ` Gregory M. Turner
  2012-04-11 18:34       ` Christopher Faylor
  0 siblings, 1 reply; 9+ messages in thread
From: Gregory M. Turner @ 2012-04-11 18:18 UTC (permalink / raw)
  To: cygwin

----- Original Message (Me) -----
> ----- Original Message (Corinna) -----
> > On Apr  3 10:32, Sven Severus wrote:
> > > On Apr 2 17:33, Corinna Vinschen wrote
> > > > > Hello all,
> > > > > 
> > > > > I am running Cygwin DLL 1.7.11-1 and the bash command
> > > > > "cat < <(echo 1234)" (not very profound, ok) works fine
> > > > > on my Win7-64 box.
> > > > > 
> [snip]
> > > >Does /dev/fd exist and is it a symlink to /proc/self/fd?
> > > 
> > > It does not exist.
> > > 
> [snip]
> >  Why not start with
> > 
> >   ln -s /proc/self/fd /dev/fd
> 
> Haven't been able to clear out the process table or generally to
> "get all diagnostic" on it yet; it's on my list but I really
> must finish some paperwork for a certain government agency.

I couldn't resist just one little experiment.  On my box:

  $ diff -u <(echo foo) <(echo bar)

is enough to establish that something ain't right.  Reproducible
for me using the latest setup.exe goodies as of last night.

But I really must resist delving into this further; I'm sure you know
how irritable some people can get when they don't get their
"protection money" on time ;)

-gmt

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
  2012-04-11 18:18     ` Gregory M. Turner
@ 2012-04-11 18:34       ` Christopher Faylor
  2012-04-11 19:48         ` Gregory M. Turner
  0 siblings, 1 reply; 9+ messages in thread
From: Christopher Faylor @ 2012-04-11 18:34 UTC (permalink / raw)
  To: cygwin

On Wed, Apr 11, 2012 at 06:17:40PM -0000, Gregory M. Turner wrote:
>----- Original Message (Me) -----
>> ----- Original Message (Corinna) -----
>> > On Apr  3 10:32, Sven Severus wrote:
>> > > On Apr 2 17:33, Corinna Vinschen wrote
>> > > > > Hello all,
>> > > > > 
>> > > > > I am running Cygwin DLL 1.7.11-1 and the bash command
>> > > > > "cat < <(echo 1234)" (not very profound, ok) works fine
>> > > > > on my Win7-64 box.
>> > > > > 
>> [snip]
>> > > >Does /dev/fd exist and is it a symlink to /proc/self/fd?
>> > > 
>> > > It does not exist.
>> > > 
>> [snip]
>> >  Why not start with
>> > 
>> >   ln -s /proc/self/fd /dev/fd
>> 
>> Haven't been able to clear out the process table or generally to
>> "get all diagnostic" on it yet; it's on my list but I really
>> must finish some paperwork for a certain government agency.
>
>I couldn't resist just one little experiment.  On my box:
>
>  $ diff -u <(echo foo) <(echo bar)
>
>is enough to establish that something ain't right.  Reproducible
>for me using the latest setup.exe goodies as of last night.
>
>But I really must resist delving into this further; I'm sure you know
>how irritable some people can get when they don't get their
>"protection money" on time ;)

I suspect that it probably about as irritable as certain people get when
"bug reports" are couched in colorful adjective-laden language without
any actual concrete details.

cgf

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
  2012-04-11 18:34       ` Christopher Faylor
@ 2012-04-11 19:48         ` Gregory M. Turner
  2012-04-11 20:04           ` marco atzeri
  0 siblings, 1 reply; 9+ messages in thread
From: Gregory M. Turner @ 2012-04-11 19:48 UTC (permalink / raw)
  To: cygwin

----- Original Message (cgf) -----
> On Wed, Apr 11, 2012 at 06:17:40PM -0000, Gregory M. Turner wrote:
> >----- Original Message (Me) -----


> >  $ diff -u <(echo foo) <(echo bar)
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ concrete detail


> I suspect that it probably about as irritable as certain people get when
> "bug reports" are couched in colorful adjective-laden language without
> any actual concrete details.

Eh?  There's been no bug report.  I was just sharing some casual
observations in response to another post.

To be clear:

The above diff command has no output.  The output is supposed to be along the lines of:

--- /dev/fd/63  2012-04-11 11:44:02.283689675 -0700
+++ /dev/fd/62  2012-04-11 11:44:02.283689675 -0700
@@ -1 +1 @@
-foo
+bar

The failure is reproducible on the latest mainline distribution running
on my workstation.  It also occurs exactly the same way in a very different
roll-your-own environment I have immediate access to, also on my workstation.

I suppose I could have mentioned that my box is:

CYGWIN_NT-6.1-WOW64 1.7.13(0.260/5/3) 2012-04-05 12:43 i686 unknown unknown Cygwin

That's all I know.  I'm well aware that more effort will probably be required on
my part if I'm to meaningfully contribute to solving the problem.  As I
stated: I don't have time to debug it any further.  If you don't like that fact, I
invite you to ignore me and wait a day or two, after which I've already promised to
make some time to look into it further.

Sheesh, you win I guess: I'm now as frustrated as you apparently are.
Shall we move on or just have a big stupid flame-war?  I'm game either way.

-gmt

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
  2012-04-11 19:48         ` Gregory M. Turner
@ 2012-04-11 20:04           ` marco atzeri
  0 siblings, 0 replies; 9+ messages in thread
From: marco atzeri @ 2012-04-11 20:04 UTC (permalink / raw)
  To: cygwin

On 4/11/2012 9:48 PM, Gregory M. Turner wrote:
> ----- Original Message (cgf) -----
>> On Wed, Apr 11, 2012 at 06:17:40PM -0000, Gregory M. Turner wrote:
>>> ----- Original Message (Me) -----
>
>
>>>   $ diff -u<(echo foo)<(echo bar)
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ concrete detail
>
>
>> I suspect that it probably about as irritable as certain people get when
>> "bug reports" are couched in colorful adjective-laden language without
>> any actual concrete details.
>
> Eh?  There's been no bug report.  I was just sharing some casual
> observations in response to another post.
>
> To be clear:
>
> The above diff command has no output.  The output is supposed to be along the lines of:
>
> --- /dev/fd/63  2012-04-11 11:44:02.283689675 -0700
> +++ /dev/fd/62  2012-04-11 11:44:02.283689675 -0700
> @@ -1 +1 @@
> -foo
> +bar
>
> The failure is reproducible on the latest mainline distribution running
> on my workstation.  It also occurs exactly the same way in a very different
> roll-your-own environment I have immediate access to, also on my workstation.
>
> I suppose I could have mentioned that my box is:
>
> CYGWIN_NT-6.1-WOW64 1.7.13(0.260/5/3) 2012-04-05 12:43 i686 unknown unknown Cygwin
>

solved on latest snapshot 20120411

$ diff -u <(echo bar) <(echo foo)
--- /dev/fd/63  2012-04-11 22:02:17.000000000 +0200
+++ /dev/fd/62  2012-04-11 22:02:17.000000000 +0200
@@ -1 +1 @@
-bar
+foo

marco@MARCOATZERI ~
$ uname -a
CYGWIN_NT-6.1-WOW64 MARCOATZERI 1.7.14s(0.260/5/3) 20120411 13:57:42 
i686 Cygwin


Regards
Marco

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Process Substitution / Named Pipes in cygwin 1.7.11-1
  2012-04-02 15:00 Sven Severus
@ 2012-04-02 15:34 ` Corinna Vinschen
  0 siblings, 0 replies; 9+ messages in thread
From: Corinna Vinschen @ 2012-04-02 15:34 UTC (permalink / raw)
  To: cygwin

On Apr  2 17:00, Sven Severus wrote:
> Hello all,
> 
> I am running Cygwin DLL 1.7.11-1 and the bash command
> "cat < <(echo 1234)" (not very profound, ok) works fine on
> my Win7-64 box.
> 
> Now I installed the same Cygwin release on an older PC
> running WinXP: the above command does not execute
> properly and breaks with the error message
> "bash: /dev/fd/62: No such file or directory".

Does /dev/fd exist and is it a symlink to /proc/self/fd?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Process Substitution / Named Pipes in cygwin 1.7.11-1
@ 2012-04-02 15:00 Sven Severus
  2012-04-02 15:34 ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Sven Severus @ 2012-04-02 15:00 UTC (permalink / raw)
  To: cygwin

Hello all,

I am running Cygwin DLL 1.7.11-1 and the bash command
"cat < <(echo 1234)" (not very profound, ok) works fine on
my Win7-64 box.

Now I installed the same Cygwin release on an older PC
running WinXP: the above command does not execute
properly and breaks with the error message
"bash: /dev/fd/62: No such file or directory".

Any explanation?
Anything I can do make it work?
Thanks a lot in advance for any answer.

Best regards,
Sven Severus

-- 
Mit freundlichen GrÌßen

Dipl. Inform. Sven Severus
Softwareentwicklung
----------------------------------------------------------
HIMA Paul Hildebrandt GmbH + CO KG
Abt: Entwicklung Software
Albert-Bassermann-Strasse 28
68782 Bruehl
Germany

Tel: +49 6202 709-289
Fax: +49 6202 709-299
E-Mail: s.severus@hima.com
Internet: www.hima.de


-- 
HIMA Paul Hildebrandt GmbH + Co KG, Albert-Bassermann-Str. 28, 68782 Bruehl bei Mannheim
Kommanditgesellschaft, Sitz Bruehl, Deutschland - Registergericht Mannheim HRA 421017
Ust-ID: DE 144286400, St.Nr: 43038 00190

Persoenlich haftende Gesellschafterin Paul Hildebrandt Verwaltungsgesellschaft mbH,
Sitz Bruehl, Deutschland - Registergericht Mannheim HRB 420588

Geschaeftsfuehrer: Dipl.-Betriebswirt Steffen Philipp


--
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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-04-11 20:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03  8:32 Process Substitution / Named Pipes in cygwin 1.7.11-1 Sven Severus
2012-04-03  8:35 ` Corinna Vinschen
2012-04-11 17:40   ` Gregory M. Turner
2012-04-11 18:18     ` Gregory M. Turner
2012-04-11 18:34       ` Christopher Faylor
2012-04-11 19:48         ` Gregory M. Turner
2012-04-11 20:04           ` marco atzeri
  -- strict thread matches above, loose matches on Subject: below --
2012-04-02 15:00 Sven Severus
2012-04-02 15:34 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).