This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: FCNTL.DLL causes illegal instruction w/ perl since upgrade
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <stimonyhall at netscape dot net>,"\"cygwin\"" <cygwin at cygwin dot com>
- Date: Wed, 23 Apr 2003 20:55:33 +0100
- Subject: Re: FCNTL.DLL causes illegal instruction w/ perl since upgrade
- References: <13F02CA8.7D7FD0A9.53864CF0@netscape.net>
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/