ПРОЕКТЫ 


  АРХИВ 


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: nginx-0.7.62 ssl and "worker process ... exited on signal 11"



Anton Yuzhaninov пишет:
> Andrey Y. Ostanovsky wrote:
>   
>>> Собрать с отладочными символами,
>>>       
>> Это, я так понимаю, для портового: OPTIONS=DEBUG  "Enable nginx
>> debugging" переключить в on
>>     
> Да
>>> включить сохранение корок на диск.
>>> Посмотреть в gdb backtrace полученной корки.  
>>>       
>> Эти моменты, желательно описать более подробно
>>     
> sysctl kern.sugid_coredump=1
> sysctl kern.corefile=/var/tmp/%U.%N.core
>
> и ловить корки появляющиеся в /var/tmp/
>
> Когда появится корка
>   
> gdb /usr/local/sbin/nginx /var/tmp/name_of.core
> bt
>   
# gdb /usr/local/sbin/nginx /var/tmp/80.nginx.core
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.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 /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x283de8a3 in memcpy () from /lib/libc.so.7
(gdb) bt
#0  0x283de8a3 in memcpy () from /lib/libc.so.7
#1  0x08076de1 in ngx_ssl_send_chain (c=0x285835a0, in=0x2853e758,
limit=30720) at src/event/ngx_event_openssl.c:934
#2  0x0808e674 in ngx_http_write_filter (r=0x28520400, in=0x0) at
src/http/ngx_http_write_filter_module.c:237
#3  0x080a4156 in ngx_http_chunked_body_filter (r=0x28520400, in=0x0)
    at src/http/modules/ngx_http_chunked_filter_module.c:84
#4  0x080ab645 in ngx_http_gzip_body_filter (r=0x28520400, in=0x0) at
src/http/modules/ngx_http_gzip_filter_module.c:304
#5  0x080ad06b in ngx_http_postpone_filter (r=0x28520400, in=0x0) at
src/http/ngx_http_postpone_filter_module.c:82
#6  0x080adbf3 in ngx_http_charset_body_filter (r=0x28520400, in=0x0)
    at src/http/modules/ngx_http_charset_filter_module.c:482
#7  0x080b00b5 in ngx_http_ssi_body_filter (r=0x28520400, in=0x0) at
src/http/modules/ngx_http_ssi_filter_module.c:394
#8  0x08050c0e in ngx_output_chain (ctx=0x2853e29c, in=0x0) at
src/core/ngx_output_chain.c:58
#9  0x0808ec95 in ngx_http_copy_filter (r=0x28520400, in=0x0) at
src/http/ngx_http_copy_filter_module.c:110
#10 0x080a5401 in ngx_http_range_body_filter (r=0x28520400, in=0x0) at
src/http/modules/ngx_http_range_filter_module.c:549
#11 0x0807e775 in ngx_http_output_filter (r=0x28520400, in=0x0) at
src/http/ngx_http_core_module.c:1681
#12 0x08088ff1 in ngx_http_writer (r=0x28520400) at
src/http/ngx_http_request.c:2105
#13 0x08088488 in ngx_http_request_handler (ev=0x2863d384) at
src/http/ngx_http_request.c:1748
#14 0x08068443 in ngx_event_expire_timers () at
src/event/ngx_event_timer.c:149
#15 0x08066766 in ngx_process_events_and_timers (cycle=0x28564028) at
src/event/ngx_event.c:261
#16 0x08071894 in ngx_worker_process_cycle (cycle=0x28564028, data=0x0)
at src/os/unix/ngx_process_cycle.c:778
#17 0x0806efda in ngx_spawn_process (cycle=0x28564028, proc=0x8071730
<ngx_worker_process_cycle>, data=0x0,
    name=0x80d0c05 "worker process", respawn=5) at
src/os/unix/ngx_process.c:194
#18 0x08071348 in ngx_reap_children (cycle=0x28564028) at
src/os/unix/ngx_process_cycle.c:580
#19 0x080703eb in ngx_master_process_cycle (cycle=0x28564028) at
src/os/unix/ngx_process_cycle.c:165
#20 0x0804bc49 in main (argc=5, argv=0xbfbfeed4) at src/core/nginx.c:382
(gdb)

-- 
Best regards, Andrey Y. Ostanovsky
jabberID: aost@xxxxxxxxxxxxx
St. Petersburg, Russia 




 




Copyright © Lexa Software, 1996-2009.