Re: Interesting zend_executor_globals Find...
| From: | Andrei Zmievski | Date: | Tue, 12 Jul 2005 05:09:35 +0000 |
| Subject: | Re: Interesting zend_executor_globals Find... | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17239@lists.php.net to get a copy of this message | ||
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?