delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/04/19:10:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42C9C261.4080502@scytek.de>
Date: Mon, 04 Jul 2005 19:12:33 -0400
From: Volker Quetschke <quetschke AT scytek DOT de>
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Cc: Volker Quetschke <quetschke AT scytek DOT de>
Subject: Re: Freeze in perl script after cygwin upgrade 1.5.17 -> 1.5.18
References: <42C96709 DOT 9030005 AT scytek DOT de>
In-Reply-To: <42C96709.9030005@scytek.de>
X-IsSubscribed: yes

--------------enig655294DF38331C05CF8FE64F
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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 could not condense the testcase any further, when I remove more
lines from openofficeorg_q4.ddf the error vanishes.

   Volker

P.S: If you cannot unpack to d: choose a different location and change
openofficeorg_q4.ddf accordingly.

-- 
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D

--------------enig655294DF38331C05CF8FE64F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCycJoPTXJup+KeF0RAgppAJ98j6TAtfR2EJAQf4FndqhJ80aCuQCbBF5M
MMDvqSej1qmmzcpPR65JZcE=
=RxID
-----END PGP SIGNATURE-----

--------------enig655294DF38331C05CF8FE64F--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019