Valgrind error in nginx 1.5.9

Yichun Zhang (agentzh) agentzh at gmail.com
Thu Mar 6 00:55:59 UTC 2014


Hello!

My EC2 test cluster caught a valgrind error in nginx 1.5.9 recently which
I cannot easily reproduce by hand. Just FYI :)

==28619== Invalid read of size 1
==28619== at 0x426B11: ngx_init_cycle (ngx_cycle.c:535)
==28619== by 0x437DA1: ngx_master_process_cycle (ngx_process_cycle.c:240)
==28619== by 0x419689: main (nginx.c:407)
==28619== Address 0x7f4bae9 is 23 bytes before a block of size 17 alloc'd
==28619== at 0x4C276FC: malloc (vg_replace_malloc.c:270)
==28619== by 0x433185: ngx_alloc (ngx_alloc.c:22)
==28619== by 0x41A980: ngx_malloc (ngx_palloc.c:124)
==28619== by 0x41A9D8: ngx_pnalloc (ngx_palloc.c:152)
==28619== by 0x426386: ngx_init_cycle (ngx_cycle.c:202)
==28619== by 0x437DA1: ngx_master_process_cycle (ngx_process_cycle.c:240)
==28619== by 0x419689: main (nginx.c:407)
==28619==

Thanks!
-agentzh



More information about the nginx-devel mailing list