-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bizzare copy of **** in stack args #11
Comments
From [email protected] (@autarch) on 2010-06-26 19:55:57: Sorry for the slow reply. This is really a bug in the Perl core, and should probably be reported As for a hackaround in Devel::StackTrace, any such thing would need to |
From [email protected] on 2010-10-03 17:22:30: On Sat Jun 26 15:55:57 2010, DROLSKY wrote:
I've just submitted a report to [email protected]. I've written a Graeme Hewson |
From [email protected] on 2010-10-03 18:03:02: My report is now at |
From [email protected] on 2010-10-04 17:52:07: OK, so the core problem is not realistically fixable. It seems a I don't know if this has any relevance, which I happened to notice in
|
From [email protected] (@SineSwiper) on 2012-04-23 00:56:54: Getting hit by this, too, via Perl 5.14.2. So, it's not really fixed in |
From [email protected] (@autarch) on 2012-04-23 01:36:22: On Sun Apr 22 20:56:54 2012, BBYRD wrote:
A good patch would be welcome. Bonus points for stealing the code from I think the linked rt.perl ticket might provide a good test case. |
Same workaround was added to Carp.pm module based on patch: https://rt.perl.org/Public/Bug/Display.html?id=131046 It is not fix just a workaround which may work. See also: houseabsolute#11 https://rt.perl.org/Public/Bug/Display.html?id=52610
Same workaround was added to Carp.pm module based on patch: https://rt.perl.org/Public/Bug/Display.html?id=131046 It is not fix just a workaround which may work. See also: houseabsolute#11 https://rt.perl.org/Public/Bug/Display.html?id=52610
Same workaround was added to Carp.pm module based on patch: https://rt.perl.org/Public/Bug/Display.html?id=131046 It is not fix just a workaround which may work. See also: #11 https://rt.perl.org/Public/Bug/Display.html?id=52610
Migrated from rt.cpan.org #50447 (status was 'open')
Requestors:
Attachments:
From [email protected] on 2009-10-13 14:12:36:
Simple (but awful) code, that raise error:
use Devel::StackTrace;
sub do_work {
my $s = Devel::StackTrace->new(
'no_refs' => 1,
);
}
sub call_with_args {
my ($arg_hash, $func) = @_;
$func->( @{$arg_hash->{'args'}} );
}
my $h = {};
my $arg_hash = { 'args' => [ undef ] };
call_with_args(
$arg_hash, sub {
$arg_hash->{'args'} = [];
do_work( sub { $h; } );
}
);
I propose this solution (in StackTrace.pm)
sub _record_caller_data
{
my $self = shift;
}
The text was updated successfully, but these errors were encountered: