﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
330	nginx crashing in ngx_http_read_client_request_body	Proforg M		"Новые версии nginx, начиная с 1.3.11 (или 10) постоянно сегфолтятся (версии 1.3.9 при этом работает нормально)
В логах выглядит это примерно так:
{{{
2013/04/04 21:06:34 [notice] 25117#0: signal 17 (SIGCHLD) received
2013/04/04 21:06:34 [alert] 25117#0: worker process 25119 exited on signal 11 (core dumped)
2013/04/04 21:06:34 [notice] 25117#0: start worker process 21609
2013/04/04 21:06:34 [notice] 25117#0: signal 29 (SIGIO) received
}}}

В core вот такое:

{{{
Core was generated by `nginx: worker pr'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000046660e in ngx_http_read_client_request_body (r=0x1d832f0, post_handler=0x471855 <ngx_http_upstream_init>) at src/http/ngx_http_request_body.c:88
88          preread = r->header_in->last - r->header_in->pos;
(gdb) bt
#0  0x000000000046660e in ngx_http_read_client_request_body (r=0x1d832f0, post_handler=0x471855 <ngx_http_upstream_init>) at src/http/ngx_http_request_body.c:88
#1  0x00000000004b7da3 in ngx_http_fastcgi_handler (r=0x1d832f0) at src/http/modules/ngx_http_fastcgi_module.c:636
#2  0x000000000044c2c2 in ngx_http_core_content_phase (r=0x1d832f0, ph=0x1ca5370) at src/http/ngx_http_core_module.c:1408
#3  0x000000000044ae0c in ngx_http_core_run_phases (r=0x1d832f0) at src/http/ngx_http_core_module.c:888
#4  0x000000000044ad83 in ngx_http_handler (r=0x1d832f0) at src/http/ngx_http_core_module.c:871
#5  0x000000000045a4c5 in ngx_http_run_posted_requests (c=0x7f74d91e4750) at src/http/ngx_http_request.c:2170
#6  0x0000000000459bf3 in ngx_http_process_request (r=0x1d2b7a0) at src/http/ngx_http_request.c:1853
#7  0x00000000004584e5 in ngx_http_process_request_headers (rev=0x7f74d8ea16a8) at src/http/ngx_http_request.c:1282
#8  0x000000000045785f in ngx_http_process_request_line (rev=0x7f74d8ea16a8) at src/http/ngx_http_request.c:963
#9  0x000000000045677a in ngx_http_wait_request_handler (rev=0x7f74d8ea16a8) at src/http/ngx_http_request.c:486
#10 0x000000000042ee01 in ngx_event_process_posted (cycle=0x1c1bcf0, posted=0x71a520) at src/event/ngx_event_posted.c:40
#11 0x000000000042ca4c in ngx_process_events_and_timers (cycle=0x1c1bcf0) at src/event/ngx_event.c:276
#12 0x000000000043a08d in ngx_worker_process_cycle (cycle=0x1c1bcf0, data=0x1) at src/os/unix/ngx_process_cycle.c:807
#13 0x000000000043699a in ngx_spawn_process (cycle=0x1c1bcf0, proc=0x439ec7 <ngx_worker_process_cycle>, data=0x1, name=0x4e26eb ""worker process"", respawn=-3)
    at src/os/unix/ngx_process.c:198
#14 0x0000000000438ed3 in ngx_start_worker_processes (cycle=0x1c1bcf0, n=2, type=-3) at src/os/unix/ngx_process_cycle.c:362
#15 0x0000000000438528 in ngx_master_process_cycle (cycle=0x1c1bcf0) at src/os/unix/ngx_process_cycle.c:136
#16 0x00000000004082e6 in main (argc=1, argv=0x7fffff3ac518) at src/core/nginx.c:412
}}}

Повторяется на 3х разных серверах, с разным типом нагрузки
Попробовать версию без сторонних модулей, к сожалению, не могу - они все используются в работе :("	defect	closed	minor		nginx-core	1.3.x	fixed			"Debian GNU/Linux 6.0
Linux alterlit 3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.35-2~bpo60+1 x86_64 GNU/Linux"	"nginx version: nginx/1.3.15
TLS SNI support enabled
configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/lib/nginx/body --http-proxy-temp-path=/var/lib/nginx/proxy --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --http-scgi-temp-path=/var/lib/nginx/scgi --with-debug --with-file-aio --with-http_stub_status_module --with-http_addition_module --with-http_random_index_module --with-http_flv_module --with-http_ssl_module --with-http_dav_module --with-http_realip_module --with-http_secure_link_module --with-http_xslt_module --with-http_addition_module --with-http_image_filter_module --with-http_mp4_module --add-module=mod_zip --add-module=nginx-upload-progress-module --with-http_geoip_module --with-http_sub_module --add-module=ngx_http_substitutions_filter_module"
