Re: Interesting zend_executor_globals Find...

From: Date: Tue, 12 Jul 2005 14:12:56 +0000
Subject: Re: Interesting zend_executor_globals Find...
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-17241@lists.php.net to get a copy of this message
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" <andrei@gravitonic.com> 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? > >

« previous php.internals (#17241) next »