корка

Domrachev Ivan domrachev.ivan на gmail.com
Пт Янв 13 06:33:40 UTC 2012


Приветствую.

вывалилась корка.
дебаг логов нет, т.к. не знаю как воспроизвести.

# uname -a
FreeBSD d.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

# /usr/local/nginx/sbin/nginx -v
nginx version: nginx/1.0.11

# gdb /usr/local/nginx/sbin/nginx ./nginx.core.25474
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.5...done.
Loaded symbols for /lib/libcrypt.so.5
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.6...done.
Loaded symbols for /usr/lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /lib/libz.so.5...done.
Loaded symbols for /lib/libz.so.5
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 /usr/local/perl-5.10/lib/5.10.1//amd64-freebsd-thread-multi/auto/MIME/Base64/Base64.so...done.
Loaded symbols for /usr/local/perl-5.10/lib/5.10.1//amd64-freebsd-thread-multi/auto/MIME/Base64/Base64.so
Reading symbols from /usr/local/perl-5.10/lib/5.10.1//amd64-freebsd-thread-multi/auto/Digest/MD5/MD5.so...done.
Loaded symbols for /usr/local/perl-5.10/lib/5.10.1//amd64-freebsd-thread-multi/auto/Digest/MD5/MD5.so
Reading symbols from /usr/local/perl-5.10/lib/site_perl/5.10.1/amd64-freebsd-thread-multi/auto/JSON/XS/XS.so...done.
Loaded symbols for /usr/local/perl-5.10/lib/site_perl/5.10.1/amd64-freebsd-thread-multi/auto/JSON/XS/XS.so
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000000473c54 in ngx_http_file_cache_free (c=0x8014cb020, tf=0x0)
    at src/http/ngx_http_file_cache.c:930
930             ngx_queue_remove(&fcn->queue);
[New Thread 8014041c0 (LWP 100157)]
(gdb) bt
#0  0x0000000000473c54 in ngx_http_file_cache_free (c=0x8014cb020, tf=0x0)
    at src/http/ngx_http_file_cache.c:930
#1  0x000000000046892e in ngx_http_upstream_finalize_request (r=0x801530600, u=0x801514a60, rc=-1)
    at src/http/ngx_http_upstream.c:3014
#2  0x000000000046be92 in ngx_http_upstream_process_header (r=0x801530600, u=0x801514a60)
    at src/http/ngx_http_upstream.c:2028
#3  0x000000000046961a in ngx_http_upstream_handler (ev=0x8015d4ab0)
    at src/http/ngx_http_upstream.c:917
#4  0x000000000044a4d5 in ngx_kqueue_process_events (cycle=0x801443050, timer=Variable "timer" is not available.
)
    at src/event/modules/ngx_kqueue_module.c:683
#5  0x0000000000440496 in ngx_process_events_and_timers (cycle=0x801443050)
    at src/event/ngx_event.c:245
#6  0x000000000044771c in ngx_worker_process_cycle (cycle=0x801443050, data=Variable "data" is not available.
)
    at src/os/unix/ngx_process_cycle.c:801
#7  0x00000000004460c7 in ngx_spawn_process (cycle=0x801443050,
    proc=0x447620 <ngx_worker_process_cycle>, data=0x0, name=0x586bff "worker process", respawn=-3)
    at src/os/unix/ngx_process.c:196
#8  0x0000000000446d69 in ngx_start_worker_processes (cycle=0x801443050, n=1, type=-3)
    at src/os/unix/ngx_process_cycle.c:360
#9  0x0000000000447ece in ngx_master_process_cycle (cycle=0x801443050)
    at src/os/unix/ngx_process_cycle.c:136
#10 0x000000000042a31b in main (argc=21, argv=Variable "argv" is not available.
) at src/core/nginx.c:411
(gdb)

из чужих модулей только nginx_upload_module-2.2.0.
опции компиляции надо?
саму корку+бинарник надо?
конфиги надо?



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