memcached upstream: exited on signal 11

Andrey Ignatov andr.pl at gmail.com
Fri Dec 21 08:42:35 MSK 2007


On Thu, Dec 20, 2007 at 08:02:18PM +0300, Andrey Ignatov wrote:
> В gdb следующее:
> 
> ------------------------------------------------------------------------
> #gdb nginx /var/crash/nginx.core.2016
> 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 /usr/local/lib/libpcre.so.0...done.
> Loaded symbols for /usr/local/lib/libpcre.so.0
> Reading symbols from /lib/libz.so.2...done.
> Loaded symbols for /lib/libz.so.2
> Reading symbols from /lib/libc.so.5...done.
> Loaded symbols for /lib/libc.so.5
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x08085c55 in ngx_http_upstream_init (r=0x80b8000) at src/http/ngx_http_upstream.c:435
> 435     src/http/ngx_http_upstream.c: No such file or directory.  in src/http/ngx_http_upstream.c
> (gdb) bt
> #0  0x08085c55 in ngx_http_upstream_init (r=0x80b8000) at src/http/ngx_http_upstream.c:435
> #1  0x0809ae63 in ngx_http_memcached_handler (r=0x80b8000) at src/http/modules/ngx_http_memcached_module.c:221
> #2  0x08070cdc in ngx_http_core_content_phase (r=0x80b8000, ph=0x81519d0)
>     at src/http/ngx_http_core_module.c:896
> #3  0x08070445 in ngx_http_core_run_phases (r=0x80b8000) at src/http/ngx_http_core_module.c:622
> #4  0x080703bd in ngx_http_handler (r=0x80b8000) at src/http/ngx_http_core_module.c:605
> #5  0x0807920d in ngx_http_process_request (r=0x80b8000) at src/http/ngx_http_request.c:1460
> #6  0x080782d9 in ngx_http_process_request_headers (rev=0x8206474) at src/http/ngx_http_request.c:942
> #7  0x08077c36 in ngx_http_process_request_line (rev=0x8206474) at src/http/ngx_http_request.c:750
> #8  0x0807768f in ngx_http_init_request (rev=0x8206474) at src/http/ngx_http_request.c:460
> #9  0x0806328e in ngx_event_process_posted (cycle=0x80b9020, posted=0x80ae5c0)
>     at src/event/ngx_event_posted.c:39
> #10 0x0806179d in ngx_process_events_and_timers (cycle=0x80b9020) at src/event/ngx_event.c:272
> #11 0x0806ac8b in ngx_worker_process_cycle (cycle=0x80b9020, data=0x0) at src/os/unix/ngx_process_cycle.c:767
> #12 0x08068c64 in ngx_spawn_process (cycle=0x80b9020, proc=0x806ab34 <ngx_worker_process_cycle>, data=0x0,
>     name=0x80a033c "worker process", respawn=-2) at src/os/unix/ngx_process.c:187
> #13 0x0806a18f in ngx_start_worker_processes (cycle=0x80b9020, n=2, type=-2)
>     at src/os/unix/ngx_process_cycle.c:332
> #14 0x08069a47 in ngx_master_process_cycle (cycle=0x80b9020) at src/os/unix/ngx_process_cycle.c:124
> #15 0x0804a08f in main (argc=1, argv=0xbfbfeca8) at src/core/nginx.c:355
> (gdb)
> ------------------------------------------------------------------------

Я не программирую на C и плохо знаком с gdb, но возможно вот это будет
полезным:

(gdb) p uscf
$1 = (ngx_http_upstream_srv_conf_t *) 0x0
(gdb) p r
$2 = (ngx_http_request_t *) 0x80b8000
(gdb)

Это из той же корки.

-- 
Andrey Ignatov
Skript, System administrator





More information about the nginx-ru mailing list