This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Perl/Tk conflict with piped open
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/