Nginx 1.x.x segfault at e8 ip xxx sp xxx error 4 in libssl.so.1.0.0

nginx -V output:

nginx version: nginx/1.1.8
built by gcc 4.6.2 (Debian 4.6.2-5)
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx
–conf-path=/etc/nginx/nginx.conf
–error-log-path=/var/log/nginx/error.log
–http-client-body-temp-path=/var/lib/nginx/body
–http-fastcgi-temp-path=/var/lib/nginx/fastcgi
–http-log-path=/var/log/nginx/access.log
–http-proxy-temp-path=/var/lib/nginx/proxy
–http-scgi-temp-path=/var/lib/nginx/scgi
–http-uwsgi-temp-path=/var/lib/nginx/uwsgi
–lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid
–with-debug --with-http_addition_module --with-http_dav_module
–with-http_geoip_module --with-http_gzip_static_module
–with-http_image_filter_module --with-http_realip_module
–with-http_stub_status_module --with-http_ssl_module
–with-http_sub_module --with-http_xslt_module --with-ipv6
–with-sha1=/usr/include/openssl --with-md5=/usr/include/openssl
–with-mail --with-mail_ssl_module
–add-module=/build/buildd-nginx_1.1.8-2-i386-6PKxRV/nginx-1.1.8/debian/modules/nginx-echo
–add-module=/build/buildd-nginx_1.1.8-2-i386-6PKxRV/nginx-1.1.8/debian/modules/nginx-upstream-fair

This is the nginx-full package from the Debian unstable branch. I also
had the same problem with nginx-full from dotdeb (1.0.09 and 1.0.10).
The same problem also occurs with libssl.0.9.8.

My certificate is from StartCom http://www.startssl.com/

Any help is much appreciated, if you need further information to help me
on this issue please let me know.

Posted at Nginx Forum:

Hello!

On Fri, Nov 25, 2011 at 07:49:38AM -0500, Fleshgrinder wrote:

–http-log-path=/var/log/nginx/access.log
–with-mail --with-mail_ssl_module
on this issue please let me know.
Please try the patch or the workaround from here:

http://trac.nginx.org/nginx/ticket/54

If it doesn’t help, please provide more information, as outlined
at Debugging | NGINX.

Maxim D.

Thanks a lot, I’m going to give the workaround a try, because I really
have to blocks that are listening to 443 and one of both blocks has no
ssl_certificate defined (it only redirects from www to non-www). I just
copied the whole ssl block from the other server context and restarted.
I’ll let you know if it worked (but I’m very confident).

I don’t want to apply the patch because I want to stick to the Debian
packages (integrate perfectly in the system).

Posted at Nginx Forum: