Worker dies with a segfault error

Maxim Dounin mdounin at
Tue Mar 4 14:53:56 UTC 2014


On Tue, Mar 04, 2014 at 09:33:56AM -0500, greekduke wrote:

> Hello 
> Finally I managed to get a core dump and below is the output:
> [root at ape-01 nginx]# gdb /usr/local/nginx/sbin/nginx
> /var/log/nginx/core.31000 
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)


> Loaded symbols for /lib64/
> Core was generated by `nginx: worker process                                
>          '.
> Program terminated with signal 11, Segmentation fault.
> #0  ngx_pnalloc (pool=0x0, size=950) at src/core/ngx_palloc.c:155
> 155         if (size <= pool->max) {
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.132.el6.x86_64 nss-softokn-freebl-3.14.3-9.el6.x86_64
> openssl-1.0.1e-15.el6.x86_64 pcre-7.8-6.el6.x86_64 zlib-1.2.3-29.el6.x86_64
> (gdb) 



>                         eval $result {
>                                 postgres_pass     db;
>                                 postgres_query "select cast(count(url) as

Note well that looking at your config suggests that the problem 
is in 3rd party module you use (either eval or postgres).  In your 
original message you've claimed that you have segfaults without 
3rd party modules.  It's a good idea to reproduce the problem 
without 3rd party modules.

Maxim Dounin

More information about the nginx mailing list