|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-06-08 12:41 UTC] rick at dualmedia dot it
Description:
------------
On apache 2.0.55 i get:
[notice] child pid 25356 exit signal Segmentation fault (11)
Reproduce code:
---------------
$this->data_scadenza = ''; $tpl->setVariable('data',date("d/m/Y",(strtotime($this->data_scadenza))));
Actual result:
--------------
#0 0xa7ce50d0 in php_gd_lex (lvalp=0xafb1a1e8, parm=0xafb1a258)
at /tmp/php4-4.4.2/ext/standard/parsedate.c:2327
2327 while (ISSPACE ((unsigned char) *date->yyInput))
(gdb) bt
#0 0xa7ce50d0 in php_gd_lex (lvalp=0xafb1a1e8, parm=0xafb1a258) at /tmp/php4-4.4.2/ext/standard/parsedate.c:2327
#1 0xa7ce5a37 in php_gd_parse (parm=0xafb1a258) at /tmp/php4-4.4.2/ext/standard/parsedate.c:1138
#2 0xa7ce61c1 in php_parse_date (p=0x8 <Address 0x8 out of bounds>, now=0x0) at /tmp/php4-4.4.2/ext/standard/parsedate.c:2452
#3 0xa7cc5a15 in zif_strtotime (ht=1, return_value=0x875acac, this_ptr=0x0, return_value_used=1) at /tmp/php4-4.4.2/ext/standard/datetime.c:918
#4 0xa7d4cee2 in execute_internal (execute_data_ptr=<incomplete type>, return_value_used=1) at /tmp/php4-4.4.2/Zend/zend_execute_API.c:42
#5 0xa78272cc in xdebug_execute_internal (current_execute_data=0xafb1a928, return_value_used=1) at /tmp/tmpxiAFCR/xdebug-2.0.0beta4/xdebug.c:1283
#6 0xa7d6c53f in execute (op_array=0x85c97ac) at /tmp/php4-4.4.2/Zend/zend_execute.c:1677
#7 0xa7827661 in xdebug_execute (op_array=0x85c97ac) at /tmp/tmpxiAFCR/xdebug-2.0.0beta4/xdebug.c:1226
#8 0xa7d6a366 in execute (op_array=0x8709c3c) at /tmp/php4-4.4.2/Zend/zend_execute.c:1719
#9 0xa7827661 in xdebug_execute (op_array=0x8709c3c) at /tmp/tmpxiAFCR/xdebug-2.0.0beta4/xdebug.c:1226
#10 0xa7d6ba74 in execute (op_array=0x82c012c) at /tmp/php4-4.4.2/Zend/zend_execute.c:2272
#11 0xa7827661 in xdebug_execute (op_array=0x82c012c) at /tmp/tmpxiAFCR/xdebug-2.0.0beta4/xdebug.c:1226
#12 0xa7d56f79 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /tmp/php4-4.4.2/Zend/zend.c:934
#13 0xa7d27b02 in php_execute_script (primary_file=0xafb20b84) at /tmp/php4-4.4.2/main/main.c:1753
#14 0xa7d76201 in php_handler (r=0x82b8fa8) at /tmp/php4-4.4.2/sapi/apache2handler/mod_php4.c:596
#15 0x08077e38 in ap_run_handler ()
#16 0x080781bc in ap_invoke_handler ()
#17 0x08069c7f in ap_process_request ()
#18 0x08064c52 in _start ()
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 14:00:01 2025 UTC |
<?php $tpl =& new HTML_Template_Sigma('/tmp', '/tmp/cache'); $this->data_scadenza = ''; $tpl->setVariable('data',date("d/m/Y",(strtotime($this->data_scadenza)))); ?>