From: jason at pirkplace dot com
Operating system: WinXP SP1
PHP version: 4.3.3
PHP Bug Type: Reproducible crash
Bug description: No email address in errorlog call crashes apache
Description:
------------
Call to error_log with output to email and no email address specified
crashes Apache2 webserver. Please see logs from Apache below.
Hardware:
2.0GHz Celeron with 512MB RAM
OS : WinXP Pro SP1
Apache: Apache 2.0.43
PHP : 4.3.3
Also Reported in Bug #6631 Still an issue.
Reproduce code:
---------------
error_log("An Error log entry",1,"");
Expected result:
----------------
no crash
Actual result:
--------------
Apache Logs:
[Mon Sep 15 23:11:31 2003] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Mon Sep 15 23:11:32 2003] [notice] Parent: Created child process 332
[Mon Sep 15 23:11:34 2003] [notice] Child 332: Child process is running
[Mon Sep 15 23:11:34 2003] [notice] Child 332: Acquired the start mutex.
[Mon Sep 15 23:11:34 2003] [notice] Child 332: Starting 250 worker
threads.
--
Edit bug report at http://bugs.php.net/?id=25553&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25553&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25553&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25553&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25553&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25553&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25553&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25553&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25553&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25553&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25553&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25553&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25553&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25553&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25553&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25553&r=gnused