[Home]

Summary:ASTERISK-06471: Channel mutex may be locked before ast_hangup() call in pbx.c
Reporter:Andrey S Pankov (casper)Labels:
Date Opened:2006-03-03 14:29:45.000-0600Date Closed:2006-04-05 15:13:45
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) pbx.c.diff
Description:Channel mutex may be locked before ast_hangup() call resulting in "Device/resource busy" error on ast_mutex_destroy() call. That's trivial to find and fix that. You may look at ast_pbx_outgoing_exten for example...

****** ADDITIONAL INFORMATION ******

Not only in trunk, but in 1.2 as well.

I do not care about uploading a patch or pointing out exact places in the code since anyway the patch will not be used and someone will surely "forget" to add karma points and even to say "Thank you"... ready to get -0.25 ;)ppp
Comments:By: Andrey S Pankov (casper) 2006-04-05 13:01:55

I've uploaded the patch against svn trunk 17626. Please double-check it before committing to svn.

By: Joshua C. Colp (jcolp) 2006-04-05 15:05:20

Fixed in 1.2 revision 17702 and trunk revision 17726

By: Andrey S Pankov (casper) 2006-04-05 15:09:59

I do not complain about karma points _every_ time, but it would be nice to have _at_least_ one point per 2-3 issues fixed. Thanks!