Backtrace from daemon?

asked 2013-11-15 16:14:14 -0500

httpd segfaults when I make a HTTP request to localhost. How do I get a backtrace?

edit retag flag offensive close merge delete


I would start with strace curl http://localhost

marcindulak gravatar imagemarcindulak ( 2013-11-16 03:55:19 -0500 )edit

pretty sure the problem is on the httpd side not the client side.

Robin Green gravatar imageRobin Green ( 2013-11-16 08:31:26 -0500 )edit

There are some examples available (e.g. Try: systemctl stop httpd.service; strace /usr/sbin/httpd -X and curl http://localhost, or attach gdb to a running httpd - you need first to debuginfo-install httpd (and maybe the same for some more packages), then: /usr/sbin/httpd -X and gdb httpd `cat /etc/httpd/run/`

marcindulak gravatar imagemarcindulak ( 2013-11-16 11:21:22 -0500 )edit