[Bug 1897561] Re: libperl.so.5.30.0 causes nginx to segfault
Simon Déziel
1897561 at bugs.launchpad.net
Tue Oct 13 17:15:10 UTC 2020
** Description changed:
+ [Steps to reproduce]
+
+ 1) launch a focal container
+ $ lxc launch images:ubuntu/focal focal-1897561
+ 2) enter the container
+ $ lxc shell focal-1897561
+ 3) install libnginx-mod-http-perl
+ # apt-get install -y nginx-core libnginx-mod-http-perl
+ 4) check nginx journal
+ # journalctl -fu nginx &
+ 5) reload nginx 2-3 times
+ # systemctl reload nginx
+
+ Eventually you will see this from the journal:
+
+ Oct 13 17:13:34 focal-1897561 systemd[1]: Reloaded A high performance web server and a reverse proxy server.
+ Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Main process exited, code=dumped, status=11/SEGV
+ Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 588 (nginx) with signal SIGKILL.
+ Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 589 (nginx) with signal SIGKILL.
+ Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 588 (nginx) with signal SIGKILL.
+ Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 589 (nginx) with signal SIGKILL.
+ Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Failed with result 'core-dump'.
+
+
+ [Original bug description]
+
Ubuntu 20.04 LTS
Looks that Perl 5.30 has bug that causes nginx to die, usually occurs
after "service nginx reload"
This looks like nginx, but it really is perl issue:
https://github.com/Perl/perl5/issues/17154
Fix done in 5.32 (Perl5 commit ffffbf0) and people are asking backport
to 5.30 to get fix also to nginx.
Error:
Sep 28 07:39:43 host kernel: [1340832.811014] nginx[3253005]: segfault at 10 ip 00007fbf3220d593 sp 00007ffd6bba6260 error 4 in libperl.so.5.30.0[7fbf321a5000+166000]
Symptom: Nginx terminates
** Description changed:
[Steps to reproduce]
1) launch a focal container
$ lxc launch images:ubuntu/focal focal-1897561
2) enter the container
$ lxc shell focal-1897561
3) install libnginx-mod-http-perl
# apt-get install -y nginx-core libnginx-mod-http-perl
4) check nginx journal
# journalctl -fu nginx &
5) reload nginx 2-3 times
# systemctl reload nginx
Eventually you will see this from the journal:
Oct 13 17:13:34 focal-1897561 systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Main process exited, code=dumped, status=11/SEGV
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 588 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 589 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 588 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 589 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Failed with result 'core-dump'.
+ [Workaround]
+
+ If libnginx-mod-http-perl is not needed, purging it and restarting nginx
+ sidesteps the problem.
[Original bug description]
Ubuntu 20.04 LTS
Looks that Perl 5.30 has bug that causes nginx to die, usually occurs
after "service nginx reload"
This looks like nginx, but it really is perl issue:
https://github.com/Perl/perl5/issues/17154
Fix done in 5.32 (Perl5 commit ffffbf0) and people are asking backport
to 5.30 to get fix also to nginx.
Error:
Sep 28 07:39:43 host kernel: [1340832.811014] nginx[3253005]: segfault at 10 ip 00007fbf3220d593 sp 00007ffd6bba6260 error 4 in libperl.so.5.30.0[7fbf321a5000+166000]
Symptom: Nginx terminates
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1897561
Title:
libperl.so.5.30.0 causes nginx to segfault
Status in perl package in Ubuntu:
Incomplete
Bug description:
[Steps to reproduce]
1) launch a focal container
$ lxc launch images:ubuntu/focal focal-1897561
2) enter the container
$ lxc shell focal-1897561
3) install libnginx-mod-http-perl
# apt-get install -y nginx-core libnginx-mod-http-perl
4) check nginx journal
# journalctl -fu nginx &
5) reload nginx 2-3 times
# systemctl reload nginx
Eventually you will see this from the journal:
Oct 13 17:13:34 focal-1897561 systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Main process exited, code=dumped, status=11/SEGV
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 588 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 589 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 588 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Killing process 589 (nginx) with signal SIGKILL.
Oct 13 17:13:35 focal-1897561 systemd[1]: nginx.service: Failed with result 'core-dump'.
[Workaround]
If libnginx-mod-http-perl is not needed, purging it and restarting
nginx sidesteps the problem.
[Original bug description]
Ubuntu 20.04 LTS
Looks that Perl 5.30 has bug that causes nginx to die, usually occurs
after "service nginx reload"
This looks like nginx, but it really is perl issue:
https://github.com/Perl/perl5/issues/17154
Fix done in 5.32 (Perl5 commit ffffbf0) and people are asking backport
to 5.30 to get fix also to nginx.
Error:
Sep 28 07:39:43 host kernel: [1340832.811014] nginx[3253005]: segfault at 10 ip 00007fbf3220d593 sp 00007ffd6bba6260 error 4 in libperl.so.5.30.0[7fbf321a5000+166000]
Symptom: Nginx terminates
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1897561/+subscriptions
More information about the foundations-bugs
mailing list