Welcome! Log In Create A New Profile

Advanced

Re: srcache SEGFAULT

agentzh
September 27, 2011 06:58PM
On Tue, Sep 27, 2011 at 5:37 AM, Shaun savage <savages@mozapps.com> wrote:
> srcache crashed again.  I am sorry that I can not debug it more, tell me
> where to look and I can do it.
>
[snip]
>
> #1  0x00000000005039b9 in ngx_http_srcache_body_filter (r=0x836700,
>    in=0x837918)
>    at
> modules/agentzh-srcache-nginx-module-06b7ab4/src/ngx_http_srcache_filter_module.c:407
> #2  0x000000000041a1be in ngx_output_chain (ctx=0x837978, in=0x837918)
>    at src/core/ngx_output_chain.c:65

This segfault was caused by NULL pointer returned it failed to
allocate (that big) memory in ngx_srcache. It has been just fixed in
the devel branch of ngx_srcache:

https://github.com/agentzh/srcache-nginx-module/tree/devel

> 2011/09/27 20:23:01 [debug] 28469#0: *3 memcached filter bytes:44
> size:44 length:6 rest:7
> 2011/09/27 20:23:01 [error] 28469#0: *3 memcached sent invalid trailer
> while reading response header from upstream, client: 127.0.0.1, server:
> localhost, request: "GET /foo HTTP/1.1", subrequest: "/memc", upstream:
> "memcached://127.0.0.1:11211", host: "localhost:9000"

This "memcached sent invalid trailer" error seems like an aleady-fixed
bug in old versions of ngx_memc (and ngx_memcached). Which version of
ngx_memc or ngx_memcached are you using? ngx_memc 0.07+ and
ngx_memcached bundled by nginx 0.8.35+ should not have this issue
fixed. If you're using an older version, please consider upgrading to
the latest one.

Thanks!
-agentzh

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

srcache SEGFAULT

sv 2066 September 27, 2011 08:38AM

Re: srcache SEGFAULT

agentzh 732 September 27, 2011 06:18PM

Re: srcache SEGFAULT

agentzh 832 September 27, 2011 06:58PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 264
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready