#38975 [Opn->Fbk]: date() function causes php crash
| From: | tony2001@php.net | Date: | Tue, 03 Oct 2006 15:14:34 +0000 |
| Subject: | #38975 [Opn->Fbk]: date() function causes php crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103041@lists.php.net to get a copy of this message | ||
ID: 38975
Updated by: tony2001@php.net
Reported By: rachmel at avaya dot com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: WindRiver Linux
PHP Version: 5.1.6
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-10-03 11:54:42] rachmel at avaya dot com
Tried the latest CVS version - still crashes, using the same code.
------------------------------------------------------------------------
[2006-09-27 15:45:27] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-09-27 15:34:34] rachmel at avaya dot com
Description:
------------
When changing the Linux's timezone (changing /etc/localtime) to
something other than CEST and running php script with date related
functions, the php crashes and causes a segmentation fault.
Reproduce code:
---------------
<?php
echo date("l");
?>
Expected result:
----------------
should print the current day of the week.
Actual result:
--------------
segmentation fault (core dumped)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38975&edit=1