Mail Archives: cygwin/2003/04/23/15:32:08
> I recently upgraded to version 2.340.2.5 of cygwin on Win 98 SE
> and am seeing the following behavior:
BTW, that version number above is the setup.exe version you used to install
Cygwin. To get the Cygwin version number you can run either of these
$ uname -r
$ cygcheck -c cygwin
from a Cygwin prompt.
> 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?
This could be a rebase issue. Do you have apache installed? Even if you
don't installing the 'rebase' package and running rebaseall might help you.
Once you've downloaded/installed the package read
/usr/doc/Cygwin/rebase-2.2.README , which will give you instructions on how
to run rebaseall.
Elfyn
--
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/
- Raw text -