Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21369 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20837 invoked by uid 1010); 3 Jan 2006 16:41:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20822 invoked from network); 3 Jan 2006 16:41:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jan 2006 16:41:36 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:34914] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 50/CB-34518-F39AAB34 for ; Tue, 03 Jan 2006 11:41:35 -0500 Received: from [192.168.200.106] (c-24-6-5-134.hsd1.ca.comcast.net [24.6.5.134]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id k03GfRij031176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 3 Jan 2006 08:41:28 -0800 Message-ID: <43BAA937.2000702@lerdorf.com> Date: Tue, 03 Jan 2006 08:41:27 -0800 User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Jochem Maas CC: php internals References: <43BA6FD4.4010103@iamjochem.com> In-Reply-To: <43BA6FD4.4010103@iamjochem.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] debugging APC - bit over my head; clue desired From: rasmus@lerdorf.com (Rasmus Lerdorf) Jochem Maas wrote: > a while back I was asking about APC - I have a problem with php > seghfaulting when I use APC _and_ turn on the opcode cache (apc_store() > and apc_fetch() work very well - I'm sticking _lots_ of 'ResultSet' objects > in there for instance and it works very nicely) Note that caching arrays is way faster than caching objects, so if at all possible, convert your ResultSet object to an associative array before storing it. To fix your segfault I'll need a short PHP script that reproduces the problem. On one hand I bet an script doesn't crash it, and on the other you have whatever code you are running that does. Step up from Hello World slowly until it starts crashing and send me that. -Rasmus