ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [alert] 886#0: worker process 24832 exited on signal 11



Hello!

On Wed, Mar 17, 2010 at 11:52:30AM -0400, Sergey wrote:

> Приношу свои извинения. Действительно не тот nginx был указан. Вот оригинал
> 
> Core was generated by `nginx: worker process      '.
> Program terminated with signal 11, Segmentation fault.
> #0  0xb758f06a in memcpy () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0  0xb758f06a in memcpy () from /lib/tls/i686/cmov/libc.so.6
> #1  0x08093e53 in ngx_http_proxy_create_request (r=0x90fa0f0) at 
> /usr/include/bits/string3.h:52
> #2  0x0807c12a in ngx_http_upstream_init (r=0x90fa0f0) at 
> src/http/ngx_http_upstream.c:453
> #3  0x08074752 in ngx_http_read_client_request_body (r=0x90fa0f0, 
> post_handler=0x807bdf8 ) at src/http/ngx_http_request_body.c:57
> #4  0x08093a63 in ngx_http_proxy_handler (r=0x90fa0f0) at 
> src/http/modules/ngx_http_proxy_module.c:649
> #5  0x0806a685 in ngx_http_core_content_phase (r=0x90fa0f0, ph=0x9118644) at 
> src/http/ngx_http_core_module.c:1262
> #6  0x08067205 in ngx_http_core_run_phases (r=0x90fa0f0) at 
> src/http/ngx_http_core_module.c:800
> #7  0x080698e7 in ngx_http_named_location (r=0x90fa0f0, name=0xbfe0e7e8) at 
> src/http/ngx_http_core_module.c:2224
> #8  0x0806ca72 in ngx_http_send_error_page (r=0x90fa0f0, error=400) at 
> src/http/ngx_http_special_response.c:544
> #9  ngx_http_special_response_handler (r=0x90fa0f0, error=400) at 
> src/http/ngx_http_special_response.c:383
> #10 0x0806e54f in ngx_http_finalize_request (r=0x90fa0f0, rc=400) at 
> src/http/ngx_http_request.c:1924

Умгум, понятно.  Отправлять 400 в именованный location - это 
плохая идея.  Ибо именованный location не меняет uri, а у 400'х 
uri может вообще не быть.

Надо пофиксить, но workaround очевиден - не делайте так (c).

Maxim Dounin

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.