Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: strawberry perl yields a "Invalid access to memory location"

by syphilis (Chancellor)
on Sep 27, 2011 at 05:46 UTC ( #928015=note: print w/replies, xml ) Need Help??

in reply to strawberry perl yields a "Invalid access to memory location"

strawberry-perl has a problem if a dll is not loaded where the dll wants to be loaded (which may happen if another dll comes first at that special address)

What happens if you try to load FCGI, and no other module:
perl -MFCGI -e 1
I'm thinking it will still fail to load - even though (I assume) there's then no other dll that "comes first at that special address".
Basically, for no good reason, I feel that you might not have got the diagnosis right.

I think that another way of checking to see whether it can be loaded in isolation might be to call's Win32::LoadLibrary('C:/Perl/perl/site/lib/auto/FCGI/FCGI.dll') though, I guess by the time perl has fired up and Win32 has loaded, there are already at least 2 dll files that have been loaded.

I fear that this problem could happen again with any other dll?

I guess it could. But this must be a very rare occurrence. I've been using MinGW for years and have not yet struck it, nor had I heard of it before today.

how can I fix FCGI.DLL? I know that for a similar cygwin problem, there is /bin/rebaseall, is there something similar for mingw?

Best place to would ask about this would be on the mingw64 mailing list, since these are the people that provided the mingw compiler that Strawberry Perl uses.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928015]
[erix]: (NSFC - Not Safe For Church)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2017-09-24 20:36 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (274 votes). Check out past polls.