[asterisk-bugs] [JIRA] (ASTERISK-25687) res_musiconhold: Concurrent invocations of 'moh reload' cause a crash

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Jan 11 17:02:33 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228951#comment-228951 ] 

Asterisk Team commented on ASTERISK-25687:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> res_musiconhold: Concurrent invocations of 'moh reload' cause a crash
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-25687
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25687
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_musiconhold
>    Affects Versions: 11.20.0
>            Reporter: Sean Bright
>            Severity: Minor
>
> When you have a large number of entries in musiconhold.conf, calling 'moh reload' from the CLI can take a long time. If 'moh reload' is invoked again from another console, a crash can occur.
> In our environment we aren't seeing a core file, so I don't have a backtrace.
> A possible fix for this is to change the implementation of 'moh reload' to call ast_module_reload("res_musiconhold") which would prevent multiple simultaneous invocations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list