Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7864 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19740 invoked by uid 1010); 16 Feb 2004 05:23:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19696 invoked from network); 16 Feb 2004 05:23:59 -0000 Received: from unknown (HELO lakemtao04.cox.net) (68.1.17.241) by pb1.pair.com with SMTP; 16 Feb 2004 05:23:59 -0000 Received: from velum.net ([68.98.128.109]) by lakemtao04.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040216052400.JJEC19895.lakemtao04.cox.net@velum.net> for ; Mon, 16 Feb 2004 00:24:00 -0500 Message-ID: <403053EC.6090501@velum.net> Date: Mon, 16 Feb 2004 00:23:56 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: segfault in shutdown sequence From: hans@velum.net (Hans Lellelid) I'm getting a segfault at the end of (successful) script execution. Appears to be an issue in the shutdown sequence; I'm unsure how to report this bug, since providing duplicating code is not possible. The segfault is happening at the end of a Phing (http://phing.info) build process, which involves many (over a hundred, I'm sure) classes, uses reflection api heavily, XML (expat), etc. Here's a bugtrace from the core file. I don't know if this is any help at all. I was hoping to find some 'execute' lines so I could track down the issue in my code. This seems to be just part of the shutdown sequence, though. If anyone has some suggestions for things I could look for, please let me know. Thanks, Hans #0 0x0818e625 in zend_mm_remove_from_free_list (heap=0x81f7a80, mm_block=0xbed43144) at /home/work/php-5.0.0b4/Zend/zend_mm.c:163 #1 0x0818e158 in zend_mm_free (heap=0x81f7a80, p=0xbed434b0) at /home/work/php-5.0.0b4/Zend/zend_mm.c:356 #2 0x0816bf79 in _efree (ptr=0x3) at /home/work/php-5.0.0b4/Zend/zend_alloc.c:283 #3 0x0818bc50 in zend_objects_free_object_storage (object=0xbed44fec) at /home/work/php-5.0.0b4/Zend/zend_objects.c:78 #4 0x0818e94e in reflection_free_objects_storage (object=0xbed44fec) at /home/work/php-5.0.0b4/Zend/zend_reflection_api.c:191 #5 0x0818da3c in zend_objects_store_del_ref (zobject=0x3) at /home/work/php-5.0.0b4/Zend/zend_objects_API.c:140 #6 0x0817c1d1 in _zval_dtor (zvalue=0xbed443e4) at /home/work/php-5.0.0b4/Zend/zend_variables.c:61 #7 0x08174f79 in _zval_ptr_dtor (zval_ptr=0xbed48798) at /home/work/php-5.0.0b4/Zend/zend_execute_API.c:359 #8 0x08182da0 in zend_hash_destroy (ht=0xbedae214) at /home/work/php-5.0.0b4/Zend/zend_hash.c:513 #9 0x0817c1fd in _zval_dtor (zvalue=0xbedafc14) at /home/work/php-5.0.0b4/Zend/zend_variables.c:52 #10 0x08174f79 in _zval_ptr_dtor (zval_ptr=0xbed46430) at /home/work/php-5.0.0b4/Zend/zend_execute_API.c:359 #11 0x08182da0 in zend_hash_destroy (ht=0xbed44324) at /home/work/php-5.0.0b4/Zend/zend_hash.c:513 #12 0x0818bc47 in zend_objects_free_object_storage (object=0xbedac1cc) at /home/work/php-5.0.0b4/Zend/zend_objects.c:77 #13 0x0818d878 in zend_objects_store_free_object_storage (objects=0x81f7f70) at /home/work/php-5.0.0b4/Zend/zend_objects_API.c:71 #14 0x08174d90 in shutdown_executor () at /home/work/php-5.0.0b4/Zend/zend_execute_API.c:273 #15 0x0817d4ec in zend_deactivate () at /home/work/php-5.0.0b4/Zend/zend.c:813 #16 0x0814cd9b in php_request_shutdown (dummy=0x0) at /home/work/php-5.0.0b4/main/main.c:1243 #17 0x081a13bf in main (argc=9, argv=0xbff651c4) at /home/work/php-5.0.0b4/sapi/cli/php_cli.c:1044