develooper Front page | perl.perl5.porters | Postings from September 2014

[perl #116461] obscure rmtree bug on Linux NTFS since 5.8.9 & 5.10.1

Thread Next
From:
James E Keenan via RT
Date:
September 22, 2014 23:44
Subject:
[perl #116461] obscure rmtree bug on Linux NTFS since 5.8.9 & 5.10.1
Message ID:
rt-4.0.18-22888-1411429435-1699.116461-15-0@perl.org
On Sun Jan 20 10:04:51 2013, occitan@esperanto.org wrote:
> I have added a new feature and regression test to makepp.sf.net, and
> this new
> test is mysteriously failing with every version since 5.8.9 & 5.10.1
> (some
> 32bit, some 64, some ActiveState, some self compiled), but not with
> 5.10.0 and
> older ones.  This only happens, but reproducibly, when the test is
> running on
> NTFS, be it Ubuntu's fuseblk mount of /host to the underlying Windows
> XP D:,
> or when I create an NTFS on Linux and mount it directly.
> 
> What all tests do is, create a subdirectory, unpack the test into it,
> chdir
>  there, perform the test, chdir back and File::Path::rmtree the
> subdirectory.
> Now all newer perls are saying "cannot remove path when cwd is
> /.../loop.tdir".  Before calling rmtree, I have checked the return
> value of
> chdir, logged Cwd::cwd, even put in a sleep and checked
> /proc/<pid>/cwd and
> they all agree that this is not true.
> 
> What is special about this test is that it forks, the child execs perl
> makepp
> with the new --loop option (which makes it repeatedly kill 'STOP', $$)
> and the
> father does waitpid $pid, WUNTRACED; kill 'CONT', $pid a couple of
> times (how
> many has no effect on the problem).  Finally it kills the child and
> waits for
> it (and it really is gone before the test ends).
> 
> Now I'm sorry to say, I've tried to write some minimal scripts to
> reproduce
> this, but they failed to.  Only if the child actually runs makepp does
> this
> happen.  So if anybody has the courage to, grab today's check in as
> per
> http://sourceforge.net/scm/?type=cvs&group_id=43679&source=navbar and
> 

Looking at this ticket this evening, I had occasion to try that link.  I got:

#####
There was an error processing your request ...
#####

Is there a better link?  Are the issues raised in this ticket still a concern?

Thank you very much.

-- 
James E Keenan (jkeenan@cpan.org)

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

Thread Next


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