Ifx - Help ! losing my mind, thread by thread

php.internals

Corne' cornelius

23 years ago
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!

Corne' cornelius

23 years ago
no worries, i figured it out. sorry for flooding the list after horribly confuzing myself. Have a good one =) Corne' cornelius wrote: