Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19134 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88729 invoked by uid 1010); 23 Sep 2005 03:15:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 88713 invoked from network); 23 Sep 2005 03:15:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2005 03:15:22 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:51520] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C8/38-24510-94373334 for ; Thu, 22 Sep 2005 23:15:22 -0400 Received: (qmail 22201 invoked from network); 23 Sep 2005 03:15:17 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 23 Sep 2005 03:15:17 -0000 Message-ID: <6.2.3.4.2.20050922201402.03a0a270@localhost> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Thu, 22 Sep 2005 20:15:11 -0700 To: Wez Furlong ,internals In-Reply-To: <4e89b426050922192768c6764e@mail.gmail.com> References: <4e89b426050922192768c6764e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] shutdown order changed again? broken dl()'d modules, again From: andi@zend.com (Andi Gutmans) Yep, we reverted to the previous state because we broke stuff. The real solution is to have a two phase shutdown. Is your script just for testing? (it's weird to have a persistent connection with a dl(), but that doesn't mean we shouldn't introduce another shutdown stage.) At 07:27 PM 9/22/2005, Wez Furlong wrote: >I'm getting this on shutdown with PHP 5.1 when using persistent >connections with a dl'd PDO. >Dan mentioned something similar with the ibm_db2 extension: > >==23982== >==23982== Jump to the invalid address stated on the next line >==23982== at 0x1BCE5C0B: ??? >==23982== by 0x81BB4BC: zend_hash_apply_deleter (zend_hash.c:574) >==23982== by 0x81BB665: zend_hash_graceful_reverse_destroy >(zend_hash.c:640) >==23982== by 0x81BD680: zend_destroy_rsrc_list (zend_list.c:240) >==23982== Address 0x1BCE5C0B is not stack'd, malloc'd or (recently) free'd >==23982== >==23982== Process terminating with default action of signal 11 (SIGSEGV) >==23982== Access not within mapped region at address 0x1BCE5C0B >==23982== at 0x1BCE5C0B: ??? >==23982== by 0x81BB4BC: zend_hash_apply_deleter (zend_hash.c:574) >==23982== by 0x81BB665: zend_hash_graceful_reverse_destroy >(zend_hash.c:640) >==23982== by 0x81BD680: zend_destroy_rsrc_list (zend_list.c:240) > >Sounds like we're unloading the modules before calling the dtors again. > >--Wez. > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php