Bug 201145

Summary: httpd segfaults on start on x86_64
Product: [Fedora] Fedora Reporter: Zoltan Boszormenyi <zboszor>
Component: mod_auth_kerbAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0-10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-03 10:45:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zoltan Boszormenyi 2006-08-03 06:59:08 UTC
Description of problem:

httpd segfaults immediately when started

Version-Release number of selected component (if applicable):

glibc-2.4.90-15
httpd-2.2.2-7

How reproducible:

Always

Steps to Reproduce:
1. Run "service httpd start" or simply "httpd"
2.
3.
  
Actual results:

segfault

Expected results:

It should start

Additional info:

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
library "/lib64/libthread_db.so.1".

(gdb) run
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
(gdb) bt
#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)
    at /usr/src/debug/httpd-2.2.2/server/main.c:670
(gdb)

Comment 1 Joe Orton 2006-08-03 09:31:14 UTC
Thanks for the report, this is actually a mod_auth_kerb bug. 

Comment 2 Joe Orton 2006-08-03 10:45:51 UTC
Fixed in -10.