php4-beta | 199912
Date: 12/30/99
- Next message: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Previous message: Terrelle Shaw: "[PHP4BETA] mail function"
- In reply to: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Next in thread: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Reply: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 30 Dec 1999, Andreas Karajannis wrote:
> "Thies C. Arntzen" wrote:
> >
> > 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
> >
>
> I'm not calling any list* function from there. The problem is, that the
> destructor function gets called twice with the same list entry pointer.
> The destructor function is registered for a "result" type - just as it
> is in the mysql module. As far as I can tell, the error occurs on
> request shutdown, since the page is sent to the browser and I've only
> noticed this from the apache error log.
Try to figure out what in the script causes this to happen (try cutting it
down until it no longer crashes). When you have a test case, please send
it to me so I can debug it (if the script is simple enough and I can
easily get it to run on my box (I have MySQL), you can send it as-is).
Zeev
-- Zeev Suraski <zeev <email protected>> http://www.zend.com/-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Previous message: Terrelle Shaw: "[PHP4BETA] mail function"
- In reply to: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Next in thread: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Reply: Andreas Karajannis: "Re: [PHP4BETA] Zend list destructor weirdness"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

