i use valgrind to check memory leak, and have detected some error:
==2243== Invalid write of size 1
==2243==at 0x4A08088: memcpy (mc_replace_strmem.c:628)
==2243==by 0x4448C9: ngx_http_proxy_subs_headers
(ngx_http_proxy_subs_filter.c:149)
==2243==by 0x45B2FB: ngx_http_proxy_create_requ
thanks, i will try as you mention and report it on forum.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,237393,237397#msg-237397
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Fri, Mar 15, 2013 at 04:39:03AM -0400, honwel wrote:
> hi
> on centos 6, nginx-1.2.2, nginx was compiled with:
> --prefix=/usr/local/nginx --user=root --group=root --with-http_ssl_module
> --with-ipv6 --with-pcre=/home/nginx/src/pcre-8.20
> --with-openssl=/home/nginx/src/openssl-1.0
file, and
workprcess hungs):
*** glibc detected *** nginx: worker process: malloc(): memory corruption:
0x00b6bdb0 ***
pstark info:
[root@rs1 sbin]# pstack 30803
#0 0x003eb160cb1b in pthread_once () from /lib64/libpthread.so.0
#1 0x003eb0efe954 in backtrace () from /lib64/libc.so