From:             tjerk dot meesters at gmail dot com
Operating system: Windows XP
PHP version:      5CVS-2005-11-09 (snap)
PHP Bug Type:     Reproducible crash
Bug description:  array_filter: support for additional callback arguments

Description:
------------
When a PHP script is set as an error document (404) in Apache, the
designated Apache thread crashes. The apache log says:

[notice] Apache/2.0.54 (Win32) PHP/5.0.6-dev configured -- resuming normal
operations
[notice] Server built: Apr 16 2005 14:25:31
[notice] Parent: Created child process 6068
[notice] Child 6068: Child process is running
[notice] Child 6068: Acquired the start mutex.
[notice] Child 6068: Starting 250 worker threads.
[error] [client 127.0.0.1] File does not exist: D:/www/revamp/images

#### all normal until here
[notice] Parent: child process exited with status 3221225477 --
Restarting.


Reproduce code:
---------------
in .htaccess:
ErrorDocument 404 /path/to/script

php code:
<?php

echo 'file not found?'

?>

Expected result:
----------------
file not found


Actual result:
--------------
Apache child crashes, see description for logs

-- 
Edit bug report at http://bugs.php.net/?id=35167&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35167&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35167&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35167&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35167&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35167&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35167&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35167&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35167&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35167&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35167&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35167&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35167&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35167&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35167&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35167&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35167&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35167&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35167&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35167&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35167&r=mysqlcfg

Reply via email to