[asterisk-bugs] [JIRA] (ASTERISK-21067) pointers of old channel_generator are not tidied up when a new channel_gernerator is activated

Krischan Udelhoven (JIRA) noreply at issues.asterisk.org
Tue Feb 12 10:03:58 CST 2013


Krischan Udelhoven created ASTERISK-21067:
---------------------------------------------

             Summary: pointers of old channel_generator are not tidied up when a new channel_gernerator is activated
                 Key: ASTERISK-21067
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21067
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Channels
    Affects Versions: 11.2.1
         Environment: debian 6.0.6
            Reporter: Krischan Udelhoven
            Severity: Critical


The ast_activate_generator function in channel.c checks wether there exists an old generator and in that case, calls its release function. However, the ast_activate_generator function does not tidy up pointers, sets the timeout, etc. like the ast_deactivate_generator function does. As a result our Asterisk crashes at times, when it is under heavy load. It seems to be some kind of racing condition.

--
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