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
Mortality of objects (e.g. %$_) passed as args... - bug or feature? #8520
Comments
From vaclav.ovsik@i.czThis is a bug report for perl from vaclav.ovsik@i.cz, Dear perl maintainer, --------------------<code>-------------------- sub foo $_ = { foo(%$_); --------------------<output>-------------------- Yes, code is ugly, but I think correct. Or no? This problem I found in perl 5.8.x including 5.8.8 and 5.6.1 Flags: Site configuration information for perl v5.8.4: Configured by Debian Project at Thu Mar 23 21:57:50 UTC 2006. Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Locally applied patches: @INC for perl v5.8.4: Environment for perl v5.8.4: |
From @mhxOn 2006-07-12, at 06:58:25 -0700, Vaclav Ovsik (via RT) wrote:
Looks correct to me.
I can still reproduce this with the development version. mhx@r2d2 ~ $ bleadperl-debug /tmp/xxx.pl By slightly modifying the script I can even make it segfault: mhx@r2d2 ~ $ cat /tmp/xxx.pl mhx@r2d2 ~ $ bleadperl-debug /tmp/xxx.pl mhx@r2d2 ~ $ gdb bleadperl-debug With pre-5.6.0 perls, your script runs just fine: mhx@r2d2 ~ $ /tmp/perl/install/debug/perl5.005_04/bin/perl5.00504 /tmp/xxx.pl |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Thu, Jul 13, 2006 at 12:08:54AM +0200, Marcus Holland-Moritz wrote:
This is all because the perl stack (and @_) isn't refcounted (and can't -- |
p5p@spam.wizbit.be - Status changed from 'open' to 'stalled' |
@cpansprout - Status changed from 'stalled' to 'open' |
Migrated from rt.perl.org#39800 (status was 'open')
Searchable as RT39800$
The text was updated successfully, but these errors were encountered: