misc/69096: Apache segfault

Renato Botelho renato at galle.com.br
Thu Jul 15 06:00:46 PDT 2004


>Number:         69096
>Category:       misc
>Synopsis:       Apache segfault
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 15 13:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD srv1.galle.com.br 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #27: Wed May 26 10:21:14 BRT 2004 root at srv1.galle.com.br:/usr/obj/usr/src/sys/GALLE i386

>Description:
I´ve installed samba-3.0.4_3,1 with winbindd and apache-2.0.50, samba is working fine, but after I changed /etc/nsswitch.conf to add winbindd, apache starts to generate a segfault on apachectl stop, restart and graceful.

>How-To-Repeat:
- Install samba-3.0.4_3,1 with winbind
- Install apache-2.0.50
- Add the following lines to /etc/nsswitch.conf:
passwd: files winbind
group:  files winbind
- Configure your smb.conf to work with winbind
- Start samba
- Start apache
- run apachectl restart

Here is the backtrace of the error:

GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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 "i386-unknown-freebsd"...(no debugging symbols found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libz.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.2
Reading symbols from /usr/local/lib/libssl.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libssl.so.3
Reading symbols from /usr/local/lib/libcrypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libcrypto.so.3
Reading symbols from /usr/local/lib/apache2/libaprutil-0.so.9...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/apache2/libaprutil-0.so.9
Reading symbols from /usr/local/lib/libexpat.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libexpat.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/local/lib/apache2/libapr-0.so.9...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/apache2/libapr-0.so.9
Reading symbols from /lib/libm.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /lib/libcrypt.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.2
Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /usr/local/lib/nss_winbind.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/nss_winbind.so.1
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x28c8948c in _init () from /usr/local/lib/nss_winbind.so.1
#2  0x28c8b6bd in _fini () from /usr/local/lib/nss_winbind.so.1
#3  0x2809934f in dlclose () from /libexec/ld-elf.so.1
#4  0x284033e3 in _nsdbtput () from /lib/libc.so.5
#5  0x28402c98 in endhostent () from /lib/libc.so.5
#6  0x28403479 in _nsdbtput () from /lib/libc.so.5
#7  0x28429384 in exit () from /lib/libc.so.5
#8  0x0806a393 in destroy_and_exit_process ()
#9  0x0806af1e in main ()
#10 0x0805cef2 in _start ()
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list