kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
731 stars 251 forks source link

Segment Fault Issues #118

Open jennyfountain opened 8 years ago

jennyfountain commented 8 years ago

I am seeing these issues on a fresh installations:

Jan 29 10:48:11 testbox kernel: [845310.021759] nginx[1963] general protection ip:476661 sp:7fffd9f29a90 error:0 in nginx[400000+97000] Jan 29 10:48:15 testbox kernel: [845313.112678] nginx[1610] general protection ip:476661 sp:7fffd9f29a90 error:0 in nginx[400000+97000] Jan 29 10:48:39 testbox kernel: [845337.712343] nginx[48094] general protection ip:42e688 sp:7fffd9f29a60 error:0 in nginx[400000+97000] Jan 29 10:48:50 testbox kernel: [845348.240953] nginx[2468]: segfault at 0 ip 0000000000476661 sp 00007fffd9f29a90 error 6 in nginx[400000+97000] Jan 29 10:48:50 testbox kernel: [845348.311438] nginx[2312]: segfault at 50545450 ip 000000000047666b sp 00007fffd9f29a90 error 6 in nginx[400000+97000] Jan 29 10:49:00 testbox kernel: [845358.530656] nginx[4650] general protection ip:42e664 sp:7fffd9f29a60 error:0 in nginx[400000+97000] Jan 29 10:49:07 testbox kernel: [845365.812908] nginx[2171]: segfault at 20 ip 00000000004094be sp 00007fffd9f29860 error 4 in nginx[400000+97000] Jan 29 10:49:07 testbox kernel: [845365.871086] nginx[4658] general protection ip:476661 sp:7fffd9f29a90 error:0 in nginx[400000+97000] Jan 29 10:49:07 testbox kernel: [845366.005783] nginx[2020]: segfault at 20 ip 00000000004094be sp 00007fffd9f298a0 error 4 in nginx[400000+97000] Jan 29 10:49:10 testbox kernel: [845368.438440] nginx[5565] general protection ip:476661 sp:7fffd9f29a90 error:0 in nginx[400000+97000]

nginx 1.8.1 (and 1.8.0) centos 6.7

JeanVelloen commented 8 years ago

I'm seeing identical behaviour here:

Feb 22 09:33:07 ip-172-31-7-10 kernel: nginx[21085]: segfault at 20 ip 000000000040968e sp 00007ffdc0939f10 error 4 in nginx[400000+8f000] Feb 22 09:33:32 ip-172-31-7-10 kernel: nginx[21094]: segfault at 50545450 ip 00000000004701eb sp 00007ffdc093a160 error 6 in nginx[400000+8f000]

The only workaround is to do a forced restart of the nginx process.

nginx 1.9.6 CentOS release 6.7 (Final) currently using commit "d0f2f829f708792ee97a9241c9c6ffd33c47c7c1" of nginx-auth-ldap.

ibexmonj commented 6 years ago

any other workarounds here ?