Red Hat Bugzilla – Bug 201145
httpd segfaults on start on x86_64
Last modified: 2007-11-30 17:11:39 EST
Description of problem:
httpd segfaults immediately when started
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run "service httpd start" or simply "httpd"
It should start
httpd doesn't dump core but here's what gdb says about it:
GNU gdb Red Hat Linux (6.5-3.fc6rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db
Starting program: /usr/sbin/httpd
[Thread debugging using libthread_db enabled]
[New Thread 46912564960976 (LWP 31931)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912564960976 (LWP 31931)]
0x00002aaaac7a95ad in getenv () from /lib64/libc.so.6
#0 0x00002aaaac7a95ad in getenv () from /lib64/libc.so.6
#1 0x0000555555580987 in ap_register_hooks (m=0x5555557a3460,
p=0x5555557ad538) at /usr/src/debug/httpd-2.2.2/server/config.c:403
#2 0x000055555556ad90 in main (argc=1, argv=0x7fff681f6ba8)
Thanks for the report, this is actually a mod_auth_kerb bug.
Fixed in -10.