delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/07/10:45:19

X-Spam-Check-By: sourceware.org
Date: Tue, 7 Mar 2006 10:45:01 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Perl/Tk conflict with piped open
Message-ID: <20060307154501.GC28948@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <5C8B36E84189A7448899153B272EFBBCA12791 AT 0668-its-exmp01 DOT us DOT saic DOT com>
Mime-Version: 1.0
In-Reply-To: <5C8B36E84189A7448899153B272EFBBCA12791@0668-its-exmp01.us.saic.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Tue, Mar 07, 2006 at 10:38:56AM -0500, Parker, Jonathan T. wrote:
>When I run the following program under cygwin:
>#!/usr/bin/perl
>use Tk;
>my $pid = open(README, "ls |");
>while (<README>) {
>    print "Test: " . $_;
>}
>close(README);
>
>
>I get the following response:
>$ jtp.open2.pl
>      4 [main] perl 5596 C:\Programs\cygwin\bin\perl.exe: *** fatal
>error - couldn't release memory 0x9C4000(1032192) for
>'C:\Programs\cygwin\usr\X11R6\bin\cygX11-6.dll' alignment, Win32 error
>487
>   4655 [main] perl 5624 child_copy: loaded dll data write copy failed,
>0x6258C000..0x6258C140, done 0, windows pid 2287828, Win32 error 5
>panic: MUTEX_LOCK (45) [util.c:2266] at ./jtp.open2.pl line 4.
>panic: MUTEX_LOCK (45) [op.c:354].

Try installing the "rebase" package and running "rebaseall" as described
in the file /usr/share/doc/Cygwin/rebase-*.README .

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/

- Raw text -


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