Hi Perl5 Porters,
I am maintainer of the Perl XS module AFS. At the moment I am
preparing a new release of the AFS module and I am testing it against
different Perl versions. It is working with
v5.10.1 v5.10.1-threaded
v5.12.4 v5.12.4-threaded
v5.14.2
But with "v5.14.2-threaded" I have problems while loading the module.
When I run the attached script "AFS.t" I get the following error message
~>/tmp/perl_thread/bin/perl AFS.t
1..1
not ok 1 - use AFS;
# Failed test 'use AFS;'
# at AFS.t line 10.
# Tried to use 'AFS'.
# Error: Not a CODE reference at /tmp/perl_thread/lib/5.14.2/i686-linux-thread-multi/DynaLoader.pm line 213.
# END failed--call queue aborted at /home/nog/develop/afsperl/latest/blib/lib/AFS.pm line 213.
# Compilation failed in require at (eval 8) line 2.
# BEGIN failed--compilation aborted at (eval 8) line 2.
# Looks like you failed 1 test of 1.
Then I have compiled the "v5.14.2-threaded" with DEBUG option and
activated the environment variable "PERL_DL_DEBUG". Then I get the
following error message
~>/tmp/perl_thread/bin/perl AFS.t
1..1
DynaLoader.pm loaded (/home/nog/develop/afsperl/latest/blib/arch /home/nog/develop/afsperl/latest/blib/lib ../../inc ../inc ./inc /tmp/perl_thread/lib/site_perl/5.14.2/i686-linux-thread-multi /tmp/perl_thread/lib/site_perl/5.14.2 /tmp/perl_thread/lib/5.14.2/i686-linux-thread-multi /tmp/perl_thread/lib/5.14.2 ., /usr/local/lib /lib/../lib /usr/lib/../lib /lib /usr/lib)
DynaLoader::bootstrap for AFS (auto/AFS/AFS.so)
perl: av.c:730: Perl_av_len: Assertion `((svtype)((av)->sv_flags & 0xff)) == SVt_PVAV' failed.
But this message does not help me too much. Is there any possibility
to trace the problem any further? How can I get more information from
the DynaLoader module?
And my general question is, why is the behavior different between the
"threaded" and the "unthreaded" version v5.14.2?
I would appreciate any help.
Cheers,
Norbert
--
Ceterum censeo
Redmond esse delendam.
Thread Next