Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19135 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97113 invoked by uid 1010); 23 Sep 2005 03:29:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97098 invoked from network); 23 Sep 2005 03:29:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2005 03:29:13 -0000 X-Host-Fingerprint: 64.233.162.194 zproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.162.194:54316] helo=zproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 58/89-24510-88673334 for ; Thu, 22 Sep 2005 23:29:12 -0400 Received: by zproxy.gmail.com with SMTP id 40so418232nzk for ; Thu, 22 Sep 2005 20:29:09 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d5xxp1FCP9qgWDUX3Pl4GQ3SQQEawDtOxvytCou6z7DfPGbrVxCnHQbOUFIomwsLMEd2RpF0ioqNIohv4BtsVBhrbB3OLugrHklKQGAjRNDbx4OOuy4ElklZEiXmHnvoyagFDMpQCewRG6nCuNPKKgyv8ztkEIb0gExF+nqXASQ= Received: by 10.54.100.12 with SMTP id x12mr144746wrb; Thu, 22 Sep 2005 20:28:40 -0700 (PDT) Received: by 10.54.76.6 with HTTP; Thu, 22 Sep 2005 20:29:09 -0700 (PDT) Message-ID: <4e89b42605092220297a7c2beb@mail.gmail.com> Date: Thu, 22 Sep 2005 23:29:09 -0400 Reply-To: Wez Furlong To: Andi Gutmans Cc: internals In-Reply-To: <6.2.3.4.2.20050922201402.03a0a270@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4e89b426050922192768c6764e@mail.gmail.com> <6.2.3.4.2.20050922201402.03a0a270@localhost> Subject: Re: [PHP-DEV] shutdown order changed again? broken dl()'d modules, again From: kingwez@gmail.com (Wez Furlong) Actually, it's using php.ini to load pdo for the CLI, and not calling dl(). The script is just a test script, but this is still a PHP level bug that we should, IMO, fix before 5.1. --Wez. On 9/22/05, Andi Gutmans wrote: > 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: > > > >=3D=3D23982=3D=3D > >=3D=3D23982=3D=3D Jump to the invalid address stated on the next line > >=3D=3D23982=3D=3D at 0x1BCE5C0B: ??? > >=3D=3D23982=3D=3D by 0x81BB4BC: zend_hash_apply_deleter (zend_hash.c:= 574) > >=3D=3D23982=3D=3D by 0x81BB665: zend_hash_graceful_reverse_destroy > >(zend_hash.c:640) > >=3D=3D23982=3D=3D by 0x81BD680: zend_destroy_rsrc_list (zend_list.c:2= 40) > >=3D=3D23982=3D=3D Address 0x1BCE5C0B is not stack'd, malloc'd or (recen= tly) free'd > >=3D=3D23982=3D=3D > >=3D=3D23982=3D=3D Process terminating with default action of signal 11 (= SIGSEGV) > >=3D=3D23982=3D=3D Access not within mapped region at address 0x1BCE5C0B > >=3D=3D23982=3D=3D at 0x1BCE5C0B: ??? > >=3D=3D23982=3D=3D by 0x81BB4BC: zend_hash_apply_deleter (zend_hash.c:= 574) > >=3D=3D23982=3D=3D by 0x81BB665: zend_hash_graceful_reverse_destroy > >(zend_hash.c:640) > >=3D=3D23982=3D=3D by 0x81BD680: zend_destroy_rsrc_list (zend_list.c:2= 40) > > > >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 > >