Opened 12 years ago

Closed 12 years ago

#236 closed defect (fixed)

Enabling Stapling causes Segmentation Fault

Reported by: Greg Macsok Owned by: somebody
Priority: major Milestone:
Component: nginx-core Version: 1.3.x
Keywords: Cc:
uname -a: Linux www3 3.6.2-gentoo #1 SMP Sun Oct 21 01:40:48 PDT 2012 x86_64 Intel(R) Xeon(R) CPU L5640 @ 2.27GHz GenuineIntel GNU/Linux
nginx -V: nginx version: nginx/1.3.7
TLS SNI support enabled
configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error_log --pid-path=/var/run/ --lock-path=/var/lock/nginx.lock --with-cc-opt=-I/usr/include --with-ld-opt=-L/usr/lib --http-log-path=/var/log/nginx/access_log --http-client-body-temp-path=/var/tmp/nginx/client --http-proxy-temp-path=/var/tmp/nginx/proxy --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi --http-scgi-temp-path=/var/tmp/nginx/scgi --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi --with-ipv6 --with-pcre --without-http_auth_basic_module --without-http_autoindex_module --without-http_empty_gif_module --without-http_geo_module --without-http_limit_req_module --without-http_limit_conn_module --without-http_map_module --without-http_memcached_module --without-http_proxy_module --without-http_referer_module --without-http_scgi_module --without-http_split_clients_module --without-http_upstream_ip_hash_module --without-http_uwsgi_module --with-http_mp4_module --with-http_stub_status_module --with-http_realip_module --add-module=/var/tmp/portage/www-servers/nginx-1.3.7/work/agentzh-headers-more-nginx-module-b7c8cfc --add-module=/var/tmp/portage/www-servers/nginx-1.3.7/work/nginx_upload_module-2.2.0 --with-http_ssl_module --without-mail_imap_module --without-mail_pop3_module --without-mail_smtp_module --user=nginx --group=nginx



I am testing OCSP stapling on nginx 1.3.7 (with SPDY patches applied) and I get the following when i add in

ssl_stapling on;

inside http { }

www3 ~ # /etc/init.d/nginx restart

  • Checking nginx' configuration ...

/etc/init.d/nginx: line 79: 13236 Segmentation fault ${command} -c ${nginx_config} -t -q
/etc/init.d/nginx: line 79: 13237 Segmentation fault ${command} -c ${nginx_config} -t

  • failed, please correct errors above [ !! ]
  • ERROR: nginx failed to stop

www3 ~ #

www3 ~ # tail -f /var/log/messages
Oct 24 18:49:20 www3 /etc/init.d/nginx[13226]: ERROR: nginx failed to stop
Oct 24 18:49:20 www3 kernel: nginx[13237]: segfault at d0 ip 00007f7d5b176933 sp 00007fffb4644020 error 4 in[7f7d5b023000+1ac000]

Change History (1)

comment:1 by Maxim Dounin, 12 years ago

Resolution: fixed
Status: newclosed

Thanks, this was already reported on the mailing list and fixed by r4888.

Note: See TracTickets for help on using tickets.