Bug #61472 [Opn]: cannot use date function in mips64

2012-03-22 Thread jonathanbj at qq dot com
Edit report at https://bugs.php.net/bug.php?id=61472&edit=1

 ID: 61472
 User updated by:jonathanbj at qq dot com
 Reported by:jonathanbj at qq dot com
 Summary:cannot use date function in mips64
 Status: Open
 Type:   Bug
 Package:Reproducible crash
 Operating System:   linux 2.6
 PHP Version:5.4.0
 Block user comment: N
 Private report: N

 New Comment:

(gdb) bt
#0  0x00e4ba38 in memcpy () at 
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:195
#1  0x00012007ef18 in timelib_parse_tzfile (timezone=, 
tzdb=)
at /home/ck/trunk/dongda/apps/php-5.4.0/ext/date/lib/parse_tz.c:124
#2  0x0001200540f0 in php_date_parse_tzfile (formal_tzname=0x55565496b0 "", 
tzdb=0x120795ffe)
at /home/ck/trunk/dongda/apps/php-5.4.0/ext/date/php_date.c:831
#3  0x000120056c9c in get_timezone_info () at 
/home/ck/trunk/dongda/apps/php-5.4.0/ext/date/php_date.c:877
#4  0x000120059964 in php_format_date (format=0x555614b0c0 "l", 
format_len=1, ts=4839792638, localtime=1)
at /home/ck/trunk/dongda/apps/php-5.4.0/ext/date/php_date.c:1126
#5  0x00012005a40c in php_date (ht=1, return_value=0x5ab368, 
return_value_ptr=, 
this_ptr=, return_value_used=, 
localtime=1)
at /home/ck/trunk/dongda/apps/php-5.4.0/ext/date/php_date.c:
#6  0x0001203a0bc0 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x579060)
at /home/ck/trunk/dongda/apps/php-5.4.0/Zend/zend_vm_execute.h:642
#7  0x0001203a8d0c in execute (op_array=)
at /home/ck/trunk/dongda/apps/php-5.4.0/Zend/zend_vm_execute.h:410
#8  0x000120369180 in zend_execute_scripts (type=8, retval=0x0, 
file_count=3)
at /home/ck/trunk/dongda/apps/php-5.4.0/Zend/zend.c:1272
#9  0x0001202f92f4 in php_execute_script (primary_file=0xaec568)
at /home/ck/trunk/dongda/apps/php-5.4.0/main/main.c:2473
#10 0x00012043d328 in do_cli (argc=0, argv=0xaecbe8) at 
/home/ck/trunk/dongda/apps/php-5.4.0/sapi/cli/php_cli.c:983
#11 0x00012043daa0 in main (argc=0, argv=0xaecbe8) at 
/home/ck/trunk/dongda/apps/php-5.4.0/sapi/cli/php_cli.c:1356
(gdb)


Previous Comments:
----
[2012-03-22 12:31:48] jonathanbj at qq dot com

Description:

1) get the source of php 5.4.0 or 5.3.6:
./configure --host=mips64-unkown-linux
make

2) do the test
  ./php 3.php
  Result with date()Segmentation fault (core dumped)



  



Test script:
---









-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61472&edit=1


[PHP-BUG] Bug #61472 [NEW]: cannot use date function in mips64

2012-03-22 Thread jonathanbj at qq dot com
From: 
Operating system: linux 2.6
PHP version:  5.4.0
Package:  Reproducible crash
Bug Type: Bug
Bug description:cannot use date function in mips64

Description:

1) get the source of php 5.4.0 or 5.3.6:
./configure --host=mips64-unkown-linux
make

2) do the test
  ./php 3.php
  Result with date()Segmentation fault (core dumped)



  



Test script:
---




-- 
Edit bug report at https://bugs.php.net/bug.php?id=61472&edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=61472&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=61472&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=61472&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=61472&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61472&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=61472&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=61472&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=61472&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=61472&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=61472&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=61472&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=61472&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=61472&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=61472&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=61472&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=61472&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=61472&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=61472&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=61472&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=61472&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=61472&r=mysqlcfg