Re: Ifx - Help ! losing my mind, thread by thread

From: Date: Thu, 21 Aug 2003 13:48:19 +0000
Subject: Re: Ifx - Help ! losing my mind, thread by thread
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4120@lists.php.net to get a copy of this message
no worries, i figured it out. sorry for flooding the list after horribly confuzing myself. Have a good one =) Corne' cornelius wrote:
Hi, Please help, after a 72 hour debugging session my mind feels dimished past the size of a dustmite-parasite. Call me stupid if you want. Can you give me some extra tips on debugging PHP, threads, lists, etc.. and how i can track the flow of the shutdown of a script execution/timeout. The Ifx extension doesn't always close the connection to an Informix database after ifx_close(), and what are the odds of being attached to the specific sessions which this happens in when it's more random then a bag of M&M's. Is it possible that: * the resource list gets dtor'd, while the ifx connection is quite
     busy and can't disconnect right away, but the resource still gets
     whacked from the list ? or will the dtor wait for the resource
     destructor to finish ?
* another ZEND_FETCH_RESOURCE() is called during a destructor
     function or do mutexes prevent this ?
How is it possible that: * ifx_connect() can find a connection from another sessions
     EG(regular_list) ? i thaught EG(regular_list) is private to each
     session ?
Thanks, Corne' !Exclude Disclaimer!


« previous php.internals (#4120) next »