Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Readonly CPAN distribution.

Report information
The Basics
Id: 70167
Status: resolved
Priority: 0/
Queue: Readonly

People
Owner: sanko [...] cpan.org
Requestors: Alan.Chester [...] tekelec.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.03
Fixed in: 1.04



Subject: unaccessed read-only variables are undef in select calls
Download (untitled) / with headers
text/plain 444b
When a read-only variable is accessed it has an undef value as a parameter for select. This causes select to sleep forever. Example Code: use Readonly; Readonly my $SLEEP_TIME => "0.25"; select (undef, undef, undef, $SLEEP_TIME); This is seen in the Readonly version 1.03 [root@keystone ~]# uname -a Linux keystone 2.6.18-238.12.1.el5prerel4.2.6_71.1.0 #1 SMP Wed Jul 6 16:15:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Using CentOs 5.6
Download (untitled) / with headers
text/plain 691b
On Tue Aug 09 09:50:38 2011, Alan.Chester@tekelec.com wrote: Show quoted text
> When a read-only variable is accessed it has an undef value as a > parameter for select. This causes select to sleep forever. > > Example Code: > use Readonly; > Readonly my $SLEEP_TIME => "0.25"; > select (undef, undef, undef, $SLEEP_TIME); > > > This is seen in the Readonly version 1.03 > > [root@keystone ~]# uname -a > Linux keystone 2.6.18-238.12.1.el5prerel4.2.6_71.1.0 #1 SMP Wed Jul 6 > 16:15:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > > Using CentOs 5.6 > >
Reported to p5p as upstream bug #120102 and fixed (with tests) in perl by 90eaaf02689a95627535076b787e35a0332ab2d5. -- Sanko Robinson sanko@cpan.org


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.