Nginx "Segementation Fault" - dont know where to start

Hi all,

I am trying to compile version 1.4.4 with a couple of modules, and I
have a clean compile that runs on the test system just fine. However
when I run it on the production server it crashes with “Segmentation
Fault” when the service is restarted.

There is nothing helpful in the logs that I can find - only the normal
background stuff, and the odd script kiddie looking for attack points.

The old config (version 1.2.6) was.

Configuration summary

  • using system PCRE library
  • using system OpenSSL library
  • md5: using OpenSSL library
  • sha1: using OpenSSL library
  • using system zlib library

nginx path prefix: “/usr/local/nginx”
nginx binary file: “/usr/sbin”
nginx configuration prefix: “/etc/nginx”
nginx configuration file: “/etc/nginx/nginx.conf”
nginx pid file: “/usr/local/nginx/nginx.pid”
nginx error log file: “/usr/local/nginx/logs/error.log”
nginx http access log file: “/usr/local/nginx/logs/access.log”
nginx http client request body temporary files: “client_body_temp”
nginx http proxy temporary files: “proxy_temp”
nginx http fastcgi temporary files: “fastcgi_temp”
nginx http uwsgi temporary files: “uwsgi_temp”
nginx http scgi temporary files: “scgi_temp”

The new config summary with version 1.4.4. is

Configuration summary

  • using system PCRE library
  • using system OpenSSL library
  • md5: using OpenSSL library
  • sha1: using OpenSSL library
  • using system zlib library

nginx path prefix: “/usr/local/nginx”
nginx binary file: “/usr/sbin”
nginx configuration prefix: “/etc/nginx”
nginx configuration file: “/etc/nginx/nginx.conf”
nginx pid file: “/usr/local/nginx/nginx.pid”
nginx error log file: “/usr/local/nginx/logs/error.log”
nginx http access log file: “/usr/local/nginx/logs/access.log”
nginx http client request body temporary files: “client_body_temp”
nginx http proxy temporary files: “proxy_temp”
nginx http fastcgi temporary files: “fastcgi_temp”
nginx http uwsgi temporary files: “uwsgi_temp”
nginx http scgi temporary files: “scgi_temp”

uname -a on the test server gives
Linux anake 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 21:38:12 UTC 2013
i686 i686 i386 GNU/Linux

This includes all released updates.

And on the production server it is
Linux ianhobson.com 3.2.0-39-virtual #62-Ubuntu SMP Wed Feb 27 22:45:45
UTC 2013 i686 athlon i386 GNU/Linux

This includes all updates up to about 3 weeks ago.

I don’t know where to start to try and find the problem. All help
gratefully received!

The executable file has grown by about 2MB, so I am wondering if it
might be lack of memory that is stopping it starting up?

Thanks

Ian

Hello!

On Tue, Dec 10, 2013 at 02:56:56PM +0000, Ian H. wrote:

I am trying to compile version 1.4.4 with a couple of modules, and I have a
clean compile that runs on the test system just fine. However when I run it
on the production server it crashes with “Segmentation Fault” when the
service is restarted.


Maxim D.
http://nginx.org/