# Nginx keeps crashing

**URL:** <https://www.ruby-forum.com/t/nginx-keeps-crashing/227961>\
**Category:** NGINX\
**Created:** [April 4, 2013, 4:22pm UTC](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961 "2013-04-04T16:22:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankurs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9c0ed/32.png) [@ankurs](https://www.ruby-forum.com/u/ankurs)\
**Post date:** [April 4, 2013, 4:22pm UTC](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961/1 "2013-04-04T16:22:42Z")

</div>

\*\*\* glibc detected \*\*\* nginx: worker process: double free or corruption  
(!prev): 0x0000000008281500 \*\*\*  
======= 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  
00691000-006a1000 rw-p 00091000 41:13 2362864  
/usr/local/nginx/sbin/nginx  
006a1000-006b0000 rw-p 00000000 00:00 0  
01909000-01a2f000 rw-p 00000000 00:00 0  
01a2f000-01b39000 rw-p 00000000 00:00 0  
01b39000-0fae3000 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  
7f10da25f000-7f10da45e000 —p 00007000 41:13 2361574  
/usr/local/lib64/perl5/auto/nginx/nginx.so  
7f10da45e000-7f10da45f000 rw-p 00006000 41:13 2361574  
/usr/local/lib64/perl5/auto/nginx/nginx.so  
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]

* * *

[root@localhost sbin]# ./nginx -V  
nginx version: nginx/1.2.7  
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 --add-module=nginx\_mod\_h264\_streaming/

* * *

worker\_processes 4;

worker\_rlimit\_nofile 20480;  
worker\_rlimit\_sigpending 62768;

#error\_log logs/error.log;  
#error\_log logs/error.log notice;  
error\_log logs/error.log info;

#pid logs/nginx.pid;

events {  
worker\_connections 5120;  
}

http {  
include mime.types;  
default\_type application/octet-stream;

```
log_format xfstube

```

‘$arg\_id|$arg\_usr|$arg\_dmode|$remote\_addr|$body\_bytes\_sent|$arg\_embed|$status’;

```
error_log logs/error.log error;
limit_conn_log_level warn;

access_log off;

#sendfile on;
#tcp_nopush on;

keepalive_timeout 0;
#keepalive_timeout 65;

#gzip on;

limit_conn_zone $binary_remote_addr zone=addr:100m;
limit_conn_zone $binary_remote_addr zone=one:100m;

perl_modules perl;
perl_require somefile.pm;

perl_modules perl;
perl_require somefile.pm;

include sites/*.conf;

```

}

* * *

What could be causing this crash ? also is --with-http\_mp4\_module stable  
enough to be replace h264.code-shop module.

Any help to fix this would be greatly appreciated.

Posted at Nginx Forum:

> **[nginx keeps crashing](https://forum.nginx.org/read.php?2,238109,238109#msg-238109)**
>
> \*\*\* glibc detected \*\*\* nginx: worker process: double free or corruption (!prev): 0x0000000008281500 \*\*\* ======= Backtrace: ========= /lib64/libc.so.6(+0x760e6)\[0x7f10da7370e6\] /lib64/libc.so.6(+0x78c13)\[0x7f10da739c13\]...

---

<div class="post-metadata">

**Author:** ![ankurs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9c0ed/32.png) [@ankurs](https://www.ruby-forum.com/u/ankurs)\
**Post date:** [April 4, 2013, 4:49pm UTC](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961/2 "2013-04-04T16:49:36Z")

</div>

Hello!

On Thu, Apr 04, 2013 at 10:21:57AM -0400, ankurs wrote:

[…]

> [root@localhost sbin]# ./nginx -V  
> nginx version: nginx/1.2.7  
> 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 --add-module=nginx\_mod\_h264\_streaming/

First of all I would recommend to test if you are able to  
reproduce the problem without 3rd party modules compiled in.

General debugging hints may be found here:

> **[Debugging | NGINX](https://www.nginx.com/resources/wiki/start/topics/tutorials/debugging/)**
>
> This tutorial explains how to use some of NGINX's essential debugging features.

> What could be causing this crash ? also is --with-http\_mp4\_module stable  
> enough to be replace h264.code-shop module.

The mp4 module is stable enough and has no known problems.

–  
Maxim D.  
[http://nginx.org/en/donation.html](http://nginx.org/en/donation.html)

---

<div class="post-metadata">

**Author:** ![ankurs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9c0ed/32.png) [@ankurs](https://www.ruby-forum.com/u/ankurs)\
**Post date:** [April 5, 2013, 4:13pm UTC](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961/3 "2013-04-05T16:13:42Z")

</div>

Hello,

Thanks Maxim for looking into my issue.

I recompiled nginx with no 3rd party module & debugging enabled.

[root@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:

> **[Re: nginx keeps crashing](https://forum.nginx.org/read.php?2,238109,238144#msg-238144)**
>
> \*\*\* glibc detected \*\*\* nginx: worker process: double free or corruption (!prev): 0x0000000008281500 \*\*\* ======= Backtrace: ========= /lib64/libc.so.6(+0x760e6)\[0x7f10da7370e6\] /lib64/libc.so.6(+0x78c13)\[0x7f10da739c13\]...

---

<div class="post-metadata">

**Author:** ![ankurs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9c0ed/32.png) [@ankurs](https://www.ruby-forum.com/u/ankurs)\
**Post date:** [April 5, 2013, 8:02pm UTC](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961/4 "2013-04-05T20:02:52Z")

</div>

> there is no nginx.core file found in /home/core/ , thats the path specified  
> in nginx.conf

Make sure:

- /home/core/ is writable (chmod a+w)
- ulimit is configured correctly
- fs.suid\_dumpable is ok?

You can read more about it here:  
[http://www.cyberciti.biz/tips/linux-core-dumps.html](http://www.cyberciti.biz/tips/linux-core-dumps.html)

---

<div class="post-metadata">

**Author:** ![ankurs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e9c0ed/32.png) [@ankurs](https://www.ruby-forum.com/u/ankurs)\
**Post date:** [April 5, 2013, 9:47pm UTC](https://www.ruby-forum.com/t/nginx-keeps-crashing/227961/5 "2013-04-05T21:47:28Z")

</div>

Hello!

On Fri, Apr 05, 2013 at 10:13:24AM -0400, ankurs wrote:

> –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

[…]

> ======= 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

It looks like you forgot to restart (or upgrade binary on the  
fly), and old nginx with 3rd party modules is still running.

–  
Maxim D.  
[http://nginx.org/en/donation.html](http://nginx.org/en/donation.html)
