Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57145 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37232 invoked from network); 29 Dec 2011 11:15:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Dec 2011 11:15:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:47606] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/B0-32524-CEB4CFE4 for ; Thu, 29 Dec 2011 06:15:56 -0500 Received: by yenl6 with SMTP id l6so7853070yen.29 for ; Thu, 29 Dec 2011 03:15:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=4dAn5gE92OnI9RVHYImeceN1SeCspD8EdJAhwFQRzQI=; b=Kelhng7Ffh93BZQDV92Ub3i6VRlg07ACYMe2BQFrkhVXDUJiPTSyhfptUlGC0qVzEq MPbca+WCNYk/RKMuiZ1dbjN071R5h6ZLZJ11X6C7HZLMaCHlyxbsuydUwhgsXo86+trN nKDCt0d852g95crWZiFZNT87kwVq253TQNs7Y= MIME-Version: 1.0 Received: by 10.236.175.72 with SMTP id y48mr47779338yhl.17.1325157353461; Thu, 29 Dec 2011 03:15:53 -0800 (PST) Received: by 10.146.238.8 with HTTP; Thu, 29 Dec 2011 03:15:53 -0800 (PST) In-Reply-To: <4EFC48AD.8050708@fedoraproject.org> References: <4EFC48AD.8050708@fedoraproject.org> Date: Thu, 29 Dec 2011 12:15:53 +0100 Message-ID: To: Remi Collet Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] help debuging a segfault From: pierre.php@gmail.com (Pierre Joye) hi Remi, Does it happen only with the ice extension? If yes I would suggest to contact the authors, which are in no way involved in php.net for this extension. Sadly the bt does not help much to identify the source of the problem, it can be many things. Cheers, On Thu, Dec 29, 2011 at 12:02 PM, Remi Collet wrot= e: > Hi, > > I'm working on PHP 5.4 as a fedora 17 feature. > https://fedoraproject.org/wiki/Features/Php54 > > Mainly, I test all available extension (~40) compatibility and try to > fix, when needed, and report bug upstream. (mostly done) > > But I encounter a segfault with ice-php. > > (gdb) bt > #0 =A0_zend_mm_free_int (heap=3D0xdf02d0, p=3D0xdf09e0) at > /usr/src/debug/php5.4-201112261030/Zend/zend_alloc.c:2100 > #1 =A00x00000000005e44d9 in zend_objects_free_object_storage > (object=3D0x7ffff7fb9110) at > /usr/src/debug/php5.4-201112261030/Zend/zend_objects.c:137 > #2 =A00x00000000005ea36f in zend_objects_store_del_ref_by_handle_ex > (handle=3D8, handlers=3D) > =A0 =A0at /usr/src/debug/php5.4-201112261030/Zend/zend_objects_API.c:220 > #3 =A00x00000000005ea393 in zend_objects_store_del_ref > (zobject=3D0x7ffff7fb90e0) at > /usr/src/debug/php5.4-201112261030/Zend/zend_objects_API.c:172 > #4 =A00x00000000005b3e9a in _zval_dtor (zvalue=3D) at > /usr/src/debug/php5.4-201112261030/Zend/zend_variables.h:35 > #5 =A0_zval_ptr_dtor (zval_ptr=3D0x7ffff7fb91b8) at > /usr/src/debug/php5.4-201112261030/Zend/zend_execute_API.c:438 > #6 =A0_zval_ptr_dtor (zval_ptr=3D0x7ffff7fb91b8) at > /usr/src/debug/php5.4-201112261030/Zend/zend_execute_API.c:427 > #7 =A00x00000000005cf131 in zend_hash_apply_deleter (ht=3D0xa008e8, > p=3D0x7ffff7fb91a0) at /usr/src/debug/php5.4-201112261030/Zend/zend_hash.= c:650 > #8 =A00x00000000005d0c71 in zend_hash_reverse_apply (ht=3D0xa008e8, > apply_func=3D0x5b3d00 ) > =A0 =A0at /usr/src/debug/php5.4-201112261030/Zend/zend_hash.c:804 > #9 =A00x00000000005b41b1 in shutdown_destructors () at > /usr/src/debug/php5.4-201112261030/Zend/zend_execute_API.c:217 > #10 0x00000000005c2ce7 in zend_call_destructors () at > /usr/src/debug/php5.4-201112261030/Zend/zend.c:918 > #11 0x00000000005631b5 in php_request_shutdown (dummy=3D) > at /usr/src/debug/php5.4-201112261030/main/main.c:1723 > #12 0x000000000066b824 in do_cli (argc=3D3, argv=3D0x7fffffffe098) at > /usr/src/debug/php5.4-201112261030/sapi/cli/php_cli.c:1169 > #13 0x0000000000425afe in main (argc=3D3, argv=3D0x7fffffffe098) at > /usr/src/debug/php5.4-201112261030/sapi/cli/php_cli.c:1356 > > > Any help on "where to search" will be appreciated... > > Remi. > > > P.S. here is the patch used to build ice extension (perhaps something is > wrong in this) > https://raw.github.com/remicollet/remirepo/5bffe46723937624ae26dc944b8afc= e4f25b4fa2/ice/ice-3.4.2-php54.patch > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org