Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 4 Jul 2005 19:29:44 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18 Message-ID: <20050704232944.GD20441@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <42C96709 DOT 9030005 AT scytek DOT de> <42C9C261 DOT 4080502 AT scytek DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42C9C261.4080502@scytek.de> User-Agent: Mutt/1.5.8i 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 () { 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: > > >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/