[asterisk-bugs] [JIRA] (ASTERISK-20682) deadlock when servicing MWI event

Mark Michelson (JIRA) noreply at issues.asterisk.org
Wed Nov 14 13:50:45 CST 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Michelson updated ASTERISK-20682:
--------------------------------------

    Attachment: ASTERISK-20682.patch

I've attached ASTERISK-20682.patch for you to try using.

It moves event subscription callbacks to a point where there is no lock being held. In addition, I've made event subscriptions ref-counted in the slim chance that the event subscription gets destroyed in between us finding the event and calling the callback.
                
> deadlock when servicing MWI event
> ---------------------------------
>
>                 Key: ASTERISK-20682
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20682
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/Subscriptions
>    Affects Versions: SVN
>         Environment: 1.8 svn
>            Reporter: Andrew Parisio
>            Severity: Critical
>         Attachments: ASTERISK-20682.patch, locks.txt, threads.txt
>
>
> This is a 2 or 3 week old copy of 1.8/svn.  We've had 3 or so lock ups in the last 2 weeks, have to kill -9 it.  Will gdb bt full next time it crashes (didn't know you could do it on a live instance).
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list