Bug 201145 - httpd segfaults on start on x86_64
Summary: httpd segfaults on start on x86_64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_auth_kerb
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-03 06:59 UTC by Zoltan Boszormenyi
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 5.0-10
Clone Of:
Environment:
Last Closed: 2006-08-03 10:45:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.