#42406 [Opn->Fbk]: strtotime cause segmentation fail
| From: | jani@php.net | Date: | Fri, 24 Aug 2007 10:19:20 +0000 |
| Subject: | #42406 [Opn->Fbk]: strtotime cause segmentation fail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116599@lists.php.net to get a copy of this message | ||
ID: 42406
Updated by: jani@php.net
Reported By: jason_jin at sdc dot sercomm dot com
-Status: Open
+Status: Feedback
-Bug Type: Program Execution
+Bug Type: Date/time related
Operating System: linux
PHP Version: 5.2.3
New Comment:
Perhaps you should give us some more information about the system
you're getting the crash with? And are you compiling it IN the system or
are you trying to cross-compile it on another machine?
Cross-compiling is very tricky and we don't really support it.
Previous Comments:
------------------------------------------------------------------------
[2007-08-24 09:44:30] jason_jin at sdc dot sercomm dot com
I have porting php-5.2.3 to my embedded system. It also has this
problem.
Our embedded system do not have gdb.
------------------------------------------------------------------------
[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