Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41084 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42179 invoked from network); 15 Oct 2008 18:40:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Oct 2008 18:40:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.46.28 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 74.125.46.28 yw-out-2324.google.com Received: from [74.125.46.28] ([74.125.46.28:62939] helo=yw-out-2324.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/90-39277-40936F84 for ; Wed, 15 Oct 2008 14:40:04 -0400 Received: by yw-out-2324.google.com with SMTP id 5so808233ywb.83 for ; Wed, 15 Oct 2008 11:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=28jCcfDOW0nq1w6jpXKeaRUn44BBKUqV4gfzMvpqVDA=; b=LAQpO4E5RZPGI2Ld+WagsJ/c6MxQVf5AjL2J1iXd6jh1ThMwex1Z3ogQbKwjOnItkl 1BkDa8gfeiOHpS1DAOxWVkpy7o5oh3UgUQ0txPvq/NawrKymJEwc6RlRouMMrHJAEm6T rEt9CLdDxyV9yuJt88FbIdyfEmk+hbglozXxU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=wc+uyzGIQZoZ5nQ9KkTfL/C/H2SlCcl+8krs7shBcVvu3BM9DxUprjrPBf9tjXd2ok 1EOqsmNNz1FEuJTORFnM6G36o8gDspH7Fx5rvqldNuPptIYlwo8kaz21Z9TyAOBR3y8q X3p4SbXk22H88z3yis4/dYO7AKCZJdXTaut2c= Received: by 10.90.96.15 with SMTP id t15mr1523059agb.91.1224096001384; Wed, 15 Oct 2008 11:40:01 -0700 (PDT) Received: from ?10.0.18.8? (venus.fioprev.org.br [157.86.206.62]) by mx.google.com with ESMTPS id 39sm136260agb.23.2008.10.15.11.39.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 15 Oct 2008 11:40:00 -0700 (PDT) To: Olivier Bonvalet Cc: internals@lists.php.net In-Reply-To: <48F5F3AE.4090306@daevel.net> References: <48EF89BD.5030904@daevel.fr> <48F05C90.1070609@suse.de> <48F0E7F2.2010607@daevel.fr> <48F5F3AE.4090306@daevel.net> Content-Type: text/plain; charset=utf-8 Date: Wed, 15 Oct 2008 15:39:56 -0300 Message-ID: <1224095996.4866.4.camel@felipe> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] segfault after an "invalid read of size 8" From: felipensp@gmail.com (Felipe Pena) Hi Olivier, Em Qua, 2008-10-15 às 15:44 +0200, Olivier Bonvalet escreveu: > So, I reduce the script which throw the segmentation fault. > > My environment : > Debian Lenny, 64bits > Latest PHP 5.2 from CVS (php5.2-200810151030) compiled with : > ./configure --prefix=/home/dev-olivier/usr/ --disable-all > --enable-debug > > > In "first.php" I have this code : > ============================================================ > class main > { > public static $dummy = NULL ; > public static $dataAccessor = NULL ; > } > > class dataAccessor > { > } > > class relay > { > public function __get( $name ) > { > main::$dataAccessor = new dataAccessor; > } > } > > class dummy > { > } > > main::$dummy = new dummy(); > main::$dataAccessor = new relay(); > ?> > ============================================================ > > And in "second.php" I have this : > (if I regroup all code in one file, there is no segfault) That is weird, cannot you reproduce it using the code below? bar); ?> Anyway, please file a bug report: http://bugs.php.net/report.php Thanks. -- Regards, Felipe Pena