Bug#247229: apache2-common: -S option segfaults when NameVirtualHost specifies port

2004-05-04 Thread Thom May
* Adam Hupp ([EMAIL PROTECTED]) wrote :
 Package: apache2-common
 Version: 2.0.49-1
 Severity: normal
 
 I had a NameVirtualHost *:80 directive in my apache2.conf.  I tried
 running 'apache2 -S' to debug my vhosts and got a segfault.  Changing it
 to NameVirtualHost * fixed the segfault.  I can provide a core file if
 needed.
 
Just a backtrace with gdb would be a good start.
-Thom





Bug#247229: apache2-common: -S option segfaults when NameVirtualHost specifies port

2004-05-04 Thread Adam Hupp
On Tue, May 04, 2004 at 07:04:41PM +0100, Thom May wrote:
  
 Just a backtrace with gdb would be a good start.

#0  0x0807e515 in ap_set_name_virtual_host ()
#1  0x0807e6d3 in ap_set_name_virtual_host ()
#2  0x0807eaff in ap_fini_vhost_config ()
#3  0x0807dbd1 in main ()

I think I have a better way to reproduce it.  If NameVirtualHost has a
port specified (e.g. *:80) and a VirtualHost does not (e.g
VirtualHost *) then it faults.

-Adam




Bug#247229: apache2-common: -S option segfaults when NameVirtualHost specifies port

2004-05-03 Thread Adam Hupp
Package: apache2-common
Version: 2.0.49-1
Severity: normal

I had a NameVirtualHost *:80 directive in my apache2.conf.  I tried
running 'apache2 -S' to debug my vhosts and got a segfault.  Changing it
to NameVirtualHost * fixed the segfault.  I can provide a core file if
needed.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (650, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1um
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache2-common depends on:
ii  debconf 1.4.22   Debian configuration management sy
ii  debianutils 2.8.1Miscellaneous utilities specific t
ii  libapr0 2.0.49-1 The Apache Portable Runtime
ii  libc6   2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-16Berkeley v4.2 Database Libraries [
ii  libexpat1   1.95.6-8 XML parsing C library - runtime li
ii  libldap22.1.23-1 OpenLDAP libraries
ii  libmagic1   4.07-2   File type determination library us
ii  libssl0.9.7 0.9.7d-1 SSL shared libraries
ii  mime-support3.26-1   MIME files 'mime.types'  'mailcap
ii  net-tools   1.60-9   The NET-3 networking toolkit
ii  openssl 0.9.7d-1 Secure Socket Layer (SSL) binary a
ii  ssl-cert1.0-7Simple debconf wrapper for openssl
ii  zlib1g  1:1.2.1-5compression library - runtime

-- no debconf information