X-Spam-Check-By: sourceware.org Date: Tue, 7 Mar 2006 10:45:01 -0500 From: Christopher Faylor 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Unsubscribe: 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 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 () { > 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/