Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27665 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8083 invoked by uid 1010); 26 Jan 2007 07:30:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8067 invoked from network); 26 Jan 2007 07:30:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2007 07:30:31 -0000 Received: from [127.0.0.1] ([127.0.0.1:4403]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 39/95-45640-61EA9B54 for ; Fri, 26 Jan 2007 02:30:30 -0500 X-Host-Fingerprint: 84.65.158.52 user-54419e34.lns1-c7.dsl.pol.co.uk Received: from [84.65.158.52] ([84.65.158.52:8491] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/95-45640-E7DA9B54 for ; Fri, 26 Jan 2007 02:27:58 -0500 Message-ID: To: internals@lists.php.net Date: Fri, 26 Jan 2007 07:27:17 +0000 User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 84.65.158.52 Subject: PHP6 - x64 SegFault From: chrism@cjsoftuk.dyndns.org (Chris Malton) 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=, 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