-
Notifications
You must be signed in to change notification settings - Fork 32
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
No $self in sub() with lazy => 1 and mod_perl with Apache MPM worker #28
Comments
Hmm, I think it is intended. How about Moose? |
We don't use Moose to have a lighter memory use, but I can maybe give a try. Why do you say it's intended? Seems to work well on recent Perl. |
Oh, I'm sorry I didn't see what you said, "I can't reprodure with a more recent version of Perl (v5.18.2)". It looks a bug and should be fixed. |
@coudot Can this bug reproduce without Apachie mod_perl ? There are some tests which uses |
Sadly, the bug occurs only in mod_perl, with MPM worker, with quite old Perl version (5.10). It works well on the same system with MPM prefork. I can reproduce the bug on CentOS 6 with standard packages. |
Hmmm, MPM worker uses multiple threads iirc, I wonder if this related to the issues here? #29 |
Thread issue was fixed at #50. Please check latest version again |
We have a strange bug in LemonLDAP::NG: https://jira.ow2.org/browse/LEMONLDAP-723
It seems that Mouse, with Perl v5.10.1, running inside Apache mod_perl with the MPM worker cannot run this kind of code:
The error we see in Apache is:
I tried to use Mouse 2.3.0, but same error.
I can't reprodure with a more recent version of Perl (v5.18.2), or with MPM prefork.
Clément.
The text was updated successfully, but these errors were encountered: