nginx keeps crashing
ankurs
nginx-forum at nginx.us
Fri Apr 5 14:13:24 UTC 2013
Hello,
Thanks Maxim for looking into my issue.
I recompiled nginx with no 3rd party module & debugging enabled.
[root at localhost sbin]# ./nginx -V
nginx version: nginx/1.2.8
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
configure arguments: --with-http_stub_status_module --with-http_perl_module
--with-http_flv_module --with-http_mp4_module --with-debug
there is no nginx.core file found in /home/core/ , thats the path specified
in nginx.conf
but i still keep seeing
*** glibc detected *** nginx: worker process: double free or corruption
(!prev): 0x0000000008915030 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x760e6)[0x7f10da7370e6]
/lib64/libc.so.6(+0x78c13)[0x7f10da739c13]
/lib64/libc.so.6(fclose+0x14d)[0x7f10da72774d]
nginx: worker process[0x46db59]
nginx: worker process[0x46e578]
nginx: worker process[0x46b2f7]
nginx: worker process(ngx_http_core_content_phase+0x2c)[0x430734]
nginx: worker process(ngx_http_core_run_phases+0x23)[0x42b4d3]
nginx: worker process(ngx_http_handler+0xd6)[0x42b5cd]
nginx: worker process(ngx_http_internal_redirect+0x132)[0x42f7b7]
nginx: worker process(ngx_http_perl_handle_request+0x1a0)[0x468423]
nginx: worker process[0x468492]
nginx: worker process(ngx_http_core_content_phase+0x2c)[0x430734]
nginx: worker process(ngx_http_core_run_phases+0x23)[0x42b4d3]
nginx: worker process(ngx_http_handler+0xd6)[0x42b5cd]
nginx: worker process[0x434bf6]
nginx: worker process[0x4351da]
nginx: worker process[0x435711]
nginx: worker process[0x432fbf]
nginx: worker process(ngx_event_process_posted+0x36)[0x42139a]
nginx: worker process(ngx_process_events_and_timers+0x115)[0x42126a]
nginx: worker process[0x426e63]
nginx: worker process(ngx_spawn_process+0x43d)[0x4257b4]
nginx: worker process(ngx_master_process_cycle+0x42b)[0x4275ff]
nginx: worker process(main+0xa0b)[0x40d012]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f10da6dfcdd]
nginx: worker process[0x40b829]
======= Memory map: ========
00400000-00492000 r-xp 00000000 41:13 2362864
/usr/local/nginx/sbin/nginx.old
00691000-006a1000 rw-p 00091000 41:13 2362864
/usr/local/nginx/sbin/nginx.old
006a1000-006b0000 rw-p 00000000 00:00 0
01909000-01a2f000 rw-p 00000000 00:00 0
01a2f000-01b32000 rw-p 00000000 00:00 0
01b32000-129d5000 rw-p 00000000 00:00 0
7f10cc043000-7f10d2443000 rw-s 00000000 00:04 1313229410
/dev/zero (deleted)
7f10d2443000-7f10d8843000 rw-s 00000000 00:04 1313229409
/dev/zero (deleted)
7f10d9a24000-7f10d9a3a000 r-xp 00000000 41:13 1310732
/lib64/libgcc_s-4.4.7-20120601.so.1
7f10d9a3a000-7f10d9c39000 ---p 00016000 41:13 1310732
/lib64/libgcc_s-4.4.7-20120601.so.1
7f10d9c39000-7f10d9c3a000 rw-p 00015000 41:13 1310732
/lib64/libgcc_s-4.4.7-20120601.so.1
7f10d9c43000-7f10d9c4f000 r-xp 00000000 41:13 1311021
/lib64/libnss_files-2.12.so
7f10d9c4f000-7f10d9e4f000 ---p 0000c000 41:13 1311021
/lib64/libnss_files-2.12.so
7f10d9e4f000-7f10d9e50000 r--p 0000c000 41:13 1311021
/lib64/libnss_files-2.12.so
7f10d9e50000-7f10d9e51000 rw-p 0000d000 41:13 1311021
/lib64/libnss_files-2.12.so
7f10d9e51000-7f10d9e54000 r-xp 00000000 41:13 2757508
/usr/lib64/perl5/auto/MIME/Base64/Base64.so
7f10d9e54000-7f10da053000 ---p 00003000 41:13 2757508
/usr/lib64/perl5/auto/MIME/Base64/Base64.so
7f10da053000-7f10da054000 rw-p 00002000 41:13 2757508
/usr/lib64/perl5/auto/MIME/Base64/Base64.so
7f10da054000-7f10da058000 r-xp 00000000 41:13 2625506
/usr/lib64/perl5/auto/Digest/MD5/MD5.so
7f10da058000-7f10da257000 ---p 00004000 41:13 2625506
/usr/lib64/perl5/auto/Digest/MD5/MD5.so
7f10da257000-7f10da258000 rw-p 00003000 41:13 2625506
/usr/lib64/perl5/auto/Digest/MD5/MD5.so
7f10da258000-7f10da25f000 r-xp 00000000 41:13 2361574
/usr/local/lib64/perl5/auto/nginx/nginx.so (deleted)
7f10da25f000-7f10da45e000 ---p 00007000 41:13 2361574
/usr/local/lib64/perl5/auto/nginx/nginx.so (deleted)
7f10da45e000-7f10da45f000 rw-p 00006000 41:13 2361574
/usr/local/lib64/perl5/auto/nginx/nginx.so (deleted)
7f10da45f000-7f10da4bc000 r-xp 00000000 41:13 1310726
/lib64/libfreebl3.so
7f10da4bc000-7f10da6bb000 ---p 0005d000 41:13 1310726
/lib64/libfreebl3.so
7f10da6bb000-7f10da6bc000 r--p 0005c000 41:13 1310726
/lib64/libfreebl3.so
7f10da6bc000-7f10da6bd000 rw-p 0005d000 41:13 1310726
/lib64/libfreebl3.so
7f10da6bd000-7f10da6c1000 rw-p 00000000 00:00 0
7f10da6c1000-7f10da84b000 r-xp 00000000 41:13 1310730
/lib64/libc-2.12.so
7f10da84b000-7f10daa4a000 ---p 0018a000 41:13 1310730
/lib64/libc-2.12.so
7f10daa4a000-7f10daa4e000 r--p 00189000 41:13 1310730
/lib64/libc-2.12.so
7f10daa4e000-7f10daa4f000 rw-p 0018d000 41:13 1310730
/lib64/libc-2.12.so
7f10daa4f000-7f10daa54000 rw-p 00000000 00:00 0
7f10daa54000-7f10daa56000 r-xp 00000000 41:13 1311077
/lib64/libutil-2.12.so
7f10daa56000-7f10dac55000 ---p 00002000 41:13 1311077
/lib64/libutil-2.12.so
7f10dac55000-7f10dac56000 r--p 00001000 41:13 1311077
/lib64/libutil-2.12.so
7f10dac56000-7f10dac57000 rw-p 00002000 41:13 1311077
/lib64/libutil-2.12.so
7f10dac57000-7f10dacda000 r-xp 00000000 41:13 1310761
/lib64/libm-2.12.so
7f10dacda000-7f10daed9000 ---p 00083000 41:13 1310761
/lib64/libm-2.12.so
7f10daed9000-7f10daeda000 r--p 00082000 41:13 1310761
/lib64/libm-2.12.so
7f10daeda000-7f10daedb000 rw-p 00083000 41:13 1310761
/lib64/libm-2.12.so
7f10daedb000-7f10daedd000 r-xp 00000000 41:13 1310757
/lib64/libdl-2.12.so
7f10daedd000-7f10db0dd000 ---p 00002000 41:13 1310757
/lib64/libdl-2.12.so
7f10db0dd000-7f10db0de000 r--p 00002000 41:13 1310757
/lib64/libdl-2.12.so
7f10db0de000-7f10db0df000 rw-p 00003000 41:13 1310757
/lib64/libdl-2.12.so
7f10db0df000-7f10db0f5000 r-xp 00000000 41:13 1310798
/lib64/libnsl-2.12.so
7f10db0f5000-7f10db2f4000 ---p 00016000 41:13 1310798
/lib64/libnsl-2.12.so
7f10db2f4000-7f10db2f5000 r--p 00015000 41:13 1310798
/lib64/libnsl-2.12.so
7f10db2f5000-7f10db2f6000 rw-p 00016000 41:13 1310798
/lib64/libnsl-2.12.so
7f10db2f6000-7f10db2f8000 rw-p 00000000 00:00 0
7f10db2f8000-7f10db30e000 r-xp 00000000 41:13 1311069
/lib64/libresolv-2.12.so
7f10db30e000-7f10db50e000 ---p 00016000 41:13 1311069
/lib64/libresolv-2.12.so
7f10db50e000-7f10db50f000 r--p 00016000 41:13 1311069
/lib64/libresolv-2.12.so
7f10db50f000-7f10db510000 rw-p 00017000 41:13 1311069
/lib64/libresolv-2.12.so
7f10db510000-7f10db512000 rw-p 00000000 00:00 0
7f10db512000-7f10db674000 r-xp 00000000 41:13 2359842
/usr/lib64/perl5/CORE/libperl.so
7f10db674000-7f10db874000 ---p 00162000 41:13 2359842
/usr/lib64/perl5/CORE/libperl.so
7f10db874000-7f10db87d000 rw-p 00162000 41:13 2359842
/usr/lib64/perl5/CORE/libperl.so
7f10db87d000-7f10db892000 r-xp 00000000 41:13 1310783
/lib64/libz.so.1.2.3
7f10db892000-7f10dba91000 ---p 00015000 41:13 1310783
/lib64/libz.so.1.2.3
7f10dba91000-7f10dba92000 r--p 00014000 41:13 1310783
/lib64/libz.so.1.2.3
7f10dba92000-7f10dba93000 rw-p 00015000 41:13 1310783
/lib64/libz.so.1.2.3
7f10dba93000-7f10dbc07000 r-xp 00000000 41:13 2361229
/usr/lib64/libcrypto.so.1.0.0
7f10dbc07000-7f10dbe06000 ---p 00174000 41:13 2361229
/usr/lib64/libcrypto.so.1.0.0
7f10dbe06000-7f10dbe1f000 r--p 00173000 41:13 2361229
/usr/lib64/libcrypto.so.1.0.0
7f10dbe1f000-7f10dbe29000 rw-p 0018c000 41:13 2361229
/usr/lib64/libcrypto.so.1.0.0
7f10dbe29000-7f10dbe2d000 rw-p 00000000 00:00 0
7f10dbe2d000-7f10dbe59000 r-xp 00000000 41:13 1310821
/lib64/libpcre.so.0.0.1
7f10dbe59000-7f10dc058000 ---p 0002c000 41:13 1310821
/lib64/libpcre.so.0.0.1
7f10dc058000-7f10dc059000 rw-p 0002b000 41:13 1310821
/lib64/libpcre.so.0.0.1
7f10dc059000-7f10dc060000 r-xp 00000000 41:13 1310749
/lib64/libcrypt-2.12.so
7f10dc060000-7f10dc260000 ---p 00007000 41:13 1310749
/lib64/libcrypt-2.12.so
7f10dc260000-7f10dc261000 r--p 00007000 41:13 1310749
/lib64/libcrypt-2.12.so
7f10dc261000-7f10dc262000 rw-p 00008000 41:13 1310749
/lib64/libcrypt-2.12.so
7f10dc262000-7f10dc290000 rw-p 00000000 00:00 0
7f10dc290000-7f10dc2a7000 r-xp 00000000 41:13 1310754
/lib64/libpthread-2.12.so
7f10dc2a7000-7f10dc4a7000 ---p 00017000 41:13 1310754
/lib64/libpthread-2.12.so
7f10dc4a7000-7f10dc4a8000 r--p 00017000 41:13 1310754
/lib64/libpthread-2.12.so
7f10dc4a8000-7f10dc4a9000 rw-p 00018000 41:13 1310754
/lib64/libpthread-2.12.so
7f10dc4a9000-7f10dc4ad000 rw-p 00000000 00:00 0
7f10dc4ad000-7f10dc4cd000 r-xp 00000000 41:13 1310723
/lib64/ld-2.12.so
7f10dc4cd000-7f10dc6ba000 rw-p 00000000 00:00 0
7f10dc6ba000-7f10dc6c2000 rw-p 00000000 00:00 0
7f10dc6c9000-7f10dc6ca000 rw-p 00000000 00:00 0
7f10dc6ca000-7f10dc6cb000 rw-s 00000000 00:04 1292546255
/dev/zero (deleted)
7f10dc6cb000-7f10dc6cc000 rw-p 00000000 00:00 0
7f10dc6cc000-7f10dc6cd000 r--p 0001f000 41:13 1310723
/lib64/ld-2.12.so
7f10dc6cd000-7f10dc6ce000 rw-p 00020000 41:13 1310723
/lib64/ld-2.12.so
7f10dc6ce000-7f10dc6cf000 rw-p 00000000 00:00 0
7fffe48ca000-7fffe48df000 rw-p 00000000 00:00 0
[stack]
7fffe494c000-7fffe494d000 r-xp 00000000 00:00 0
[vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
[vsyscall]
2013/04/05 16:14:15 [notice] 1641#0: signal 17 (SIGCHLD) received
2013/04/05 16:14:15 [alert] 1641#0: worker process 16572 exited on signal 6
2013/04/05 16:14:15 [notice] 1641#0: start worker process 16621
2013/04/05 16:14:15 [notice] 1641#0: signal 29 (SIGIO) received
2013/04/05 16:15:01 [notice] 1641#0: signal 10 (SIGUSR1) received, reopening
logs
2013/04/05 16:15:01 [notice] 1641#0: reopening logs
2013/04/05 16:15:01 [notice] 16621#0: signal 10 (SIGUSR1) received,
reopening logs
2013/04/05 16:15:01 [notice] 16151#0: signal 10 (SIGUSR1) received,
reopening logs
2013/04/05 16:15:01 [notice] 16159#0: signal 10 (SIGUSR1) received,
reopening logs
2013/04/05 16:15:01 [notice] 13549#0: signal 10 (SIGUSR1) received,
reopening logs
2013/04/05 16:15:01 [notice] 14649#0: signal 10 (SIGUSR1) received,
reopening logs
2013/04/05 16:15:01 [notice] 16573#0: signal 10 (SIGUSR1) received,
reopening logs
2013/04/05 16:15:01 [notice] 13549#0: reopening logs
2013/04/05 16:15:01 [notice] 14657#0: signal 10 (SIGUSR1) received,
reopening logs
2013/04/05 16:15:01 [notice] 16573#0: reopening logs
2013/04/05 16:15:01 [notice] 16151#0: reopening logs
2013/04/05 16:15:01 [notice] 16573#0: reopening logs
2013/04/05 16:15:01 [notice] 14168#0: signal 10 (SIGUSR1) received,
reopening logs
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238109,238144#msg-238144
More information about the nginx
mailing list