problem with EG(uninitialized_zval_ptr)

From: Date: Mon, 28 Oct 2002 15:13:34 +0000
Subject: problem with EG(uninitialized_zval_ptr)
Groups: php.dev 
Request: Send a blank email to php-dev+get-90201@lists.php.net to get a copy of this message
zee, andi - in threded mode we access (atleast) EG(uninitialized_zval_ptr) before it's initialized -> BadIdea(tm) what happens is that (see assert.c as an example) OnChangeCallback gets called by the ini-mechanism before the executor is initialized. but zval_ptr_dtor (used in assert.c-OnChangeCallback) checks against EG(uninitialized_zval_ptr) - so calling zval_ptr_dtor anytime before init_executor will cause an UMR. i know that the startup-order is a very delicate thing so i'd like to check with you guys first if you have any ideas.. re, tc -- Thies C. Arntzen - Looking for all sorts of freelance work - just ask.. http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ

« previous php.dev (#90201) next »