Re: order in shutdown_executor causes trouble!
| From: | Andi Gutmans | Date: | Tue, 01 Feb 2000 15:34:51 +0000 |
| Subject: | Re: order in shutdown_executor causes trouble! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9626@lists.php.net to get a copy of this message | ||
Your patch is fine.
Thanks!
Andi
On Tue, 1 Feb 2000, Thies C . Arntzen wrote:
> hi,
>
> in shutdown_executor() we must destroy the
> garbage_ptr-stuff before we do a destroy_resource_list()
>
> right now:
>
> <? $fp=fopen("bal","r"); ?>
>
> causes:
>
> PHP Fatal error: ht=001a2ff8 is already destroyed in
> ../../php4/Zend/zend_hash.c:558 in Unknown on line 0
> ....
>
> and that's because somehow $fp gets put into the garbage list
> and that gets zval_ptr_dtored after EG(regular_list) got
> destroyed.
>
>
>