nginx-0.7.62 ssl and "worker process ... exited on signal 11"

Andrey Y. Ostanovsky andrey at
Thu Oct 22 17:36:46 MSD 2009

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
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/
Loaded symbols for /lib/
Reading symbols from /usr/local/lib/
Loaded symbols for /usr/local/lib/
Reading symbols from /usr/lib/
Loaded symbols for /usr/lib/
Reading symbols from /lib/
Loaded symbols for /lib/
Reading symbols from /lib/
Loaded symbols for /lib/
Reading symbols from /lib/
Loaded symbols for /lib/
Reading symbols from /libexec/
Loaded symbols for /libexec/
#0  0x283de8a3 in memcpy () from /lib/
(gdb) bt
#0  0x283de8a3 in memcpy () from /lib/
#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
#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
#5  0x080ad06b in ngx_http_postpone_filter (r=0x28520400, in=0x0) at
#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
#8  0x08050c0e in ngx_output_chain (ctx=0x2853e29c, in=0x0) at
#9  0x0808ec95 in ngx_http_copy_filter (r=0x28520400, in=0x0) at
#10 0x080a5401 in ngx_http_range_body_filter (r=0x28520400, in=0x0) at
#11 0x0807e775 in ngx_http_output_filter (r=0x28520400, in=0x0) at
#12 0x08088ff1 in ngx_http_writer (r=0x28520400) at
#13 0x08088488 in ngx_http_request_handler (ev=0x2863d384) at
#14 0x08068443 in ngx_event_expire_timers () at
#15 0x08066766 in ngx_process_events_and_timers (cycle=0x28564028) at
#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
#18 0x08071348 in ngx_reap_children (cycle=0x28564028) at
#19 0x080703eb in ngx_master_process_cycle (cycle=0x28564028) at
#20 0x0804bc49 in main (argc=5, argv=0xbfbfeed4) at src/core/nginx.c:382

Best regards, Andrey Y. Ostanovsky
jabberID: aost at
St. Petersburg, Russia 

More information about the nginx-ru mailing list