Re: Bug#225056: apache: Segmentation fault on startup with virtual hosts

2004-01-25 Thread Emanuel Corthay
 Hi,

I have the same problem, but it seg fault only if I have more than 2 virtual
host, it's still ok with 2! :

###
My apache is crashing (segmentation fault) when I try starting it, it's the
first time it's doing that on me, and I tried everything that came into my
mind.
I have :
Server version: Apache/1.3.29 (Debian GNU/Linux)
Server built:   Dec 17 2003 15:54:05
On my debian testing (2.4.22 kernel) box

Symptom:
apache -X returns: Processing config directory: /etc/apache/conf.d
and then segmentation fault. The log doesn't report anything, except that
apache was probably not exited nicely (you bet...).

Context:
It happens only when I have MORE than 2 virtual hosts configured (just any 2
of my 7 virtual hosts).
and only when mod_php4 is loaded... And I don't need to make a request for
the server to crash.

I would appreciate any suggestion, I really find it frustrating to have such
a great server limited to only 2 virtual on my server...
I would be happy to send more information if needed.

Thanks for you help!

Emanuel


#

To: Debian Bug Tracking System [EMAIL PROTECTED]
Subject: Bug#225056: apache: Segmentation fault on startup with virtual
hosts
From: Jeremy Lunn [EMAIL PROTECTED]
Date: Thu, 25 Dec 2003 22:22:29 +1100
Message-id: [EMAIL PROTECTED]
Old-return-path: [EMAIL PROTECTED]
Reply-to: Jeremy Lunn [EMAIL PROTECTED], [EMAIL PROTECTED]

Package: apache
Version: 1.3.29-1Severity: normal
Using NameVirtualHosts, though since 1.3.29 I am getting a segmentation
fault on startup if more than one virtual host is specified (obviously
it defeats the purpose of virtual hosts if you can only list one).  To
add to the strangeness, starting without the virtual hosts then
reloading seems to work fine (also 'apachectlt configtest' shows up asOK).
I don't know how to get any verbosity out of apache other than this:
europa:/home/jeremy# /usr/sbin/apache -XSegmentation fault
Strange is all I can say, though I'm guessing it's an upstream bug in1.3.29.

-- System Information:Debian Release: testing/unstableArchitecture: i386
Kernel: Linux europa 2.4.23-xfs #2 Fri Dec 19 18:49:08 EST 2003 i686
Locale: LANG=en_AU, LC_CTYPE=en_AUVersions of packages apache depends on:
ii  apache-common   1.3.29-1 Support files for all Apache
webse
ii  debconf 1.3.20   Debian configuration management
sy
ii  dpkg1.10.18  Package maintenance system for
Deb
ii  libc6   2.3.2.ds1-10 GNU C Library: Shared libraries
an
ii  libdb4.14.1.25-10Berkeley v4.1 Database
Libraries [
ii  libexpat1   1.95.6-6 XML parsing C library - runtime
li
ii  libmagic1   4.06-1   File type determination library
us
ii  logrotate   3.6.5-2  Log rotation utility
ii  mime-support3.23-1   MIME files 'mime.types' 
'mailcap
ii  perl [perl5]5.8.0-18 Larry Wall's Practical
Extraction
-- debconf information excluded




Re: Bug#225056: apache: Segmentation fault on startup with virtual hosts

2004-01-25 Thread Fabio Massimo Di Nitto
On Sun, 25 Jan 2004, Emanuel Corthay wrote:

 and only when mod_php4 is loaded... And I don't need to make a request for
 the server to crash.

php4 is buggy. please disable the php4-imap extension and everything
should work just fine.

Fabio

-- 
Our mission: make IPv6 the default IP protocol
We are on a mission from God - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html




Bug#225056: apache: Segmentation fault on startup with virtual hosts

2003-12-31 Thread Fabio Massimo Di Nitto
reassign 225056 php4
severity 225056 grave
stop
quit

Hi Jeremy,
thanks for the report, I am reassigning this bug to php4.

Fabio

On Mon, 29 Dec 2003, Jeremy Lunn wrote:

 On Mon, Dec 29, 2003 at 09:04:02AM +0100, Fabio Massimo Di Nitto wrote:
  Can you show me your modules.conf?? if you are using php4, do you have the
  php4-imap extension enabled?? in that case please disable it and restart
  apache (php4 is broken and maintainers know about it).

 Interesting, that looks like it's the problem them (strange the way it
 affected virtual hosts).

 Thanks,

 Jeremy



-- 
Our mission: make IPv6 the default IP protocol
We are on a mission from God - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html




Bug#225056: apache: Segmentation fault on startup with virtual hosts

2003-12-29 Thread Jeremy Lunn
On Mon, Dec 29, 2003 at 08:43:35AM +0100, Fabio Massimo Di Nitto wrote:
 Hi Jeremy,
   if you are using mod_perl would you be so kind to try to upgrade
 perl as well and tell if that segfault still happens? Please also upgrade
 to the latest apache packages.

Didn't realise that there is a newer package, though it seems my mirror
may be a little outdated there.  Just tried the newest one
(1.3.29.0.1-3) though and the symptoms are the same.  Not using
mod_perl, nor is it installed at all.

Thanks,

Jeremy
-- 
Jeremy Lunn
Melbourne, Australia
Homepage: http://www.austux.net/




Bug#225056: apache: Segmentation fault on startup with virtual hosts

2003-12-29 Thread Fabio Massimo Di Nitto

Can you show me your modules.conf?? if you are using php4, do you have the
php4-imap extension enabled?? in that case please disable it and restart
apache (php4 is broken and maintainers know about it).

thanks
Fabio

On Mon, 29 Dec 2003, Jeremy Lunn wrote:

 On Mon, Dec 29, 2003 at 08:43:35AM +0100, Fabio Massimo Di Nitto wrote:
  Hi Jeremy,
  if you are using mod_perl would you be so kind to try to upgrade
  perl as well and tell if that segfault still happens? Please also upgrade
  to the latest apache packages.

 Didn't realise that there is a newer package, though it seems my mirror
 may be a little outdated there.  Just tried the newest one
 (1.3.29.0.1-3) though and the symptoms are the same.  Not using
 mod_perl, nor is it installed at all.

 Thanks,

 Jeremy


-- 
Our mission: make IPv6 the default IP protocol
We are on a mission from God - Elwood Blues

http://www.itojun.org/paper/itojun-nanog-200210-ipv6isp/mgp4.html




Bug#225056: apache: Segmentation fault on startup with virtual hosts

2003-12-29 Thread Jeremy Lunn
On Mon, Dec 29, 2003 at 09:04:02AM +0100, Fabio Massimo Di Nitto wrote:
 Can you show me your modules.conf?? if you are using php4, do you have the
 php4-imap extension enabled?? in that case please disable it and restart
 apache (php4 is broken and maintainers know about it).

Interesting, that looks like it's the problem them (strange the way it
affected virtual hosts).

Thanks,

Jeremy

-- 
Jeremy Lunn
Melbourne, Australia
Jabber: My JID is the same as my email address.