Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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]
[choroba]: thezip should be ok.
[thezip]: It seemed so, choroba, but I don't want to confuse anyone (especially myself!)
[choroba]: thezip unless something like this happens to you.
[thezip]: I don't intend on doing any offline development in the Czech Republic soon, so i think I'm safe!
[thezip]: :-)
[choroba]: Yeah, there are countries with wifi everywhere
[choroba]: also, I didn't have a smart phone at that time

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-03-23 21:06 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (294 votes). Check out past polls.