PHP6 - x64 SegFault
| From: | Chris Malton | Date: | Fri, 26 Jan 2007 07:27:17 +0000 |
| Subject: | PHP6 - x64 SegFault | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-27665@lists.php.net to get a copy of this message | ||
Hi,
I'm new to the newsgroup and I'm trying to debug PHP 6 on a test server
(x64 architecture). However, for some unknown reason, it segfaults if I
try to run it with any files that work in PHP 5.2.0.
The segfault is at the end of most scripts, at the beginning of others.
The backtrace looks like this:
#0 _zend_mm_free_int (heap=0xb30330, p=0x377cff39f390d7e)
at /root/php6/Zend/zend_alloc.c:1522
#1 0x00000000006a5cdf in destroy_op_array (op_array=0x2ab2aef29ff8)
at /root/php6/Zend/zend-opcode.c:265
#2 0x00000000006b06d5 n zend_execute_scripts (type=8,retval=<value
optimised out>, file_count=3)
at /root/php6/ZendSend.c:1665
#3 0x0000000000662763 in php_execute_script (primary_file=0x7ffffbb9d360)
at /root/php6/main/main.c:1949
#4 0x000000000073d1c4 in main (argc=2, argv=0x7ffffbb9f5c8)
at /root/php6/sapi/cgi/cgi_main.c:1656
This looks like a Zend issue trying to clean up after the running of a
program.
Can somebody please find a fix? I'm willing to test a patch first
before it is committed.
Chris