Extension makes PHP Crash!
| From: | Markus Duft | Date: | Mon, 11 Jul 2005 09:55:53 +0000 |
| Subject: | Extension makes PHP Crash! | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2597@lists.php.net to get a copy of this message | ||
Ok, something weird:
When stripping all class constant declaration from my extension everything works, but from defining
the first class constant on, php crashes at exit. i now put the line
CG(class_table)->pDestructor = NULL;
in my code, and everything works... it seems there is a problem in zend_hash_destroy...
BUT, the really weird thing is, that php crashes while freeing the function_table of the CE not the
constants_table, but i never touched the function_table......
i simply don't know.... if anybody does know, please drop me a message ;o)
Regards, Markus!