Summary: | ASTERISK-07130: [patch] lock.h __ast_cond_timedwait(). Incorrect handling of ETIMEDOUT | ||
Reporter: | Dmytro Mishchenko (arkadia) | Labels: | |
Date Opened: | 2006-06-09 05:39:31 | Date Closed: | 2006-08-30 13:03:32 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | In this function when pthread_cond_timedwait() returns ETIMEDOUT we should increase t->reentrancy. Otherwise later on in the code we are getting fake messages like: mutex '&xxx' freed more times than we've locked! | ||
Comments: | By: Serge Vecher (serge-v) 2006-06-09 08:33:02 arkadia: since you've submitted several patches already, I think it is time for you to also fax a disclaimer to Digium. Also, as requested in the previous bug, please submit changes in the form of a patch file. Thank you for contributing to Asterisk. By: Dmytro Mishchenko (arkadia) 2006-06-15 09:06:11 I'm glad to provide patches in patch format. But I have difficulties with submitting disclaimer, course I don't have scanner or fax around me. Thats why I prefer if somebody do these fixes. I gave enough info in description to locate the place and fix the problem. By: Serge Vecher (serge-v) 2006-06-15 09:26:01 hmm, make one in Photoshop! By: Joshua C. Colp (jcolp) 2006-08-30 13:03:31 Fixed in 1.2 at revision 41390 and trunk at revision 41409. |