Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <017601c309d2$4cf40af0$78d96f83@pomello> From: "Max Bowsher" To: , "\"cygwin\"" References: <13F02CA8 DOT 7D7FD0A9 DOT 53864CF0 AT netscape DOT net> Subject: Re: FCNTL.DLL causes illegal instruction w/ perl since upgrade Date: Wed, 23 Apr 2003 20:55:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 stimonyhall AT netscape DOT net wrote: >>> anything having to do with fcntl.dll generates the following error in >>> Windows (not an error from the cygwin console): >>> >>> This program has perfromed an illegal operation and will be >>> shutdown. If the problem persists, contact the program vendor: >>> >>> PERL caused an invalid page fault in >>> module FCNTL.DLL at 017f:00b93198. ... >>> >>> This type of error message can be generated from something as >>> simple as "perldoc -f print" to the following example script: >>> >>> #!/usr/bin/perl >>> >>> use warnings; >>> use strict; >>> use Fcntl; >>> #use GDBM_File; >>> #use File::Basename; >>> >>> # Global Variables - Section to change >>> # >>> my($hostname, $os, $kjp, $hw, $uplength, %thehost, @egz, %hostpatches); >>> my(@patchlist, @rootpatchlist, %hostrootpatches, $update, >>> @sortrootpatchlist); >>> >>> my @efiles = qw(one >>> two >>> three); >>> @egz = qw(foo); >>> >>> foreach my $j (@egz) { >>> foreach my $i (@efiles) { >>> system("ls"); >>> } >>> } I can't reproduce this - I think it is likely that Fcntl.dll is corrupt. Try reinstalling the perl package. Max. -- 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/