Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55697 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80757 invoked from network); 4 Oct 2011 13:34:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Oct 2011 13:34:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=Alan.Chester@tekelec.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=Alan.Chester@tekelec.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain tekelec.com from 198.89.35.103 cause and error) X-PHP-List-Original-Sender: Alan.Chester@tekelec.com X-Host-Fingerprint: 198.89.35.103 dcmx03.tekelec.com Received: from [198.89.35.103] ([198.89.35.103:41263] helo=dcexchedge02.tekelec.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/22-59399-B7B0B8E4 for ; Tue, 04 Oct 2011 09:34:52 -0400 Received: from DCHUB2.tekelec.com (199.165.206.133) by dcexchedge02.tekelec.com (198.89.35.103) with Microsoft SMTP Server (TLS) id 8.2.255.0; Tue, 4 Oct 2011 09:31:04 -0400 Received: from MAIL1.tekelec.com ([fe80::7c90:f639:3420:9d52]) by DCHUB2.tekelec.com ([::1]) with mapi; Tue, 4 Oct 2011 09:34:48 -0400 To: Antony Dovgal , php-dev Date: Tue, 4 Oct 2011 09:34:46 -0400 Thread-Topic: [PHP-DEV] zend memory managment null pointer dereference Thread-Index: AcyCCgZ1MB8hZ7EHRYulfX8v6h9AVAAjSUVg Message-ID: References: <4E8A129F.7090400@daylessday.org> <4E8A1940.7070204@daylessday.org> In-Reply-To: <4E8A1940.7070204@daylessday.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] zend memory managment null pointer dereference From: Alan.Chester@tekelec.com ("Chester, Alan") Antony, I am fairly confident we are not using any third party caching (ie apc, eAc= celerator,etc). However other then running php --version is there any othe= r way to verify what caching system is being used? [root@cab4en2b7 ~]# php --version PHP 5.2.17 (cli) (built: Aug 2 2011 13:33:29) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans Also trying to find a reproducer I have wrote a test php script which creat= es multiple objects and another script which sends signals to the script wh= ich is creating objects to try to get into the faulty cleanup. I have had = little success with this and was wondering if this is not the best way to t= ry to reproduce this or if there is a better way which may cause the memory= to get corrupted? Also will this type of issue be seen with stand alone p= hp or would I need this to be running with http? Thanks, Alan =20 -----Original Message----- From: Antony Dovgal [mailto:tony@daylessday.org]=20 Sent: Monday, October 03, 2011 4:21 PM To: Chester, Alan; php-dev Subject: Re: [PHP-DEV] zend memory managment null pointer dereference On 10/04/2011 12:06 AM, Chester, Alan wrote: > Antony, > > Thank you for the quick response. I will work towards finding a reproduc= er and using valgrind to gather more information. > > Since I have been trying for to find a reproducer but have had no luck so= far, do you think reducing the cache size > would help in finding a reproducer? If so how is this done? Or does cac= he/cache size have nothing to do with this area of code? Reducing the cache size will not help for sure, but disabling the cache ent= irely will help us to understand whether this problem is caused by your cache or not. Btw, you didn't specify which kind of cache is that. =20 > Also would you like to me open a bug ticket to track this issue? It depends on the kind of cache you're using (there are several caches on t= he market that aren't part of PHP project) and whether the cache is guilty or not. --=20 Wbr, Antony Dovgal --- http://pinba.org - realtime profiling for PHP