ПРОЕКТЫ 


  АРХИВ 


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]

nginx/0.8.21 exited on signal 11



Имею проблему.
OS: FreeBSD 7.2-STABLE #2: Thu Oct  8 07:38:01 YEKST 2009
nginx -V
nginx version: nginx/0.8.21
TLS SNI support disabled
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I 
/usr/local/include' --with-ld-opt='-L /usr/local/lib' 
--conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx 
--pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log 
--user=www --group=www --with-debug 
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp 
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp 
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp 
--http-log-path=/var/log/nginx-access.log --with-http_addition_module 
--with-http_perl_module --with-http_realip_module --with-http_ssl_module 
--with-http_stub_status_module --with-http_sub_module --with-pcre


gdb /usr/local/sbin/nginx 65534.nginx.core
GNU gdb 6.1.1 
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Attaching to program: /usr/local/sbin/nginx, process 65534
ptrace: No such process.
Core was generated by `nginx'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /usr/local/lib/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /usr/lib/libssl.so.5...done.
Loaded symbols for /usr/lib/libssl.so.5
Reading symbols from /lib/libcrypto.so.5...done.
Loaded symbols for /lib/libcrypto.so.5
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so...done.
Loaded symbols for /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libutil.so.7...done.
Loaded symbols for /lib/libutil.so.7
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from 
/usr/local/lib/perl5/site_perl/5.8.9/mach/auto/nginx/nginx.so...done.
Loaded symbols for /usr/local/lib/perl5/site_perl/5.8.9/mach/auto/nginx/nginx.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000004689af in ngx_http_upstream_init_request (r=0x809f4c000) at 
src/http/ngx_http_upstream.c:601
601         if (uscf->peer.init(r, uscf) != NGX_OK) {

gdb) bt
#0  0x00000000004689af in ngx_http_upstream_init_request (r=0x809f4c000) at 
src/http/ngx_http_upstream.c:601
#1  0x0000000000468294 in ngx_http_upstream_init (r=0x809f4c000) at 
src/http/ngx_http_upstream.c:418
#2  0x000000000045f293 in ngx_http_read_client_request_body (r=0x809f4c000,
    post_handler=0x4681b0 ) at src/http/ngx_http_request_body.c:58
#3  0x0000000000498502 in ngx_http_proxy_handler (r=0x809f4c000)
    at src/http/modules/ngx_http_proxy_module.c:649
#4  0x000000000044883d in ngx_http_core_content_phase (r=0x809f4c000, 
ph=0x8016dd328)
    at src/http/ngx_http_core_module.c:1298
#5  0x00000000004475a2 in ngx_http_core_run_phases (r=0x809f4c000) at 
src/http/ngx_http_core_module.c:835
#6  0x0000000000447518 in ngx_http_handler (r=0x809f4c000) at 
src/http/ngx_http_core_module.c:818
#7  0x0000000000454a30 in ngx_http_process_request (r=0x809f4c000) at 
src/http/ngx_http_request.c:1609
#8  0x00000000004533b1 in ngx_http_process_request_headers (rev=0x801906360)
    at src/http/ngx_http_request.c:1058
#9  0x0000000000452bde in ngx_http_process_request_line (rev=0x801906360) at 
src/http/ngx_http_request.c:871
#10 0x000000000045207b in ngx_http_init_request (rev=0x801906360) at 
src/http/ngx_http_request.c:514
#11 0x000000000043e938 in ngx_kqueue_process_events (cycle=0x80152c050, 
timer=206, flags=1)
    at src/event/modules/ngx_kqueue_module.c:683
#12 0x000000000042e82c in ngx_process_events_and_timers (cycle=0x80152c050) at 
src/event/ngx_event.c:245
#13 0x000000000043b0a4 in ngx_worker_process_cycle (cycle=0x80152c050, data=0x0)
    at src/os/unix/ngx_process_cycle.c:783
#14 0x0000000000438291 in ngx_spawn_process (cycle=0x80152c050, proc=0x43af00 ,
    data=0x0, name=0x4ac37c "worker process", respawn=1) at 
src/os/unix/ngx_process.c:196
#15 0x000000000043ab52 in ngx_reap_children (cycle=0x80152c050) at 
src/os/unix/ngx_process_cycle.c:602
#16 0x0000000000439914 in ngx_master_process_cycle (cycle=0x80152c050) at 
src/os/unix/ngx_process_cycle.c:177
#17 0x000000000040d718 in main (argc=1, argv=0x7fffffffee88) at 
src/core/nginx.c:399

#0  0x00000000004689af in ngx_http_upstream_init_request (r=Cannot access 
memory at address 0x7fffffffe528
) at src/http/ngx_http_upstream.c:601
601         if (uscf->peer.init(r, uscf) != NGX_OK) {
(gdb) bt
#0  0x00000000004689af in ngx_http_upstream_init_request (r=Cannot access 
memory at address 0x7fffffffe528
) at src/http/ngx_http_upstream.c:601
#1  0x0000000000468294 in ngx_http_upstream_init (r=0x80166f000) at 
src/http/ngx_http_upstream.c:418
#2  0x000000000045f293 in ngx_http_read_client_request_body (r=0x80166f000,
    post_handler=0x4681b0 ) at src/http/ngx_http_request_body.c:58
#3  0x0000000000498502 in ngx_http_proxy_handler (r=0x80166f000)
    at src/http/modules/ngx_http_proxy_module.c:649
#4  0x000000000044883d in ngx_http_core_content_phase (r=0x80166f000, 
ph=0x801911df0)
    at src/http/ngx_http_core_module.c:1298
#5  0x00000000004475a2 in ngx_http_core_run_phases (r=0x80166f000) at 
src/http/ngx_http_core_module.c:835
#6  0x0000000000447518 in ngx_http_handler (r=0x80166f000) at 
src/http/ngx_http_core_module.c:818
#7  0x0000000000454a30 in ngx_http_process_request (r=0x80166f000) at 
src/http/ngx_http_request.c:1609
#8  0x00000000004533b1 in ngx_http_process_request_headers (rev=0x809d024d0)
    at src/http/ngx_http_request.c:1058
#9  0x0000000000452bde in ngx_http_process_request_line (rev=0x809d024d0) at 
src/http/ngx_http_request.c:871
#10 0x000000000045207b in ngx_http_init_request (rev=0x809d024d0) at 
src/http/ngx_http_request.c:514
#11 0x000000000043e938 in ngx_kqueue_process_events (cycle=0x80152c050, 
timer=12353, flags=1)
    at src/event/modules/ngx_kqueue_module.c:683
#12 0x000000000042e82c in ngx_process_events_and_timers (cycle=0x80152c050) at 
src/event/ngx_event.c:245
#13 0x000000000043b0a4 in ngx_worker_process_cycle (cycle=0x80152c050, data=0x0)
    at src/os/unix/ngx_process_cycle.c:783
#14 0x0000000000438291 in ngx_spawn_process (cycle=0x80152c050, proc=0x43af00 ,
    data=0x0, name=0x4ac37c "worker process", respawn=-4) at 
src/os/unix/ngx_process.c:196
#15 0x0000000000439f8a in ngx_start_worker_processes (cycle=0x80152c050, n=4, 
type=-4)
    at src/os/unix/ngx_process_cycle.c:345
#16 0x0000000000439b84 in ngx_master_process_cycle (cycle=0x80152c050) at 
src/os/unix/ngx_process_cycle.c:239
#17 0x000000000040d718 in main (argc=1, argv=0x7fffffffee88) at 
src/core/nginx.c:399

Как полечить?
Какую еще информацию предоставить?

Очень активно проявляется на следующей конструкции.
if ($country !~* "RU" ) { set $limit_rate    100k; }

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,17572,17572#msg-17572




 




Copyright © Lexa Software, 1996-2009.