Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57845 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33187 invoked from network); 14 Feb 2012 07:01:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Feb 2012 07:01:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.199.177.89 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:41539] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/82-16962-3D60A3F4 for ; Tue, 14 Feb 2012 02:01:39 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id 38FF2607D3; Tue, 14 Feb 2012 09:00:02 +0200 (IST) Received: from ws.home (10.1.10.2) by il-ex2.zend.net (10.1.1.22) with Microsoft SMTP Server (TLS) id 14.1.255.0; Tue, 14 Feb 2012 09:01:24 +0200 Message-ID: <4F3A06CE.5010907@zend.com> Date: Tue, 14 Feb 2012 11:01:34 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: Stas Malyshev CC: yoram bar haim , Gwynne Raskind , PHP Internals , Alex Haiut , Zeev Suraski , Eran Ifrah , Lior Kaplan References: <201202121409.54891.yoram.b@zend.com> <201202131138.00917.yoram.b@zend.com> <201202131157.31848.yoram.b@zend.com> <4F395534.5070406@sugarcrm.com> In-Reply-To: <4F395534.5070406@sugarcrm.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.1.10.2] Subject: Re: [PHP-DEV] Re: restore user opcode handler in PHP From: dmitry@zend.com (Dmitry Stogov) I thought Yoram sent some very simple test case yesterday. Thanks. Dmitry. On 02/13/2012 10:23 PM, Stas Malyshev wrote: > Hi! > >> Indeed, when using dlsym the value is recreated. >> now the question is what happens at apache restart (on mac) that causes >> incorrect behavior. >> a-priory to that question, static initializers can not be trusted on some >> situations. > > I think we need to figure out why. This is standard behavior for dynamic > objects, before we start patching around I think we need to understand > why it doesn't work - maybe we are doing something wrong in some other > place. > So right now do we have something simple on Mac that looks like mod_php > and demonstrates the problem?