nginx segfaults on CentOS 64 bit

Franchoze Eric franchoze at
Wed Sep 8 17:43:07 MSD 2010

Igor and Maxim, 

all stack traces I reported before were caused by glibc bug in CentOS that corrupted memory. It was the reason on nginx faul in random place. I's sorry for taking your time and thanks for loooking into this issue.

In CentOs MALLOC_CHECK_ is enabled by default. And causes memory corruption for applications.

More info is here:

Patch to fix it is here: 

So it's possible to fix glibc or export MALLOC_CHECK_=3 to avoid random crashes (which unfirtunatelly began happen after enabling cache).

More information about the nginx-devel mailing list