core dumped

Domrachev Ivan domrachev.ivan на gmail.com
Ср Дек 22 10:47:17 MSK 2010


Добрый день

собственно subj.
воспроизвести не получается, но он сам переодически выпадает.

из необычного только:
$ uname -a
FreeBSD d01.localdomain 7.2-RELEASE-p8 FreeBSD 7.2-RELEASE-p8 #0: Tue May 25 17:51:43 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

nginx version: nginx/0.8.54

./configure \
--with-http_stub_status_module \
--without-http_userid_module \
--without-http_autoindex_module \
--without-http_memcached_module \
--without-http_limit_zone_module \
--without-http_empty_gif_module \
--without-http_upstream_ip_hash_module \
--with-http_gzip_static_module \
--with-http_perl_module \
--with-perl_modules_path=/usr/local/perl-5.10/lib/5.10.1/ \
--with-perl=/usr/local/perl-5.10/bin/perl \
--with-debug \
--with-http_sub_module

$ gdb /usr/local/nginx/sbin/nginx ./nginx.core.18752
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 "amd64-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 /lib/libmd.so.4...done.
Loaded symbols for /lib/libmd.so.4
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/perl-5.10/lib/5.10.1/amd64-freebsd-thread-multi/auto/nginx/nginx.so...done.
Loaded symbols for /usr/local/perl-5.10/lib/5.10.1/amd64-freebsd-thread-multi/auto/nginx/nginx.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000000048098b in ngx_http_fastcgi_create_request (r=0x8015bd000) at src/http/modules/ngx_http_fastcgi_module.c:954
954                     ch = header[i].key.data[n];
[New Thread 0x8011020b0 (LWP 100153)]
(gdb) bt
#0  0x000000000048098b in ngx_http_fastcgi_create_request (r=0x8015bd000) at src/http/modules/ngx_http_fastcgi_module.c:954
#1  0x000000000046461d in ngx_http_upstream_init_request (r=0x8015bd000) at src/http/ngx_http_upstream.c:488
#2  0x0000000000464a88 in ngx_http_upstream_init (r=0x8015bd000) at src/http/ngx_http_upstream.c:429
#3  0x00000000004595e1 in ngx_http_read_client_request_body (r=0x8015bd000, post_handler=0x464990 <ngx_http_upstream_init>) at src/http/ngx_http_request_body.c:58
#4  0x000000000047f47b in ngx_http_fastcgi_handler (r=0x8015bd000) at src/http/modules/ngx_http_fastcgi_module.c:603
#5  0x000000000044da9c in ngx_http_core_content_phase (r=0x8015bd000, ph=0x80156dd30) at src/http/ngx_http_core_module.c:1350
#6  0x0000000000448d15 in ngx_http_core_run_phases (r=0x8015bd000) at src/http/ngx_http_core_module.c:852
#7  0x0000000000448e55 in ngx_http_handler (r=Variable "r" is not available.
) at src/http/ngx_http_core_module.c:835
#8  0x00000000004532fa in ngx_http_process_request (r=0x8015bd000) at src/http/ngx_http_request.c:1641
#9  0x0000000000453c18 in ngx_http_process_request_headers (rev=0x8011df8d0) at src/http/ngx_http_request.c:1084
#10 0x0000000000454211 in ngx_http_process_request_line (rev=0x801702cb0) at src/http/ngx_http_request.c:889
#11 0x000000000045090e in ngx_http_init_request (rev=0x801702cb0) at src/http/ngx_http_request.c:514
#12 0x0000000000446225 in ngx_kqueue_process_events (cycle=0x801126050, timer=Variable "timer" is not available.
) at src/event/modules/ngx_kqueue_module.c:683
#13 0x000000000043c316 in ngx_process_events_and_timers (cycle=0x801126050) at src/event/ngx_event.c:245
#14 0x000000000044345c in ngx_worker_process_cycle (cycle=0x801126050, data=Variable "data" is not available.
) at src/os/unix/ngx_process_cycle.c:795
#15 0x0000000000441e27 in ngx_spawn_process (cycle=0x801126050, proc=0x443360 <ngx_worker_process_cycle>, data=0x0, name=0x578017 "worker process", respawn=-3) at src/os/unix/ngx_process.c:196
#16 0x0000000000442aa9 in ngx_start_worker_processes (cycle=0x801126050, n=1, type=-3) at src/os/unix/ngx_process_cycle.c:355
#17 0x0000000000443c0e in ngx_master_process_cycle (cycle=0x801126050) at src/os/unix/ngx_process_cycle.c:136
#18 0x0000000000426fe3 in main (argc=21, argv=Variable "argv" is not available.
) at src/core/nginx.c:401
(gdb) fr 0
#0  0x000000000048098b in ngx_http_fastcgi_create_request (r=0x8015bd000) at src/http/modules/ngx_http_fastcgi_module.c:954
954                     ch = header[i].key.data[n];
(gdb) p header[i]
$1 = {hash = 34378479760, key = {len = 34378480481, data = 0x0}, value = {len = 0, data = 0x8011df890 "\001\001"}, lowcase_key = 0x8011dfc60 "@-\035\001\b"}

дебаг логи имеются, но т.к. в них сессионники - сюда не выкладываю.
готов их отправить вместе с конфигами отдельно на мыло, если надо.

Спасибо




Подробная информация о списке рассылки nginx-ru