nginx worker segfault, NULL pool

Bruno Prémont bruno.premont at restena.lu
Fri Jun 8 19:43:44 UTC 2012


Hello Maxim,

On Fri, 08 June 2012 Maxim Dounin <mdounin at mdounin.ru> wrote:
> On Fri, Jun 08, 2012 at 02:40:52PM +0200, Bruno Prémont wrote:
> > Running nginx on ARM I'm having it segfault at about any request (those
> > known not to crash are /status/nginx and /status/php-fpm).
> > Attaching it with GDB I get the following trace:
> 
> [...]
> 
> >         geoip_country  /usr/share/GeoIP/GeoIPv6.dat;
> 
> Is it works for you if you don't use GeoIP?

Just disabling it config side makes no difference.

I will try disabling it at configure time and see if it changes
anything, though I doubt it will.


Oh, and in case it is important, my fastcgi_params include
some extra options:

fastcgi_param  QUERY_STRING       $query_string;
fastcgi_param  REQUEST_METHOD     $request_method;
fastcgi_param  CONTENT_TYPE       $content_type;
fastcgi_param  CONTENT_LENGTH     $content_length;

fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
fastcgi_param  REQUEST_URI        $request_uri;
fastcgi_param  DOCUMENT_URI       $document_uri;
fastcgi_param  DOCUMENT_ROOT      $document_root;
fastcgi_param  SERVER_PROTOCOL    $server_protocol;
fastcgi_param  HTTPS              $https if_not_empty;
fastcgi_param  SSL_CIPHER          $ssl_cipher if_not_empty;
fastcgi_param  SSL_PROTOCOL        $ssl_protocol if_not_empty;
fastcgi_param  SSL_SESSION_ID      $ssl_session_id if_not_empty;
fastcgi_param  SSL_CLIENT_SERIAL   $ssl_client_serial if_not_empty;
fastcgi_param  SSL_CLIENT_S_DN     $ssl_client_s_dn if_not_empty;
fastcgi_param  SSL_CLIENT_I_DN     $ssl_client_i_dn if_not_empty;
fastcgi_param  SSL_CLIENT_CERT     $ssl_client_cert if_not_empty;
fastcgi_param  SSL_CLIENT_RAW_CERT $ssl_client_raw_cert if_not_empty;
fastcgi_param  SSL_CLIENT_VERIFY   $ssl_client_verify if_not_empty;

# disabled as requested
#fastcgi_param  GEOIP_COUNTRY_CODE $geoip_country_code;
#fastcgi_param  GEOIP_COUNTRY_NAME $geoip_country_name;

fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;

fastcgi_param  REMOTE_ADDR        $remote_addr;
fastcgi_param  REMOTE_PORT        $remote_port;
fastcgi_param  SERVER_ADDR        $server_addr;
fastcgi_param  SERVER_PORT        $server_port;
fastcgi_param  SERVER_NAME        $server_name;

# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param  REDIRECT_STATUS    200;


> [...]
> 
> Maxim Dounin

Bruno



More information about the nginx mailing list