signal 11, FreeBSD 6.1

zevvs at ttb.ru zevvs at ttb.ru
Fri Feb 9 12:31:55 MSK 2007


Добрый день. nginx постоянно падает (раз в 1-2 минуты) с 11 сигналом.
Вывод дебагера:

# gdb -c ./nginx.core.1749 /usr/local/nginx/sbin/nginx
GNU gdb 6.1.1 [FreeBSD]                                                                                           
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 "i386-marcel-freebsd"...                                                               
Core was generated by `nginx'.                                                                                    
Program terminated with signal 11, Segmentation fault.                                                            
Reading symbols from /lib/libcrypt.so.3...done.                                                                   
Loaded symbols for /lib/libcrypt.so.3                                                                             
Reading symbols from /lib/libz.so.3...done.                                                                       
Loaded symbols for /lib/libz.so.3                                                                                 
Reading symbols from /lib/libc.so.6...done.                                                                       
Loaded symbols for /lib/libc.so.6                                                                                 
Reading symbols from /libexec/ld-elf.so.1...done.                                                                 
Loaded symbols for /libexec/ld-elf.so.1                                                                           
#0  0x08082a6e in ngx_http_fastcgi_script_name_variable (r=0x80a9000, v=0x80b6288, data=0)                        
    at src/http/modules/ngx_http_fastcgi_module.c:1978                                                            
1978        if (r->uri.data[r->uri.len - 1] != '/') {                                                             
(gdb) bt                                                                                                          
#0  0x08082a6e in ngx_http_fastcgi_script_name_variable (r=0x80a9000, v=0x80b6288, data=0)                        
    at src/http/modules/ngx_http_fastcgi_module.c:1978                                                            
#1  0x08069eb4 in ngx_http_get_indexed_variable (r=0x80a9000, index=1) at src/http/ngx_http_variables.c:362       
#2  0x080686bd in ngx_http_log_variable_getlen (r=0x80a9000, data=1) at src/http/modules/ngx_http_log_module.c:472
#3  0x08068265 in ngx_http_log_handler (r=0x80a9000) at src/http/modules/ngx_http_log_module.c:225                
#4  0x08065965 in ngx_http_request_done (r=0x80a9000, error=1) at src/http/ngx_http_request.c:2378                
#5  0x080658ab in ngx_http_close_request (r=0x0, error=0) at src/http/ngx_http_request.c:2325                     
#6  0x08064938 in ngx_http_finalize_request (r=0x80a9000, rc=400) at src/http/ngx_http_request.c:1507             
#7  0x08063f9e in ngx_http_read_request_header (r=0x80a9000) at src/http/ngx_http_request.c:985                   
#8  0x080636f2 in ngx_http_process_request_line (rev=0x810c384) at src/http/ngx_http_request.c:574                
#9  0x0806363b in ngx_http_init_request (rev=0x810c384) at src/http/ngx_http_request.c:449                        
#10 0x08056dab in ngx_event_process_posted (cycle=0x80aa020, posted=0x809f7e0) at src/event/ngx_event_posted.c:39 
#11 0x08055e60 in ngx_process_events_and_timers (cycle=0x80aa020) at src/event/ngx_event.c:272                    
#12 0x0805baa5 in ngx_worker_process_cycle (cycle=0x80aa020, data=0x0) at src/os/unix/ngx_process_cycle.c:728     
#13 0x0805a2ce in ngx_spawn_process (cycle=0x80aa020, proc=0x805ba3c <ngx_worker_process_cycle>, data=0x0,        
    name=0x808ed0e "worker process", respawn=3) at src/os/unix/ngx_process.c:187                                  
#14 0x0805b817 in ngx_reap_childs (cycle=0x80aa020) at src/os/unix/ngx_process_cycle.c:555                        
#15 0x0805b005 in ngx_master_process_cycle (cycle=0x80aa020) at src/os/unix/ngx_process_cycle.c:157               
#16 0x08049f0b in main (argc=134863296, argv=0xbfbfec74) at src/core/nginx.c:353                                    


Версия 5.11. FreeBsd 6.1.







More information about the nginx-ru mailing list