#42406 [Fbk->Opn]: strtotime cause segmentation fail
| From: | jason_jin at sdc dot sercomm dot com | Date: | Fri, 24 Aug 2007 09:44:42 +0000 |
| Subject: | #42406 [Fbk->Opn]: strtotime cause segmentation fail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116596@lists.php.net to get a copy of this message | ||
ID: 42406
User updated by: jason_jin at sdc dot sercomm dot com
Reported By: jason_jin at sdc dot sercomm dot com
-Status: Feedback
+Status: Open
Bug Type: Program Execution
Operating System: linux
PHP Version: 5.2.3
New Comment:
I have porting php-5.2.3 to my embedded system. It also has this
problem.
Our embedded system do not have gdb.
Previous Comments:
------------------------------------------------------------------------
[2007-08-24 07:28:21] johannes@php.net
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.
------------------------------------------------------------------------
[2007-08-24 06:31:24] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Latest version is 5.2.3, not 5.1.6...
------------------------------------------------------------------------
[2007-08-24 04:30:15] jason_jin at sdc dot sercomm dot com
Description:
------------
Execution of Reproduce code on my embedded linux system produce
following error message:
1187917260
Segmentation fault
My embedded system use uclibc.php version is 5.1.6.
Reproduce code work well on my pc whose php version is 5.1.2.
Reproduce code:
---------------
<?php
$aa=mktime(1,1,0,8,24);
echo $aa."\n";
$bb=strtotime('+1 day', $aa);
echo $bb."\n";
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42406&edit=1