This is the mail archive of the cygwin@cygwin.com 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]

Re: FCNTL.DLL causes illegal instruction w/ perl since upgrade


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/


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