This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18


On Mon, Jul 04, 2005 at 07:12:33PM -0400, Volker Quetschke wrote:
>Volker Quetschke wrote:
>>This is the perl script that works with the 1.5.17 cygwin dll and
>>hangs with  1.5.18:
>>
>>-- snip perltest.pl --
>>#!/bin/perl
>>
>>$extracmd='';
>>#$extracmd='sleep 1 && ';
>>$systemcall=$extracmd.'makecab.exe /V3 /F 
>>d:/w1/SRC680_m113/instsetoo_native/wntmsci10.pro/OpenOffice/ddf/en-US/openofficeorg1.ddf 
>>2>&1 |';
>>
>>open (DDF, "$systemcall") || die "can't run $!";
>>print("Started\n");
>>while (<DDF>) { print("Output:".$_.":\n"); }
>>close (DDF);
>>-- snap perltest.pl --
>>
>>This is obviously not a self-contained testcase, as this script is 
>>ripped out
>>of the final parts of the openoffice build script. I can try to produce 
>>a self
>>contained example later.
>OK, I could condense the problem to a 75k zipped testcase (It is still the 
>11 lines
>perl file that hangs). See here:
><http://www.openoffice.org/nonav/issues/showattachment.cgi/27695/perlfreeze.zip>
>
>It is a standalone testcase, unfortunately it depends on the absolute path
>it resides in. To reproduce unpack perlfreeze.zip to d: and then
>do:
>$ cd /cygdrive/d/perlfreeze
>$ ./perltest.pl
>
>and see it hang. (In rxvt/bash)

I've downloaded this and it does just sit there but I don't know how long I'm
supposed to wait.  Is it supposed to print a lot of stuff right away?

AFAICT, you don't need rxvt or bash to make this happen.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]