Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haproxy crashes with a segmentation fault #8

Open
bgibson710 opened this issue Nov 10, 2016 · 4 comments
Open

haproxy crashes with a segmentation fault #8

bgibson710 opened this issue Nov 10, 2016 · 4 comments

Comments

@bgibson710
Copy link

Whenever I attempt to get a new certificate, my haproxy service crashes with a segmentation fault.

00000266:production_webserver_frontend.accept(0007)=0010 from [66.133.109.36:49292]
00000266:production_webserver_frontend.clireq[0010:ffffffff]: GET /.well-known/acme-challenge/token HTTP/1.1
00000266:production_webserver_frontend.clihdr[0010:ffffffff]: Host: site.example.com
00000266:production_webserver_frontend.clihdr[0010:ffffffff]: User-Agent: Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)
00000266:production_webserver_frontend.clihdr[0010:ffffffff]: Accept: /
00000266:production_webserver_frontend.clihdr[0010:ffffffff]: Accept-Encoding: gzip
00000266:production_webserver_frontend.clihdr[0010:ffffffff]: Connection: close
[info] 314/131321 (25402) : [acme] served http-01 token: token (client-ip: 66.133.109.36)
00000266:production_sites_nosni_be.srvrep[0010:ffffffff]: HTTP/1.1 200 OK
00000266:production_sites_nosni_be.srvhdr[0010:ffffffff]: Content-Type: text/plain
00000266:production_sites_nosni_be.srvhdr[0010:ffffffff]: Content-Length: 88
00000266:production_sites_nosni_be.srvhdr[0010:ffffffff]: Server: haproxy/acme-http01-authenticator
00000266:production_sites_nosni_be.srvhdr[0010:ffffffff]: Connection: close
Segmentation fault

@rmbolger
Copy link

It would likely help to provide the version of haproxy and what platform it's running on.

@bgibson710
Copy link
Author

oops sorry I meant to include more info :)

I'm running on Centos 6.8 / haproxy 1.6.9 / lua 5.3.3

@bgibson710
Copy link
Author

I've tried running an strace and I get nothing useful unfortunately, the only way I was able to get what I did was by running haproxy in debug mode, and even that was pretty useless for telling me what happend. I've done an LDD on both lua and haproxy and I can provide that info if it's useful, but I can confirm other utilities using the same libraries have no issues.

@lukastribus
Copy link

I think the full output of "haproxy -vv" is needed, and a gdb backtrace of the crash as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants