srcache Crash

agentzh agentzh at gmail.com
Sun Sep 25 07:16:46 UTC 2011


On Sun, Sep 25, 2011 at 9:37 AM, Shaun savage <savages at savages.com> wrote:
>
> I know now that the configuration is wrong, but it still crashed.  I am
> just starting to learn about nginx.
>

Can you show me the output of the  "/path/to/nginx -V" command on your side?

>
> but if I try just
>        content_by_lua_file /var/www/nginx/hello.lua;
>
> I get no body
>

What's in our hello.lua and what does your error.log say in this case?

>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000005008b0 in ngx_http_srcache_add_copy_chain (pool=0x77c630,
>    chain=0x77d2b0, in=0x773fe0)
>    at
> modules/agentzh-srcache-nginx-module-06b7ab4/src/ngx_http_srcache_util.c:257
> 257                    cl->buf->last = ngx_copy(cl->buf->pos,
> in->buf->pos, len);
> (gdb)
>

I'd look into this when you provide more information :)

Thanks!
-agentzh



More information about the nginx-devel mailing list