wannabeperlguru has asked for the wisdom of the Perl Monks concerning the following question:
ERROR: 'Can't load 'C:/Perl/perl/site/lib/auto/FCGI/FCGI.dll' for modu +le FCGI: load_file: Invalid access to memory location at C:/Perl/perl +/lib/DynaLoader.pm line 200.
The error does not show up when I use DBD::Oracle or when I use ActivePerl (no matter whether I use DBD::ODBC or DBD::Oracle). I analysed the script with Dependency Walker (profiling the perl process) to see where the FCGI.DLL gets loaded in memory (0x62EC0000 for DBD::Oracle, 0x06370000 for DBD::ODBC). The ImageBase of FCGI.DLL is 0x62EC0000, so obviously 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). This seems to be a bug of the used mingw-toolchain (see bug 3322937 of mingw-bugtracker at sourceforge). I tried also with strawberry-perl 5.12 (newer version of mingw), same problem.
Now my questions are:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: strawberry perl yields a "Invalid access to memory location"
by Util (Priest) on Sep 26, 2011 at 14:42 UTC | |
|
Re: strawberry perl yields a "Invalid access to memory location"
by syphilis (Archbishop) on Sep 27, 2011 at 05:46 UTC | |
|
Re: strawberry perl yields a "Invalid access to memory location"
by Anonymous Monk on Sep 27, 2011 at 01:32 UTC | |
by wannabeperlguru (Initiate) on Sep 27, 2011 at 05:08 UTC |