Nginx : segfault at

hi,all

message log , I ask why ? use nginx-1.0.4-1 ,thanks,

Sep 18 15:43:29 web kernel: nginx[794]: segfault at 00007fff4ca24fd8 rip
0000003ea681398b rsp 00007fff4ca24fb0 error 6
Sep 18 16:39:03 web kernel: nginx[800]: segfault at 00007fff4ca24ff8 rip
0000003ea6812a65 rsp 00007fff4ca25000 error 6
Sep 18 21:59:17 web kernel: nginx[799]: segfault at 00007fff4ca24ff8 rip
0000003ea6812a65 rsp 00007fff4ca25000 error 6
Sep 18 23:18:47 web kernel: nginx[10573]: segfault at 00007fff4ca24ff8
rip 0000003ea68139c2 rsp 00007fff4ca25000 error 6

Posted at Nginx Forum:

nginx -V

nginx: nginx version: nginx/1.0.4
nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
nginx: TLS SNI support disabled
nginx: configure arguments: --user=www --group=www
–prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx
–conf-path=/etc/nginx/nginx.conf
–error-log-path=/var/log/nginx/error.log
–http-log-path=/var/log/nginx/access.log
–http-client-body-temp-path=/var/lib/nginx/tmp/client_body
–http-proxy-temp-path=/var/lib/nginx/tmp/proxy
–http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi
–pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx
–with-http_ssl_module --with-http_realip_module
–with-http_addition_module --with-http_sub_module
–with-http_dav_module --with-http_flv_module
–with-http_gzip_static_module --with-http_stub_status_module
–with-http_perl_module --with-mail --with-mail_ssl_module
–with-cc-opt=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic’
–add-module=/usr/src/redhat/BUILD/nginx-1.0.4/nginx-upstream-fair

Posted at Nginx Forum:

Hello!

On Mon, Sep 19, 2011 at 05:26:34AM -0400, liushaobo wrote:

Sep 18 23:18:47 web kernel: nginx[10573]: segfault at 00007fff4ca24ff8
rip 0000003ea68139c2 rsp 00007fff4ca25000 error 6

Please upgrade to at least 1.0.6 (latest stable), there are
several segmentation faults fixed in it since 1.0.4.

If it doesn’t help, please upgrade to 1.1.3 (latest devel), there
are fixes for several segmentation faults which weren’t yet merged
into stable branch.

If it doesn’t help either, please follow procedure described here:

Notably, please provide nginx -V output, full config and stack
trace for segfaults you see.

Maxim D.