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
Possible problem with optimization of return at end of sub? #14911
Comments
From @steve-m-hayA problem has come to light in mod_perl relating to the following commit: http://perl5.git.perl.org/perl.git/commit/437e3a7dac994ebace1195549170c8 It may be a mod_perl problem (or possibly TryCatch / Devel::Declare related?) rather than a core perl problem, but since the exact cause isn't yet known it's hard to guess whether some CPAN XS code has previously been getting away with something naughty or whether there is some fault lurking in this core perl optimization. There are a couple of threads on the mod_perl users mailing list, the second of which details how to reproduce the problem (with mod_perl, of course): http://marc.info/?t=144131529800006&r=1&w=2 http://marc.info/?t=144235552600001&r=1&w=2 More eyes on the problem may help to shed some light. Any clues where to look would be greatly appreciated. |
From @iabynOn Wed, Sep 16, 2015 at 10:06:13AM -0700, Steve Hay wrote:
Given that the bisected perl commit is about replacing a trailing -- |
The RT System itself - Status changed from 'new' to 'open' |
From @wolfsageOn Sat, Sep 19, 2015 at 6:36 AM, Dave Mitchell <davem@iabyn.com> wrote:
Interestingly, the example here: https://github.com/mschout/modperl-trycatch-bug Fails for me with 5.18.2 threaded when trying to start apache2 with: [Sun Nov 01 11:14:32.056712 2015] [core:notice] [pid 24140] AH00060: And: mhorsfall@tworivers:~$ sudo apache2ctl restart Using: [Sun Nov 01 11:15:06.290171 2015] [mpm_event:notice] [pid If I comment out the try {} and 'use TryCatch' it never fails for me. Also if I replace TryCatch with Try::Tiny, it never fails for me. I think TryCatch might be doing something really heinous or Or perhaps this is just a problem with threaded perl and TryCatch/Apache...? -- Matthew Horsfall (alh) |
Migrated from rt.perl.org#126070 (status was 'open')
Searchable as RT126070$
The text was updated successfully, but these errors were encountered: