Summary: | ASTERISK-11485: crash in local_hangup() when p->owner disappears in another thread | ||
Reporter: | danpwi (danpwi) | Labels: | |
Date Opened: | 2008-02-20 14:16:13.000-0600 | Date Closed: | 2008-02-20 15:38:15.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Channels/chan_local |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Same issue as in ASTERISK-11457, ast_trylock() crashes when p->owner is NULL at line 508. | ||
Comments: | By: Mark Michelson (mmichelson) 2008-02-20 14:28:07.000-0600 If it's the same issue, have you attempted to upgrade to the version where ASTERISK-11457 was fixed? Does the fix not work? Issue 12012 was fixed in SVN revision 103821 for Asterisk 1.4. By: danpwi (danpwi) 2008-02-20 14:55:58.000-0600 Sorry, I should've been clearer in my description. That fix doesn't solve this problem because it's not the same exact issue as 12012, it's the same _type_ of issue. A fix similar to the one made in svn 103821 to local_queue_frame() is needed for local_hangup(). By: Mark Michelson (mmichelson) 2008-02-20 15:25:20.000-0600 Oh, I see what you're saying. I'll get right on that. By: Digium Subversion (svnbot) 2008-02-20 15:36:41.000-0600 Repository: asterisk Revision: 103904 U branches/1.4/channels/chan_local.c ------------------------------------------------------------------------ r103904 | mmichelson | 2008-02-20 15:36:40 -0600 (Wed, 20 Feb 2008) | 6 lines Fix a crash if the channel becomes NULL while attempting to lock it. (closes issue ASTERISK-11485) Reported by: danpwi ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=103904 By: Digium Subversion (svnbot) 2008-02-20 15:38:15.000-0600 Repository: asterisk Revision: 103908 _U trunk/ U trunk/channels/chan_local.c ------------------------------------------------------------------------ r103908 | mmichelson | 2008-02-20 15:38:14 -0600 (Wed, 20 Feb 2008) | 14 lines Merged revisions 103904 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r103904 | mmichelson | 2008-02-20 15:40:08 -0600 (Wed, 20 Feb 2008) | 6 lines Fix a crash if the channel becomes NULL while attempting to lock it. (closes issue ASTERISK-11485) Reported by: danpwi ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=103908 |