develooper Front page | perl.perl5.porters | Postings from November 2013

[perl #84338] abs_path() errouneously returning undef because lstat() sets errno to EINVAL

Thread Previous
From:
James E Keenan via RT
Date:
November 24, 2013 17:50
Subject:
[perl #84338] abs_path() errouneously returning undef because lstat() sets errno to EINVAL
Message ID:
rt-4.0.18-26230-1385315436-1463.84338-15-0@perl.org
On Fri Sep 06 20:09:25 2013, jkeenan wrote:
> On Thu Feb 24 00:43:58 2011, webmaster@simplemood.com wrote:
> > > I cannot produce this on Mac OS X.
> > 
> > Right, it is only reproducible on certain machines.
> > 
> > > Does the affected server remain right
> > > itself if you switch to a non-threaded build?
> > 
> > As a matter of fact it does, nice!
> > 
> > So it appears to be a (64bit) threading issue …
> 
> Tonight I built a threaded perl on the Dromedary server, at blead, and
> then attempted to reproduce the problem the OP reported in early 2011.
> 
> #####
> sh ./Configure -des -Dusedevel -Dusethreads -Duseithreads
> make -j8
> #####
> ./perl -I./lib -MCwd -Mstrict -wle 'my $etc = Cwd::abs_path("/etc");if
> (defined $etc) { print "Defined: $etc" } else { print "Undefined"; }'
> #####
> Defined: /etc
> #####
> 
> Granted, I did not configure with the long list of arguments the OP did.
>  But this tends not to support the presence of a problem.
> 
> Can anyone confirm?  Is this ticket closable?
> 
> Thank you very much.
> Jim Keenan

We have not heard from the original poster in 2-3/4 years.  No one has provided evidence that this is not fixed in blead.

So I am taking this ticket for the purpose of closing it within 7 days unless someone objects.

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=84338

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About