#27899 [Com]: Apache got segfault after received SIGHUP

2004-04-27 Thread abc at anonymous dot com
 ID:   27899
 Comment by:   abc at anonymous dot com
 Reported By:  charvel at bluemission dot com
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux 2.4.25
 PHP Version:  4.3.6RC2
 New Comment:

I fixed it using the solution in Bug # 27810.


Previous Comments:


[2004-04-25 12:32:55] bars at neman dot by

I have the same problem every night when started log rotate.
RH 90 2.4.24
apache 2.0.49
php 4.3.5

php configure options:
export EXTRA_INCLUDES=-I/usr/kerberos/include
export EXTRA_LIBS=-L/usr/kerberos/lib
./configure \
--prefix=/usr \
--with-apxs2=/usr/sbin/apxs \
--with-config-file-path=/etc \
--enable-memory-limit \
--with-gd=/usr \
--with-freetype-dir=/usr \
--enable-gd-native-ttf \
--with-zlib \
--with-jpeg \
--with-jpeg-dir=/usr/lib \
--with-png \
--with-png-dir=/usr/lib \
--with-mysql=/usr \
--with-xml \
--with-iconv \
--enable-sysvsem \
--enable-sysvshm \
--enable-trans-sid \
--enable-sockets \
--enable-ftp \
--enable-exif \
--with-pear=/usr/share/php \
--with-openssl \
--with-gdbm \
--enable-dbase

apache configure options:
export INCLUDES=-I/usr/kerberos/include
export LIBS=-L/usr/kerberos/lib

./configure \
--enable-layout=RedHat \
--enable-deflate \
--enable-ssl \
--enable-mods-shared=all \
--with-perl \
--enable-so

:(



[2004-04-20 13:40:10] karpet at comatosed dot co dot uk

Having broken my configure options down and started readding them.. it
seems like it's pcre that's causing the problem. Both of the following
work without --with-pcre-regex, but not with.

feature packed configure line:
./configure --disable-all --enable-posix --enable-session
--enable-overload --with-pcre-regex
--with-config-file-path=/usr/local/apache-2.0.49/conf
--with-apxs2=/usr/local/apache-2.0.49/bin/apxs
--with-mysql=/usr/local/mysql --with-openssl=/usr --with-zlib
--with-jpeg-dir --with-png-dir --with-freetype-dir --with-gd
--with-gd-native-ttf

reduced configure line:
./configure --disable-all --with-pcre-regex
--with-config-file-path=/usr/local/apache-2.0.49/conf
--with-apxs2=/usr/local/apache-2.0.49/bin/apxs



[2004-04-19 18:38:48] remco at linux-adept dot nl

Using PHP 4.3.5 or 4.3.6 crashes my Apache 2.0.49 doing a 'apachectl
graceful'. Which is a kill for logrotation! Everything was fine untill
4.3.5 came along. Changing back to 4.3.4 solves the problem.
I have tried recompiling apache etc. Nothing helps.
Gracefully restarting apache gives the following in the error-logs:
[Mon Apr 19 18:28:10 2004] [notice] Graceful restart requested, doing
restart
[Mon Apr 19 18:28:10 2004] [notice] seg fault or similar nasty error
detected in the parent process

And apache has to be restarted once more to get it running.



[2004-04-16 08:49:45] afraser at w3internet dot com

Thought I would check the previous version of Apache, since I only got
this problem after upgrading Apache (2.0.48 to 2.0.49) and PHP (4.3.3
to 4.3.5)

[EMAIL PROTECTED] home] www/bin/httpd -v
Server version: Apache/2.0.48
Server built:   Dec 14 2003 15:23:08
[EMAIL PROTECTED] home]# www/bin/apachectl configtest
[Fri Apr 16 09:46:54 2004] [crit] Apache is running a threaded MPM, but
your PHP Module is not compiled to be threadsafe.  You need to
recompile PHP.
Pre-configuration failed

Probably this is not a bug... but if this makes sense to one of you
gurus could you explain to us what we did wrong?



[2004-04-13 12:44:17] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27899

-- 
Edit this bug report at http://bugs.php.net/?id=27899edit=1


#27899 [Com]: Apache got segfault after received SIGHUP

2004-04-25 Thread bars at neman dot by
 ID:   27899
 Comment by:   bars at neman dot by
 Reported By:  charvel at bluemission dot com
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux 2.4.25
 PHP Version:  4.3.6RC2
 New Comment:

I have the same problem every night when started log rotate.
RH 90 2.4.24
apache 2.0.49
php 4.3.5

php configure options:
export EXTRA_INCLUDES=-I/usr/kerberos/include
export EXTRA_LIBS=-L/usr/kerberos/lib
./configure \
--prefix=/usr \
--with-apxs2=/usr/sbin/apxs \
--with-config-file-path=/etc \
--enable-memory-limit \
--with-gd=/usr \
--with-freetype-dir=/usr \
--enable-gd-native-ttf \
--with-zlib \
--with-jpeg \
--with-jpeg-dir=/usr/lib \
--with-png \
--with-png-dir=/usr/lib \
--with-mysql=/usr \
--with-xml \
--with-iconv \
--enable-sysvsem \
--enable-sysvshm \
--enable-trans-sid \
--enable-sockets \
--enable-ftp \
--enable-exif \
--with-pear=/usr/share/php \
--with-openssl \
--with-gdbm \
--enable-dbase

apache configure options:
export INCLUDES=-I/usr/kerberos/include
export LIBS=-L/usr/kerberos/lib

./configure \
--enable-layout=RedHat \
--enable-deflate \
--enable-ssl \
--enable-mods-shared=all \
--with-perl \
--enable-so

:(


Previous Comments:


[2004-04-20 13:40:10] karpet at comatosed dot co dot uk

Having broken my configure options down and started readding them.. it
seems like it's pcre that's causing the problem. Both of the following
work without --with-pcre-regex, but not with.

feature packed configure line:
./configure --disable-all --enable-posix --enable-session
--enable-overload --with-pcre-regex
--with-config-file-path=/usr/local/apache-2.0.49/conf
--with-apxs2=/usr/local/apache-2.0.49/bin/apxs
--with-mysql=/usr/local/mysql --with-openssl=/usr --with-zlib
--with-jpeg-dir --with-png-dir --with-freetype-dir --with-gd
--with-gd-native-ttf

reduced configure line:
./configure --disable-all --with-pcre-regex
--with-config-file-path=/usr/local/apache-2.0.49/conf
--with-apxs2=/usr/local/apache-2.0.49/bin/apxs



[2004-04-19 18:38:48] remco at linux-adept dot nl

Using PHP 4.3.5 or 4.3.6 crashes my Apache 2.0.49 doing a 'apachectl
graceful'. Which is a kill for logrotation! Everything was fine untill
4.3.5 came along. Changing back to 4.3.4 solves the problem.
I have tried recompiling apache etc. Nothing helps.
Gracefully restarting apache gives the following in the error-logs:
[Mon Apr 19 18:28:10 2004] [notice] Graceful restart requested, doing
restart
[Mon Apr 19 18:28:10 2004] [notice] seg fault or similar nasty error
detected in the parent process

And apache has to be restarted once more to get it running.



[2004-04-16 08:49:45] afraser at w3internet dot com

Thought I would check the previous version of Apache, since I only got
this problem after upgrading Apache (2.0.48 to 2.0.49) and PHP (4.3.3
to 4.3.5)

[EMAIL PROTECTED] home] www/bin/httpd -v
Server version: Apache/2.0.48
Server built:   Dec 14 2003 15:23:08
[EMAIL PROTECTED] home]# www/bin/apachectl configtest
[Fri Apr 16 09:46:54 2004] [crit] Apache is running a threaded MPM, but
your PHP Module is not compiled to be threadsafe.  You need to
recompile PHP.
Pre-configuration failed

Probably this is not a bug... but if this makes sense to one of you
gurus could you explain to us what we did wrong?



[2004-04-13 12:44:17] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2004-04-09 11:13:18] [EMAIL PROTECTED]

1. As you're using a threaded webserver and asking for trouble this bug
is pretty much bogus. (the crash happens elsewhere than in PHP
itself..where is the GDB backtrace?)

2. Try adding your original configure options (those ones excluded
which I told you NOT to use) one by one and see which one causes the
crash, like this:

# rm -f config.cache
# ./configure --disable-all --with-apxs2 --with-zlib
# make clean  make

(try them all _separately_ first!)




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27899

-- 
Edit this bug report at http://bugs.php.net/?id=27899edit=1


#27899 [Com]: Apache got segfault after received SIGHUP

2004-04-20 Thread karpet at comatosed dot co dot uk
 ID:   27899
 Comment by:   karpet at comatosed dot co dot uk
 Reported By:  charvel at bluemission dot com
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux 2.4.25
 PHP Version:  4.3.6RC2
 New Comment:

Having broken my configure options down and started readding them.. it
seems like it's pcre that's causing the problem. Both of the following
work without --with-pcre-regex, but not with.

feature packed configure line:
./configure --disable-all --enable-posix --enable-session
--enable-overload --with-pcre-regex
--with-config-file-path=/usr/local/apache-2.0.49/conf
--with-apxs2=/usr/local/apache-2.0.49/bin/apxs
--with-mysql=/usr/local/mysql --with-openssl=/usr --with-zlib
--with-jpeg-dir --with-png-dir --with-freetype-dir --with-gd
--with-gd-native-ttf

reduced configure line:
./configure --disable-all --with-pcre-regex
--with-config-file-path=/usr/local/apache-2.0.49/conf
--with-apxs2=/usr/local/apache-2.0.49/bin/apxs


Previous Comments:


[2004-04-19 18:38:48] remco at linux-adept dot nl

Using PHP 4.3.5 or 4.3.6 crashes my Apache 2.0.49 doing a 'apachectl
graceful'. Which is a kill for logrotation! Everything was fine untill
4.3.5 came along. Changing back to 4.3.4 solves the problem.
I have tried recompiling apache etc. Nothing helps.
Gracefully restarting apache gives the following in the error-logs:
[Mon Apr 19 18:28:10 2004] [notice] Graceful restart requested, doing
restart
[Mon Apr 19 18:28:10 2004] [notice] seg fault or similar nasty error
detected in the parent process

And apache has to be restarted once more to get it running.



[2004-04-16 08:49:45] afraser at w3internet dot com

Thought I would check the previous version of Apache, since I only got
this problem after upgrading Apache (2.0.48 to 2.0.49) and PHP (4.3.3
to 4.3.5)

[EMAIL PROTECTED] home] www/bin/httpd -v
Server version: Apache/2.0.48
Server built:   Dec 14 2003 15:23:08
[EMAIL PROTECTED] home]# www/bin/apachectl configtest
[Fri Apr 16 09:46:54 2004] [crit] Apache is running a threaded MPM, but
your PHP Module is not compiled to be threadsafe.  You need to
recompile PHP.
Pre-configuration failed

Probably this is not a bug... but if this makes sense to one of you
gurus could you explain to us what we did wrong?



[2004-04-13 12:44:17] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2004-04-09 11:13:18] [EMAIL PROTECTED]

1. As you're using a threaded webserver and asking for trouble this bug
is pretty much bogus. (the crash happens elsewhere than in PHP
itself..where is the GDB backtrace?)

2. Try adding your original configure options (those ones excluded
which I told you NOT to use) one by one and see which one causes the
crash, like this:

# rm -f config.cache
# ./configure --disable-all --with-apxs2 --with-zlib
# make clean  make

(try them all _separately_ first!)




[2004-04-09 05:24:09] charvel at bluemission dot com

1. worker
2. In this case work fine.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27899

-- 
Edit this bug report at http://bugs.php.net/?id=27899edit=1


#27899 [Com]: Apache got segfault after received SIGHUP

2004-04-19 Thread remco at linux-adept dot nl
 ID:   27899
 Comment by:   remco at linux-adept dot nl
 Reported By:  charvel at bluemission dot com
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux 2.4.25
 PHP Version:  4.3.6RC2
 New Comment:

Using PHP 4.3.5 or 4.3.6 crashes my Apache 2.0.49 doing a 'apachectl
graceful'. Which is a kill for logrotation! Everything was fine untill
4.3.5 came along. Changing back to 4.3.4 solves the problem.
I have tried recompiling apache etc. Nothing helps.
Gracefully restarting apache gives the following in the error-logs:
[Mon Apr 19 18:28:10 2004] [notice] Graceful restart requested, doing
restart
[Mon Apr 19 18:28:10 2004] [notice] seg fault or similar nasty error
detected in the parent process

And apache has to be restarted once more to get it running.


Previous Comments:


[2004-04-16 08:49:45] afraser at w3internet dot com

Thought I would check the previous version of Apache, since I only got
this problem after upgrading Apache (2.0.48 to 2.0.49) and PHP (4.3.3
to 4.3.5)

[EMAIL PROTECTED] home] www/bin/httpd -v
Server version: Apache/2.0.48
Server built:   Dec 14 2003 15:23:08
[EMAIL PROTECTED] home]# www/bin/apachectl configtest
[Fri Apr 16 09:46:54 2004] [crit] Apache is running a threaded MPM, but
your PHP Module is not compiled to be threadsafe.  You need to
recompile PHP.
Pre-configuration failed

Probably this is not a bug... but if this makes sense to one of you
gurus could you explain to us what we did wrong?



[2004-04-13 12:44:17] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2004-04-09 11:13:18] [EMAIL PROTECTED]

1. As you're using a threaded webserver and asking for trouble this bug
is pretty much bogus. (the crash happens elsewhere than in PHP
itself..where is the GDB backtrace?)

2. Try adding your original configure options (those ones excluded
which I told you NOT to use) one by one and see which one causes the
crash, like this:

# rm -f config.cache
# ./configure --disable-all --with-apxs2 --with-zlib
# make clean  make

(try them all _separately_ first!)




[2004-04-09 05:24:09] charvel at bluemission dot com

1. worker
2. In this case work fine.



[2004-04-08 19:01:21] [EMAIL PROTECTED]

1. What MPM is Apache2 using?
2. Get fresh sources, and use this configure line:
# ./configure --disable-all --with-apxs2




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27899

-- 
Edit this bug report at http://bugs.php.net/?id=27899edit=1


#27899 [Com]: Apache got segfault after received SIGHUP

2004-04-16 Thread afraser at w3internet dot com
 ID:   27899
 Comment by:   afraser at w3internet dot com
 Reported By:  charvel at bluemission dot com
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: Linux 2.4.25
 PHP Version:  4.3.6RC2
 New Comment:

Thought I would check the previous version of Apache, since I only got
this problem after upgrading Apache (2.0.48 to 2.0.49) and PHP (4.3.3
to 4.3.5)



[EMAIL PROTECTED] home] www/bin/httpd -v

Server version: Apache/2.0.48

Server built:   Dec 14 2003 15:23:08

[EMAIL PROTECTED] home]# www/bin/apachectl configtest

[Fri Apr 16 09:46:54 2004] [crit] Apache is running a threaded MPM, but
your PHP Module is not compiled to be threadsafe.  You need to
recompile PHP.

Pre-configuration failed



Probably this is not a bug... but if this makes sense to one of you
gurus could you explain to us what we did wrong?


Previous Comments:


[2004-04-13 12:44:17] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to Open. Thank you.





[2004-04-09 11:13:18] [EMAIL PROTECTED]

1. As you're using a threaded webserver and asking for trouble this bug
is pretty much bogus. (the crash happens elsewhere than in PHP
itself..where is the GDB backtrace?)



2. Try adding your original configure options (those ones excluded
which I told you NOT to use) one by one and see which one causes the
crash, like this:



# rm -f config.cache

# ./configure --disable-all --with-apxs2 --with-zlib

# make clean  make



(try them all _separately_ first!)





[2004-04-09 05:24:09] charvel at bluemission dot com

1. worker

2. In this case work fine.



[2004-04-08 19:01:21] [EMAIL PROTECTED]

1. What MPM is Apache2 using?

2. Get fresh sources, and use this configure line:

# ./configure --disable-all --with-apxs2





[2004-04-08 12:21:24] charvel at bluemission dot com

Well, I get a 4.3.6RC2, configure by:



./configure --with-apxs2



when I send to the master httpd process USR1 signal I got:



[Thu Apr 08 18:13:19 2004] [notice] SIGUSR1 received.  Doing graceful
restart

[Thu Apr 08 18:13:19 2004] [notice] seg fault or similar nasty error
detected in the parent process

[Thu Apr 08 18:13:19 2004] [emerg] (22)Invalid argument:
apr_proc_mutex_unlock failed. Attempting to shutdown process
gracefully.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27899

-- 
Edit this bug report at http://bugs.php.net/?id=27899edit=1