Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32449 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59615 invoked by uid 1010); 26 Sep 2007 19:54:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59599 invoked from network); 26 Sep 2007 19:54:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Sep 2007 19:54:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=mbechler@eenterphace.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mbechler@eenterphace.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain eenterphace.org from 212.227.83.217 cause and error) X-PHP-List-Original-Sender: mbechler@eenterphace.org X-Host-Fingerprint: 212.227.83.217 phoenix.epplehaus.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.227.83.217] ([212.227.83.217:51625] helo=server1.epplehaus.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/9A-33278-CE8BAF64 for ; Wed, 26 Sep 2007 15:54:21 -0400 Received: from localhost (unknown [127.0.0.1]) by server1.epplehaus.de (Postfix) with ESMTP id DD413B80B0; Wed, 26 Sep 2007 19:54:17 +0000 (UTC) X-Virus-Scanned: by amavisd-new at epplehaus.de Received: from server1.epplehaus.de ([127.0.0.1]) by localhost (mail.epplehaus.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fj2GyJ83fEDL; Wed, 26 Sep 2007 21:54:17 +0200 (CEST) Received: from [192.168.0.86] (p5B2EDE91.dip.t-dialin.net [91.46.222.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server1.epplehaus.de (Postfix) with ESMTP id B11A0B80AC; Wed, 26 Sep 2007 21:54:16 +0200 (CEST) Message-ID: <46FAB8E6.3090601@eenterphace.org> Date: Wed, 26 Sep 2007 21:54:14 +0200 User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: Martin Alterisio CC: internals@lists.php.net References: <52dbac0f0709261133t50d1f93oc496297de5664e62@mail.gmail.com> In-Reply-To: <52dbac0f0709261133t50d1f93oc496297de5664e62@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Just checking something before posting a bug report From: mbechler@eenterphace.org (Moritz Bechler) Hi, I can confirm that behaviour (older CVS build) and it seems that you can get that thingy to segfault if you var_dump twice. That might be helpful for investigating that "interesting" behaviour. Backtrace follows... #0 0x000000000087a3b9 in zend_mm_check_ptr (heap=0xe20710, ptr=0x7fffa5cd22c8, silent=0x1, __zend_filename=0xbf3e40 "/usr/src/php5/Zend/zend_variables.c", __zend_lineno=0xaf, __zend_orig_filename=0xbf2830 "/usr/src/php5/Zend/zend_execute.h", __zend_orig_lineno=0x46) at /usr/src/php5/Zend/zend_alloc.c:1264 #1 0x000000000087bdc8 in _zend_mm_free_int (heap=0xe20710, p=0x7fffa5cd22c8, __zend_filename=0xbf3e40 "/usr/src/php5/Zend/zend_variables.c", __zend_lineno=0xaf, __zend_orig_filename=0xbf2830 "/usr/src/php5/Zend/zend_execute.h", __zend_orig_lineno=0x46) at /usr/src/php5/Zend/zend_alloc.c:1895 #2 0x000000000087d4b5 in _efree (ptr=0x7fffa5cd22c8, __zend_filename=0xbf3e40 "/usr/src/php5/Zend/zend_variables.c", __zend_lineno=0xaf, __zend_orig_filename=0xbf2830 "/usr/src/php5/Zend/zend_execute.h", __zend_orig_lineno=0x46) at /usr/src/php5/Zend/zend_alloc.c:2263 #3 0x000000000088c248 in safe_free_zval_ptr_rel (p=0x7fffa5cd22c8, __zend_filename=0xbf3e40 "/usr/src/php5/Zend/zend_variables.c", __zend_lineno=0xaf, __zend_orig_filename=0xbf2798 "/usr/src/php5/Zend/zend_execute_API.c", __zend_orig_lineno=0x19f) at zend_execute.h:70 #4 0x000000000088c1cd in _zval_ptr_dtor (zval_ptr=0x10d04d0, __zend_filename=0xbf3e40 "/usr/src/php5/Zend/zend_variables.c", __zend_lineno=0xaf) at /usr/src/php5/Zend/zend_execute_API.c:415 #5 0x000000000089b0e1 in _zval_ptr_dtor_wrapper (zval_ptr=0x10d04d0) at /usr/src/php5/Zend/zend_variables.c:175 #6 0x00000000008aa9fa in zend_hash_destroy (ht=0x10cfed8) at /usr/src/php5/Zend/zend_hash.c:526 #7 0x0000000000891865 in destroy_zend_class (pce=0x10f9cb8) at /usr/src/php5/Zend/zend_opcode.c:182 #8 0x00000000008aada8 in zend_hash_apply_deleter (ht=0xe21040, p=0x10f9ca0) at /usr/src/php5/Zend/zend_hash.c:611 #9 0x00000000008ab3de in zend_hash_reverse_apply (ht=0xe21040, apply_func=0x88b75b ) at /usr/src/php5/Zend/zend_hash.c:760 #10 0x000000000088be10 in shutdown_executor () at /usr/src/php5/Zend/zend_execute_API.c:291 #11 0x000000000089c755 in zend_deactivate () at /usr/src/php5/Zend/zend.c:860 #12 0x0000000000843392 in php_request_shutdown (dummy=0x0) at /usr/src/php5/main/main.c:1463 #13 0x00000000009206de in main (argc=0x2, argv=0x7fffa5cd4cd8) at /usr/src/php5/sapi/cli/php_cli.c:1332 best regards Moritz Bechler