Re: [PHP4BETA] Zend list destructor weirdness
| From: | Thies C. Arntzen | Date: | Thu, 30 Dec 1999 17:46:26 +0000 |
| Subject: | Re: [PHP4BETA] Zend list destructor weirdness | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8727@lists.php.net to get a copy of this message | ||
On Thu, 30 Dec 1999, Andreas Karajannis wrote:
you can not call any *list* function from a destructor.
i've done some "fancy" refcount stuff in oci8.c (look for _add_ref) to
overcome this problem.
please send me more details (what call order etc) i might be able to
help.
tc
> Hi,
>
> I'm having problems with the list destructor obviuosly calling the
> destructor function twice for an entry, leading to segfaults in some
> adabas library when trying to free an already freed handle for the
> second time.
> Is there some recursion somewhere? The second time the destructor gets
> called, it is called with the same memory address (for the list entry)
> as before.
>
> -Andreas
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany