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]

FCNTL.DLL causes illegal instruction w/ perl since upgrade


Hi,

I recently upgraded to version 2.340.2.5 of cygwin on Win 98 SE and am seeing the following behavior:

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.
Registers:
EAX=00000000 CS=017f EIP=00b93198 EFLGS=00010246
EBX=00b96000 SS=0187 ESP=0073f558 EBP=0073f560
ECX=00000000 DS=0187 ESI=00b9479c FS=4867
EDX=8178beb4 ES=0187 EDI=610d1fd8 GS=0000
Bytes at CS:EIP:
8b 11 85 d2 74 15 89 f6 39 5a 0c 74 60 8b 42 14 
Stack dump:
10120ee8 00000002 0073f570 00b91042 00b96000 0073f5d0 0073f580 61009903 00ba0000 00b90000 0073f5d0 61009d42 00ba0008 0073f598 0000001c 4e495747 

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");
        }
}

If I comment out use Fcntl; - the error does not occur. If I click on OK the script keeps on chugging and i get the desired results (My original code was much more complex - i just do an ls here). In the example code the error is generated in the foreach loop so I get it the error 3 times - but it still chugs through. I found two Fcntl.dll: one for perl and one for python. Here is the perl dll:

-rwxr-xr-x    1 foo   mkgroup     19968 Mar 30 12:18 /lib/perl5/5.8.0/cygwin-
multi-64int/auto/Fcntl/Fcntl.dll

Is there another Fcntl.dll I should be looking for? Can anyone give me direction on how to troubleshoot this problem further?

JIM

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

--
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]