Re: loading of PL_Fcntl.exe sharable throwing accessviolation and stackdump

"Craig A. Berry" <[email protected]>
Newsgroups gmane.comp.lang.perl.ports.vms
Message-ID <[email protected]>
On Sep 3, 2009, at 8:28 AM, purnima bhandari wrote:

> Hi,
>
> I installed perl v5.10.0 on i64 system and trying to run Perl  
> scripts which is a part of a automation tool.
>
> The startup script trying to load sharable image dynamically by  
> using following call.
>
>  XSLoader::load('Fcntl', 1.06)
>

> The initial error was:
>
>
> <IX-THREAD-MULTI /post/perlagent/bin/eated.pl -start
> file - /OPT/EATE/PERL-5_10_0/LIB/VMS_IA64/5_10_0/auto/IO/PL_IO.exe
> file - /OPT/EATE/PERL-5_10_0/LIB/VMS_IA64/5_10_0/auto/Fcntl/ 
> PL_Fcntl.exe
> Can't load '/OPT/EATE/PERL-5_10_0/LIB/VMS_IA64/5_10_0/auto/Fcntl/ 
> PL_Fcntl.exe' f
> or module Fcntl: %RMS-F-DEV, error in device name or inappropriate  
> device type f
> or operation at /OPT/EATE/PERL-5_10_0/LIB/VMS_IA64/5_10_0/Fcntl.pm  
> line 215
>  at /OPT/EATE/PERL-5_10_0/LIB/VMS_IA64/5_10_0/XSLoader.pm line 75
>         XSLoader::load('Fcntl', 1.06) called at /OPT/EATE/ 
> PERL-5_10_0/LIB/VMS_IA
> 64/5_10_0/Fcntl.pm line 215
>


Can you run it outside of bash?  If you have to use bash, can you try  
it with Perl 5.10.1 and DECC$EFS_CHARSET enabled?  But before you go  
reinstalling Perl, you can probably get more verbose output by  
defining PERL_DL_DEBUG in the environment:

$ define PERL_DL_DEBUG 10

from DCL, not bash.

> This error got resolved when I supplied PL_Fcntl.exe file spec in  
> VMS format.

What exactly did you change?

>
> After this, loading of PL_Fcntl.exe sharable throwing  
> accessviolation and stackdump. When the script was run,
> i see following output. This sharable is installed part of perl kit.
>
> $ bash
> <_0/LIB/SITE_PERL/AIX-THREAD-MULTI /post/perlagent/bin/eated.pl -start
> file - device_name: 
> [eate.OPT.EATE.PERL-5_10_0.LIB.VMS_IA64.5_10_0.auto.Fcntl]PL_
> Fcntl.exe
> %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual  
> address=000000007AD2
> 5938, PC=FFFFFFFF8080EA90, PS=0000001B
>

"device_name" is not the real name of the device is it?

> If you had seen similar issue, please give your suggestion to  
> resolve this issue.
>
>
> Regards,
> Purnima

________________________________________
Craig A. Berry
mailto:[email protected]

"... getting out of a sonnet is much more
  difficult than getting in."
                  Brad Leithauser
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.