Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10931 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8440 invoked by uid 1010); 6 Jul 2004 15:58:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8410 invoked from network); 6 Jul 2004 15:58:21 -0000 Received: from unknown (HELO out2.smtp.messagingengine.com) (66.111.4.26) by pb1.pair.com with SMTP; 6 Jul 2004 15:58:21 -0000 Received: from server3.messagingengine.com (server3.internal [10.202.2.134]) by mail.messagingengine.com (Postfix) with ESMTP id 9B603C1034E for ; Tue, 6 Jul 2004 11:58:19 -0400 (EDT) Received: by server3.messagingengine.com (Postfix, from userid 99) id 92869179F65; Tue, 6 Jul 2004 11:58:20 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.4 (F2.72; T1.001; A1.62; B3.01; Q3.01) To: internals@lists.php.net Date: Tue, 06 Jul 2004 08:58:20 -0700 X-Sasl-Enc: Xs5pRo2Xf9lfupP7zv97Iw 1089129500 Message-ID: <1089129500.25150.199825559@webmail.messagingengine.com> Subject: handle member in zend_module_entry is not getting populated From: kameshj@fastmail.fm ("Kamesh Jayachandran") Hi All, In Zend/zend_API.c function module_destructor There is a code to do a dlclose on the dlopened handle. The code looks like following, if (module->handle) { dlclose(module->handle); } Unfortunately this module->handle is always 0 which causes this symbols not getting unloaded.(Even for dynamically loaded PHP extnsion also handle is 0) Till version 1.91 of ext/standard/dl.c this handle member was getting populated. From 1.92 onwards this stopped happening.. With regards Kamesh Jayachandran