#48892 [NEW]: httpd crash when log_errors=On
| From: | bzanin at tut dot by | Date: | Sun, 12 Jul 2009 08:27:35 +0000 |
| Subject: | #48892 [NEW]: httpd crash when log_errors=On | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-139637@lists.php.net to get a copy of this message | ||
From: bzanin at tut dot by
Operating system: Windows XP SP3 Rus
PHP version: 5.3.0
PHP Bug Type: Reproducible crash
Bug description: httpd crash when log_errors=On
Description:
------------
I use PHP 5.3.0 (thread safe) on windows XP sp3 russian, running under
control of Apache 2.2.11 (using php5apache2_2.dll to allow PHP in the
apache). If "log_errors=On" the script does not produce any output to
browser and apache process restarts. If "log_errors=Off" the script produce
page with 4 warnings: 2 "function.date: It is not safe to rely on the
system's timezone settings" and 2 "function.include: failed to open".
Trace using Process Monitor tool by Mark Russinovich shows me that in the
request moment httpd process makes 437 requests to CreateFile
"C:\Settings\Logs\php_errors.log" (all successful) then attempt to create
crash dump (some calls to faultrep.dll and others), then lots of threads
exit, then process exits and then a lot of file close calls.
437 requests are made in 0.2 sec. I suspect somwhere CreateFile is not
compared with INVALID_HANDLE_VALUE.
PS For some reason php-debug-pack-5.3.0-Win32.zip is not available.
Expected result:
----------------
Page generated, httpd does not die, some warnings on page as well as in
the log file.
Actual result:
--------------
Page is not generated, httpd gets restarted, zero size log file created.
--
Edit bug report at http://bugs.php.net/?id=48892&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48892&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48892&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48892&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48892&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48892&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48892&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48892&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48892&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48892&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48892&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48892&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48892&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48892&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48892&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48892&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48892&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48892&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48892&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48892&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48892&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48892&r=mysqlcfg