Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17239 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9379 invoked by uid 1010); 12 Jul 2005 05:09:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9364 invoked from network); 12 Jul 2005 05:09:44 -0000 Received: from unknown (HELO gravitonic.com) (127.0.0.1) by localhost with SMTP; 12 Jul 2005 05:09:44 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:39282] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 06/EE-23681-79053D24 for ; Tue, 12 Jul 2005 01:09:44 -0400 Received: from [192.168.11.3] (c-24-6-96-18.hsd1.ca.comcast.net [24.6.96.18]) (authenticated bits=0) by colo.lerdorf.com (8.13.4/8.13.4/Debian-3) with ESMTP id j6C59aT6028453; Mon, 11 Jul 2005 22:09:37 -0700 In-Reply-To: <32.3E.23681.9C843D24@pb1.pair.com> References: <32.3E.23681.9C843D24@pb1.pair.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Mon, 11 Jul 2005 22:09:35 -0700 To: Jessie Hernandez X-Mailer: Apple Mail (2.730) Subject: Re: [PHP-DEV] Interesting zend_executor_globals Find... From: andrei@gravitonic.com (Andrei Zmievski) Did you recompile PHP completely after you changed the struct? If not, it's very simple. When you insert a new variable into the middle of the structure, all the subsequent variables are shifted down. The ones that used to be at a certain offset can no longer be found there by the code in previously compiled modules and you are very likely to end up with a segfault. -Andrei On Jul 11, 2005, at 9:36 PM, Jessie Hernandez wrote: > > Does anyone know why this happens? >