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 Date: Wed, 23 Apr 2003 15:36:09 -0400 From: stimonyhall AT netscape DOT net To: elfyn-cygwin AT exposure DOT org DOT uk ("Elfyn McBratney"), cygwin AT cygwin DOT com ("cygwin") Subject: Re: FCNTL.DLL causes illegal instruction w/ perl since upgrade MIME-Version: 1.0 Message-ID: <13F02CA8.7D7FD0A9.53864CF0@netscape.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit "Elfyn McBratney" wrote: >> 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 Here is the info: $ uname -r 1.3.22(0.78/3/2) $ cygcheck -c cygwin Cygwin Package Information Package Version cygwin 1.3.22-1 >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 __________________________________________________________________ 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/