#35096 [Com]: using mod_rewrite with apache2 crashes

2005-11-17 Thread Chris at Epler dot net
 ID:   35096
 Comment by:   Chris at Epler dot net
 Reported By:  rob at burningsoda dot com
 Status:   No Feedback
 Bug Type: Apache2 related
 Operating System: *
 PHP Version:  5CVS, 4CVS (2005-11-04) (snap)
 New Comment:

Updating my PHP4.4.1 port to the _2 revision that Alex did:

- Fix pear pkg-plist
- Increase pear memory limit (requested by amd64)
- Revert apache2handler to the latest working version found in
  PHP 4.4.0, since PHP developers seem not interested in
  fixing the bug with apache2 and mod_rewrite

appears to work now.  I hope the PHP developers bother to take 
some time to look into this as I'm sure others are having the 
problem as well.


Previous Comments:


[2005-11-16 01:00:02] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".



[2005-11-10 21:16:11] asmodai at in-nomine dot org

I upgraded from FreeBSD 5.4, Apache 2.0.54 with mod_php 4.3.x to 6.0,
Apache 2.0.55 and mod_php 4.4.1.

After this both Gallery 2 and Drupal 4.6.3 are having difficulties.

At first I thought it might be threading and recompiled apache and
mod_php to be prefork.  Same issue.

What I see is that my site works normally until I try to log in with
drupal, at which point I get the famous 'empty page' and I noticed in
my log file that:

[Thu Nov 10 17:58:47 2005] [notice] child pid 73748 exit signal
Segmentation fault (11)

Like other people I have been using the same configuration files and
have not changed anything during the upgrades.

Yes, I have mod_rewrite enabled.

The ktrace output I got from one of the dying children wasn't helpful,
so I am now trying strace to see if I can get some more information.



[2005-11-09 17:23:49] free4cd at yahoo dot de

This is the only debug output I get:

/root/php-4.4.1/Zend/zend_hash.c(275) :  Freeing 0x0868C2A4 (40 bytes),
script=/
srv/www/htdocs/index.php
Last leak repeated 45 times
/root/php-4.4.1/Zend/zend_execute.c(512) :  Freeing 0x0855441C (12
bytes), scrip
t=/srv/www/htdocs/index.php
/root/php-4.4.1/Zend/zend_opcode.c(295) :  Freeing 0x08535764 (30300
bytes), scr
ipt=/srv/www/htdocs/index.php
/root/php-4.4.1/Zend/zend_operators.c(1068) :  Freeing 0x08554304 (2
bytes), scr
ipt=/srv/www/htdocs/index.php
/root/php-4.4.1/Zend/zend_compile.c(875) :  Freeing 0x085542CC (7
bytes), script
=/srv/www/htdocs/index.php
/root/php-4.4.1/Zend/zend_variables.c(111) : Actual location (location
was relay
ed)
Last leak repeated 13 times
Zend/zend_language_scanner.c(4526) :  Freeing 0x08554294 (7 bytes),
script=/srv/www/htdocs/index.php
Last leak repeated 52 times
Zend/zend_language_scanner.c(4744) :  Freeing 0x0855425C (7 bytes),
script=/srv/
www/htdocs/index.php
Last leak repeated 64 times
Zend/zend_language_scanner.c(4518) :  Freeing 0x08554224 (4 bytes),
script=/srv/
www/htdocs/index.php
Last leak repeated 118 times
Zend/zend_language_scanner.c(4653) :  Freeing 0x085541EC (3 bytes),
script=/srv/
www/htdocs/index.php
Last leak repeated 19 times
/root/php-4.4.1/Zend/zend_opcode.c(230) :  Freeing 0x0855416C (24
bytes), script
=/srv/www/htdocs/index.php
Zend/zend_language_scanner.c(3945) :  Freeing 0x085540C4 (5 bytes),
script=/srv/
www/htdocs/index.php
Last leak repeated 21 times
/root/php-4.4.1/Zend/zend_execute.c(1080) :  Freeing 0x08554084 (12
bytes), scri
pt=/srv/www/htdocs/index.php
Zend/zend_language_scanner.c(4433) :  Freeing 0x086F4704 (28 bytes),
script=/srv
/www/htdocs/index.php
Last leak repeated 7 times
/root/php-4.4.1/Zend/zend_compile.c(1790) :  Freeing 0x08711ECC (13
bytes), scri
pt=/srv/www/htdocs/index.php
/root/php-4.4.1/Zend/zend_variables.c(111) : Actual location (location
was relay
ed)
Last leak repeated 1 time
/root/php-4.4.1/Zend/zend_compile.c(1774) :  Freeing 0x08711DDC (13
bytes), scri
pt=/srv/www/htdocs/index.php
/root/php-4.4.1/Zend/zend_variables.c(111) : Actual location (location
was relay
ed)
Last leak repeated 1 time
Zend/zend_language_scanner.c(4866) :  Freeing 0x0856D684 (2 bytes),
script=/srv/
www/htdocs/index.php
Last leak repeated 3 times
Zend/zend_language_scanner.c(4534) :  Freeing 0x0868D16C (3 bytes),
script=/srv/
www/htdocs/index.php
Last leak repeated 1 time
/root/php-4.4.1/Zend/zend_opcode.c(65) :  Freeing 0x082CAE94 (4 bytes),
script=/
srv/www/htdocs/index.php
/root/php-4.4.1/Zend/zend_compile.c(137) :  Freeing 0x082CAC9C (26
bytes), scrip
t=/srv/www/htdocs/index.php
Zend/zend_language_scanner.c(3096) :  Freeing 0x0868CD2C (84 bytes),
script=/srv
/www/htdocs/index.php
/root/php-4.4.1/ext/mbstring/mbstring.c(1016) :  Freeing 0x0868CCF4 (8
b

#35096 [Com]: using mod_rewrite with apache2 crashes

2005-11-07 Thread Chris at Epler dot net
 ID:   35096
 Comment by:   Chris at Epler dot net
 Reported By:  rob at burningsoda dot com
 Status:   Feedback
 Bug Type: Apache2 related
 Operating System: *
 PHP Version:  5CVS, 4CVS (2005-11-04) (snap)
 New Comment:

FreeBSD 4.11, Apache 2.0.55

Immediately after upgrading the PHP package from ports I get 
blank pages from Gallery integrated into Drupal which is using 
mod_rewrite.  4.4.0 did not have this issue and no other 
config file changes were made.


Previous Comments:


[2005-11-07 20:17:13] free4cd at yahoo dot de

Same problem on SuSE 9.3 and Apache 2.0.55 and 4.x and 5.x snapshots on
i386.
I've compiled Apache by hand and used the SuSE rpm's but I get the same
error (blank page). I've also tried the php.ini-recommended and
php.ini-dist without changes and it don't work.

With 4.4.0 all works fine but since release of 4.4.1 and later
snapshots (4.x and 5.x) mod_rewrite fails.



[2005-11-07 18:25:00] remko at elvandar dot org

For the information/record: I used FreeBSD 5.4 and FreeBSD 6.0 
on i386 hardware.



[2005-11-07 17:18:49] jd at ods dot org

I'm having issues on i386/FreeBSD 4.11



[2005-11-07 16:50:31] sergeym at hoster dot ru

May be it's platform-depend bug?
I have errors on AMD64/FreeBSD.



[2005-11-07 16:13:50] Brian dot white at foxfire74 dot com

I am using virtual hosts with all of my PHP files in an aliased
directory.  Maybe that makes a difference as to weather or not PHP can
find the include files.

Here is my diff:
---

Compare: (<)php.ini-recommended (40595 bytes)
   with: (>)php.ini (40652 bytes)

443c443
< extension_dir = "./"
---
> extension_dir = "./extensions"
556c556
< ;extension=php_mbstring.dll
---
> extension=php_mbstring.dll
569c569
< ;extension=php_gd2.dll
---
> extension=php_gd2.dll
579c579
< ;extension=php_mcrypt.dll
---
> extension=php_mcrypt.dll
614c614
< SMTP = localhost
---
> SMTP = myserver
618c618,619
< ;sendmail_from = [EMAIL PROTECTED]
---
> sendmail_from = [EMAIL PROTECTED]



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/35096

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