New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl reports refcnt_dec error and hangs when dying at SIGINT in File::Copy::copy #10908
Comments
From jens.schmidt35@arcor.deCreated by jens.schmidt35@arcor.deConsider the following test case: ---- snip ---- $SIG{INT} = sub { die }; copy( $ARGV[0], $ARGV[1] ); Then call as "perl test.pl <large file> <target file>" and hit Ctrl-C ---- snip ---- and Perl hangs. I took a stack trace of the hanging Perl: ---- snip ---- Here is a listing if the file descriptors at hang time (yyy being the ---- snip ---- I tried to simulate what File::Copy::copy does in my test program as well, using Perl Info
|
From jens.schmidt35@arcor.deReproduces in perl 5.12.2 as well (same host as above). |
jens.schmidt35@arcor.de - Status changed from 'new' to 'open' |
jens.schmidt35@arcor.de - Status changed from 'open' to 'new' |
From @iabynOn Mon, Dec 20, 2010 at 12:44:33AM -0800, jens.schmidt35@arcor.de wrote:
I suspect this bug (recursively calling into PerlIO via a signal handler) However, I was unable to reproduce this with 5.10.1 or any other perl, -- |
The RT System itself - Status changed from 'new' to 'open' |
From jens.schmidt35@arcor.deThanks for looking into this. To a pity, the problem still reproduces with perl-5.14.0-RC1. I did some more tests (both with perl 5.10 and 5.14), and the problem It does not reproduce at all if both source and target are on a local disk. Hope that helps. |
From jens.schmidt35@arcor.deOn Tue Apr 26 06:21:18 2011, davem wrote:
Ups, I just now noticed the "Reply" button in perlbug, sorry. I've sort Sorry for the inconvenience. |
From jens.schmidt35@arcor.deThis seems to be even NFS-server dependent. We got a new NFS server a |
Migrated from rt.perl.org#81000 (status was 'open')
Searchable as RT81000$
The text was updated successfully, but these errors were encountered: