Re: Mutex deadlock problem?
| From: | Andi Gutmans | Date: | Tue, 26 Feb 2002 19:02:50 +0000 |
| Subject: | Re: Mutex deadlock problem? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80415@lists.php.net to get a copy of this message | ||
Hey,
Can you please try the latest CVS of PHP & Zend and let us know if it fixes the problem?
Thanks,
Andi
At 02:01 AM 2/26/2002 -0700, Venkat Raghavan wrote:
Hi. There seems to be a mutex deadlock problem in TSRM / Zend. ts_free_thread() function locks the tsmm_mutex mutex and calls functions through function pointers in resource_types_table[i].dtor. One such function is alloc_globals_dtor(), which in turn calls shutdown_memory_manager(), which does a TSRMLS_FETCH(). This calls ts_resource_ex(), which again locks the same tsmm_mutex mutex. So, this function has to wait forever for the mutex to get unlocked. Is there something wrong I am doing? Can anyone help? Thanx in advance, Venkat