Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memcached upstream: exited on signal 11
- To: nginx-ru@xxxxxxxxx
- Subject: Re: memcached upstream: exited on signal 11
- From: Andrey Ignatov <andr.pl@xxxxxxxxx>
- Date: Fri, 21 Dec 2007 08:42:35 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent:x-useless-header; bh=Xoup6Xd1GALiHnmS8nSlhRYZoCnAF8ICt7ltOoj/Fxs=; b=FOPNE3uLqEe3YgIvlljlRIOfvcaGas05lw7+/mQK4e5Esr03fOrXD2/k7xFhKdUrpXDEgDq9purHInMlfgJuKyvwNujf12PHmPsGZBuA22uhdBpE+Lzg0ky4x6l+7Wk2dhY4vOkYdXw9Ww8FdwV5+EXZYoi2bZD/D4EU9qJCrAM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent:x-useless-header; b=e8zULC376LoMo1fKfvTFFtnRMjs27VPGzELRk9lvW6PB6YZV1P9Hv7xZ+hz5cF2JigLJjHD0uy9NjOfhb0myFRUBrLnFDSc/SF1yfNbCPSQp/zoEhUlxtnI9utLs2s15quWz4nZ0v35DDOFkbHBaD0CKif85ej5Y9jojVf3utfU=
- In-reply-to: <20071220170218.GA6185@xxxxxx>
- References: <20071220170218.GA6185@xxxxxx>
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
|