Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17241 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50093 invoked by uid 1010); 12 Jul 2005 14:15:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50059 invoked from network); 12 Jul 2005 14:15:30 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 12 Jul 2005 14:15:30 -0000 X-Host-Fingerprint: 63.118.113.4 miami4.us.univision.com Received: from ([63.118.113.4:12727] helo=localhost.localdomain) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 59/83-23681-080D3D24 for ; Tue, 12 Jul 2005 10:15:29 -0400 Message-ID: <59.83.23681.080D3D24@pb1.pair.com> To: internals@lists.php.net References: <32.3E.23681.9C843D24@pb1.pair.com> Date: Tue, 12 Jul 2005 10:12:56 -0400 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Posted-By: 63.118.113.4 Subject: Re: [PHP-DEV] Interesting zend_executor_globals Find... From: jrhernandez05@gmail.com ("Jessie Hernandez") Andrei, Yes, I did a make clean before changing the struct on both occasions (putting it after class_table and at the end of the struct). -- Jessie "Andrei Zmievski" wrote in message news:EADB04D5-CC76-4A5D-940C-4D40FBBABE6B@gravitonic.com... > 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? > >