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
eval does not catch die after alarm #11969
Comments
From matti.linnanvuori@portalify.comCreated by matti@portalify.comeval does not catch die after alarm. I expected eval block to catch a die but it did not. prove -v ack.t Test Summary Report #!/usr/bin/perl -w =pod =head1 ack.t Test 1: publishes an Ack JSON message in exchange.pmc.router-in. =cut use strict; use Net::RabbitMQ; use constant ROUTER_EXCHANGE => 'exchange.pmc.router-in'; sub timestamp { my $json_text = '{ my $mq = Net::RabbitMQ->new(); $mq->connect( "localhost", { user => "guest", password => "guest" } ); my $before = timestamp(); $mq->publish( # Options # Props my $sent = decode_json($json_text); END { Perl Info
|
From zefram@fysh.orgMatti Linnanvuori wrote:
Reducing that complaint down to a minimal test case, it turns out not $ /opt/perl-5.10.1/bin/perl -e 'eval { local Same result on 5.8.8, 5.12.4, and 5.14.2. So it looks like your test failure depends on some other aspect of the -zefram |
The RT System itself - Status changed from 'new' to 'open' |
From @rjbsI am closing this bug. Please re-open it if you can provide further evidence of a bug in perl. Thanks for your report! |
From [Unknown Contact. See original ticket]I am closing this bug. Please re-open it if you can provide further evidence of a bug in perl. Thanks for your report! |
@rjbs - Status changed from 'open' to 'resolved' |
From matti.linnanvuori@portalify.comHi! I still think this is a bug. Perl manages to run to the end when run with option -d, but not without: pmc-inst-test:~/routing # perl ack.t Loading DB routines from perl5db.pl version 1.3 Enter h or `h h' for help, or `man perldebug' for more help. 1..7 regards, Matti Linnanvuori |
@cpansprout - Status changed from 'resolved' to 'open' |
Migrated from rt.perl.org#111300 (status was 'open')
Searchable as RT111300$
The text was updated successfully, but these errors were encountered: