php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25553 No email address in errorlog call crashes apache
Submitted: 2003-09-15 23:45 UTC Modified: 2003-09-19 21:37 UTC
From: jason at pirkplace dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.3.3 OS: WinXP SP1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jason at pirkplace dot com
New email:
PHP Version: OS:

 

 [2003-09-15 23:45 UTC] jason at pirkplace dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-16 00:10 UTC] jason at pirkplace dot com
Please find the windows error log files that are generated when this crash occurs at:
http://www.pirkplace.com/php/bugs/bug_25553.html
 [2003-09-17 09:46 UTC] jason at pirkplace dot com
Still did not work for me -- I just replaced the current php directory with the files from the stable release.  I am using SWAMP so not sure just replacing php directory will work.
 [2003-09-18 19:29 UTC] robert at profundis dot se
> Still did not work for me -- I just replaced the current
> php directory with the files from the stable release.

You'll also need to replace php4ts.dll that exists in your Windows directory. Do a search for 'php' in this directory and subdirectories, and make sure all dlls are concurrent.

If you running PHP as an Apache module, and have the module in Apache's own modules direcory, you need to replace php4apach2.dll there as well.
 [2003-09-19 21:37 UTC] sniper@php.net
Does not crash with latest CVS snapshot for me.
You propbaly didn't install it correctly.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 11:01:32 2024 UTC