Double free or corruption

vejpuste nginx-forum at nginx.us
Mon Sep 12 14:22:25 UTC 2011


Hello,

after start nginx error.log contains :

*** glibc detected *** nginx: master process /usr/local/nginx/sbin/nginx
-c /usr/local/nginx/conf/nginx.conf: double free or corruption (out):
0x09f24128 ***
======= Backtrace: =========
/lib/libc.so.6[0x5f46c5]
/lib/libc.so.6(cfree+0x59)[0x5f4b09]
nginx: master process /usr/local/nginx/sbin/nginx -c
/usr/local/nginx/conf/nginx.conf[0x80cfdc7]
[0x9f17ec0]
======= Memory map: ========
002d9000-002da000 r-xp 002d9000 00:00 0          [vdso]
00352000-00353000 rwxp 00352000 00:00 0
00539000-00554000 r-xp 00000000 fd:00 950349     /lib/ld-2.5.so
00554000-00555000 r-xp 0001a000 fd:00 950349     /lib/ld-2.5.so
00555000-00556000 rwxp 0001b000 fd:00 950349     /lib/ld-2.5.so
00583000-00586000 r-xp 00000000 fd:00 953074     /lib/libdl-2.5.so
00586000-00587000 r-xp 00002000 fd:00 953074     /lib/libdl-2.5.so
00587000-00588000 rwxp 00003000 fd:00 953074     /lib/libdl-2.5.so
0058b000-006de000 r-xp 00000000 fd:00 950482     /lib/libc-2.5.so
006de000-006e0000 r-xp 00153000 fd:00 950482     /lib/libc-2.5.so
006e0000-006e1000 rwxp 00155000 fd:00 950482     /lib/libc-2.5.so
006e1000-006e4000 rwxp 006e1000 00:00 0
006e6000-006fb000 r-xp 00000000 fd:00 953068     /lib/libpthread-2.5.so
006fb000-006fc000 r-xp 00015000 fd:00 953068     /lib/libpthread-2.5.so
006fc000-006fd000 rwxp 00016000 fd:00 953068     /lib/libpthread-2.5.so
006fd000-006ff000 rwxp 006fd000 00:00 0
00701000-00713000 r-xp 00000000 fd:00 498522     /usr/lib/libz.so.1.2.3
00713000-00714000 rwxp 00011000 fd:00 498522     /usr/lib/libz.so.1.2.3
0075c000-0077b000 r-xp 00000000 fd:00 950493     /lib/libpcre.so.0.0.1
0077b000-0077c000 rwxp 0001e000 fd:00 950493     /lib/libpcre.so.0.0.1
00888000-00889000 rwxp 00888000 00:00 0
009a8000-009a9000 rwxp 009a8000 00:00 0
00b24000-00b2e000 r-xp 00000000 fd:00 951090    
/lib/libnss_files-2.5.so
00b2e000-00b2f000 r-xp 00009000 fd:00 951090    
/lib/libnss_files-2.5.so
00b2f000-00b30000 rwxp 0000a000 fd:00 951090    
/lib/libnss_files-2.5.so
00bb9000-00bba000 rwxs 00000000 00:09 17874      /dev/zero (deleted)
03248000-03253000 r-xp 00000000 fd:00 951429    
/lib/libgcc_s-4.1.2-20080825.so.1
03253000-03254000 rwxp 0000a000 fd:00 951429    
/lib/libgcc_s-4.1.2-20080825.so.1
035fd000-03606000 r-xp 00000000 fd:00 953152     /lib/libcrypt-2.5.so
03606000-03607000 r-xp 00008000 fd:00 953152     /lib/libcrypt-2.5.so
03607000-03608000 rwxp 00009000 fd:00 953152     /lib/libcrypt-2.5.so
03608000-0362f000 rwxp 03608000 00:00 0
08048000-081ee000 r-xp 00000000 fd:00 527526    
/usr/local/nginx/sbin/nginx
081ee000-081ff000 rwxp 001a5000 fd:00 527526    
/usr/local/nginx/sbin/nginx
081ff000-0820d000 rwxp 081ff000 00:00 0
09f14000-09f58000 rwxp 09f14000 00:00 0          [heap]
bfebc000-bfed1000 rwxp bffe9000 00:00 0          [stack]


nginx working.

CentOS 5.6 x86_64 kernel 2.6.18-238.19.1.el5PAE,

 /usr/local/nginx/sbin/nginx -V
nginx: nginx version: nginx/1.0.6
nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
nginx: TLS SNI support enabled
nginx: configure arguments: --with-http_stub_status_module
--with-http_ssl_module
--with-openssl=/root/src/Apache/Apache2/openssl-1.0.0d

Thanks,

Libor

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,215119,215119#msg-215119



More information about the nginx mailing list