Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24278 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61184 invoked by uid 1010); 5 Jul 2006 15:43:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 61169 invoked from network); 5 Jul 2006 15:43:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2006 15:43:27 -0000 X-PHP-List-Original-Sender: gwynne@skytag.com X-Host-Fingerprint: 208.97.132.60 sd-green-bigip-60.dreamhost.com Linux 2.4/2.6 Received: from ([208.97.132.60:40319] helo=spunkymail-a11.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 8D/07-16663-D1EDBA44 for ; Wed, 05 Jul 2006 11:43:26 -0400 Received: from [192.168.0.101] (c-66-31-91-125.hsd1.ma.comcast.net [66.31.91.125]) by spunkymail-a11.dreamhost.com (Postfix) with ESMTP id AFD1FB80F3; Wed, 5 Jul 2006 08:43:20 -0700 (PDT) In-Reply-To: <003d01c6a046$2d594da0$d4651a44@OHRLVN4523SG> References: <7D65229E-FB18-402B-BFD9-212B7A285C21@skytag.com> <003d01c6a046$2d594da0$d4651a44@OHRLVN4523SG> Mime-Version: 1.0 (Apple Message framework v752.2) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Wed, 5 Jul 2006 11:43:18 -0400 To: "Sara Golemon" X-Mailer: Apple Mail (2.752.2) Subject: Re: Making changes to PG() (php_core_globals) From: gwynne@skytag.com (Gwynne) On Jul 5, 2006, at 11:17 AM, Sara Golemon wrote: > Did you run `make clean` between making the change and running the > build? > > Files containing PG(track_changes) aren't the only ones you need to > change, every PG element past track_changes is now located at a > different memory offset from the start of the structure. And if > you happen to be running under ZTS, you may even be not allocating > enough space for storage which'll result in overruns. Ouch! I guess I earned my crashes on that one, huh? Not doing a make clean... that's right up there with writing = where you mean == :). Thanks for the heads-up; it worked this time. -- Gwynne, Daughter of the Code "This whole world is an asylum for the incurable."