-
Notifications
You must be signed in to change notification settings - Fork 103
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
Scenario related traceback #860
Comments
See also #845. Could you please show also the version of Perl? |
EL6 has perl 5.10.1. |
By any chance, haven’t you restarted wwsympa service along with sympa services? |
There's no wwsympa service on EL6, the Web UI is run from httpd with mod_fcgid. I'm pretty sure httpd was restarted while I was looking at the issue, but I'm not sure at which point exactly. EL6 is the only distro/release from the Fedora/RHEL family which is still using mod_fcgid, Fedora and EL7+ are all using a standalone wwsympa service using spawn-fcgi. |
On EL6, httpd would be better to be stopped once and started again to certainly restart wwsympa.fcgi . On EL7 and 8, Systemd socket and optional multiplexing by multiwatch would be better. I’ll add instructions to doc site later. |
I just reproduced with 6.2.54 + #890 Updated traceback:
if I move both These files are left-overs from a previous rpm version. They are not shipped anymore in the RPM as they have been removed from sympa source code in 2dfb5bd If I move back both file to their previous location after changing |
I found a minimal reproducible case.
use lib '/usr/share/sympa/lib'; # MODULESDIR
use Sympa::Crash;
eval "qr'[x->x]'i";
print "Eval is safe: $@";
use lib '/usr/share/sympa/lib'; # MODULESDIR
use Sympa::Crash;
do {
local $SIG{__DIE__};
eval "qr'[x->x]'i";
};
print "Eval is safe: $@";
I confirmed with Perl 5.10.1, 5.16.3 & 5.28.2. |
@xavierba, could you please check the PR above? |
Yes, #904 fixes the issue. Test cases:
I applied only ef76342 for the fix on top of the rpm install but not 1d3acd8 for the test suite. |
Scenario: Prevent crashing by fatal error in syntax of regexp (#860)
Thanks for confirmation! The fixes were merged. |
Version
6.2.52 + patches #842 #847 #850 #848
Running on CentOS 6.
Installation method
rpm
Expected behavior
No backtrace when browsing the webinterface.
Actual behavior
Additional information
Pure 6.2.52 install without patches applied is broken as well.
I've reverted to 6.2.48 + e262c7c
Another sympa server running 6.2.52 + patches #842 #847 (More or less the initial setup of the broken EL6 host) , but running on Fedora 30 seems okay.
The text was updated successfully, but these errors were encountered: