This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Perl/Tk conflict with piped open


When I run the following program under cygwin:
use Tk;
my $pid = open(README, "ls |");
while (<README>) {
    print "Test: " . $_;

I get the following response:
      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
   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 ./ line 4.
panic: MUTEX_LOCK (45) [op.c:354].

Cygcheck is attached.

I isolated this error from a larger program I was assigned to bring up
to date. I suspected that I had confused my environment with different
versions of perl, but after removing all other versions I can think of,
the problem persists. I deleted and reinstalled cygwin. No help. Other
simplified versions of "open" work ok.

I can make little from the error messages.

Any help would be appreciated.

Jonathan Parker

Attachment: cygcheck.out
Description: Binary data

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]