Skip Menu |
 

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 63677
Status: resolved
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: michael.j.tosh [...] lmco.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: PERL_DL_NONLAZY definition causes continual errors
Date: Mon, 06 Dec 2010 15:22:42 -0500
To: "bug-List-MoreUtils [...] rt.cpan.org" <bug-List-MoreUtils [...] rt.cpan.org>
From: "Tosh, Michael J" <michael.j.tosh [...] lmco.com>
Download (untitled) / with headers
text/plain 757b
The following error is seen continuously in my HTTP Error log: MoreUtils.pm: Use of uninitialized value in scalar assignment at lib/i386-linux-thread-multi/List/MoreUtils.pm line 24. Looking at line 24, I see the following assignment: local $ENV{PERL_DL_NONLAZY} = $ENV{PERL_DL_NONLAZY} ? 0 : $ENV{PERL_DL_NONLAZY}; Something about that line looks wrong. If Perl_DL_NONLAZY is non-zero, you set it to 0, otherwise you set it to undef? Why not just call out 'undef' instead? Although, setting it to undef also causes the same error. Seems like a bug to me. Harmless, but certainly annoying. All I can seem to do to get rid of the error is to comment out the line completely. Maybe running under mod_perl in Apache causes $ENV to not get set?
Which version of Perl and which version of List::MoreUtils?
Subject: RE: EXTERNAL: [rt.cpan.org #63677] PERL_DL_NONLAZY definition causes continual errors
Date: Mon, 06 Dec 2010 20:34:24 -0500
To: "bug-List-MoreUtils [...] rt.cpan.org" <bug-List-MoreUtils [...] rt.cpan.org>
From: "Tosh, Michael J" <michael.j.tosh [...] lmco.com>
Download (untitled) / with headers
text/plain 202b
This is perl, v5.8.8 built for i386-linux-thread-multi List::MoreUtils version 0.26 My final, non-warning code is: (copied from List::Util) local $ENV{PERL_DL_NONLAZY} = 0 if $ENV{PERL_DL_NONLAZY};
Download (untitled) / with headers
text/plain 119b
I'm seeing the same issue and it's causing the Bugzilla QA tests to soft- fail (because they're throwing this warning).
Download (untitled) / with headers
text/plain 5.2k
I too am seeing this issue perl 5.8.5 List::MoreUtils 0.29 I'm seeing it from a command-line script so I single-stepped it, resulting in the following output: DB<3> s List::MoreUtils::CODE(0x20ed340)(/usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm:32): 32: local $ENV{PERL_DL_NONLAZY} = $ENV{PERL_DL_NONLAZY} ? 0 : $ENV{PERL_DL_NONLAZY}; DB<3> s Use of uninitialized value in scalar assignment at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 32. at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 32 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 31 List::MoreUtils::BEGIN() called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 require List/MoreUtils.pm called at /usr/lib/perl5/site_perl/5.8.5/Package/DeprecationManager.pm line 10 Package::DeprecationManager::BEGIN() called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 require Package/DeprecationManager.pm called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Moose/Deprecated.pm line 22 Moose::Deprecated::BEGIN() called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 require Moose/Deprecated.pm called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Moose.pm line 14 Moose::BEGIN() called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 require Moose.pm called at /home/dhoworth/progs/modules/CrossReference.pm line 16 CrossReference::BEGIN() called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 require CrossReference.pm called at /home/dhoworth/progs/modules/Efamily/SIFTS.pm line 152 Efamily::SIFTS::BEGIN() called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 require Efamily/SIFTS.pm called at progs/ebi/msd/sifts-crossrefs-qd1.pl line 64 main::BEGIN() called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 eval {...} called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 36 List::MoreUtils::CODE(0x20ed340)(/usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm:33): 33: bootstrap List::MoreUtils $VERSION; ;' called at /usr/lib/perl5/5.8.5/perl5db.pl line 620 DB::eval called at /usr/lib/perl5/5.8.5/perl5db.pl line 3292 DB::DB called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/List/MoreUtils.pm line 31 List::MoreUtils::BEGIN() called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 eval {...} called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 require List/MoreUtils.pm called at /usr/lib/perl5/site_perl/5.8.5/Package/DeprecationManager.pm line 10 Package::DeprecationManager::BEGIN() called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 eval {...} called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 require Package/DeprecationManager.pm called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Moose/Deprecated.pm line 22 Moose::Deprecated::BEGIN() called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 eval {...} called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 require Moose/Deprecated.pm called at /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/Moose.pm line 14 Moose::BEGIN() called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 eval {...} called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 require Moose.pm called at /home/dhoworth/progs/modules/CrossReference.pm line 16 CrossReference::BEGIN() called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 eval {...} called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 require CrossReference.pm called at /home/dhoworth/progs/modules/Efamily/SIFTS.pm line 152 Efamily::SIFTS::BEGIN() called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 eval {...} called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 require Efamily/SIFTS.pm called at progs/ebi/msd/sifts-crossrefs-qd1.pl line 64 main::BEGIN() called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 eval {...} called at (eval 35)[/usr/lib/perl5/5.8.5/perl5db.pl:620] line 0 HTH, Dave
Download (untitled) / with headers
text/plain 185b
Also note that this appears to be a duplicate of #63342, which provides more explanation and a suggested fix. There's no commentary on why that fix is not appropriate and/or not applied
Subject: RE: EXTERNAL: [rt.cpan.org #63677] PERL_DL_NONLAZY definition causes continual errors
Date: Fri, 17 Dec 2010 09:41:00 -0500
To: "bug-List-MoreUtils [...] rt.cpan.org" <bug-List-MoreUtils [...] rt.cpan.org>
From: "Tosh, Michael J" <michael.j.tosh [...] lmco.com>
This can, and should, be closed. It was fixed in version 0.30 as part of bug 63342.
Aaaaand closed


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.