Summary: | ASTERISK-23320: Preloading pbx_config.so with a CustomPresence hint defined results in crash | ||||||
Reporter: | xrobau (xrobau) | Labels: | |||||
Date Opened: | 2014-02-17 12:13:05.000-0600 | Date Closed: | 2014-02-22 13:57:01.000-0600 | ||||
Priority: | Major | Regression? | Yes | ||||
Status: | Closed/Complete | Components: | Core/General PBX/pbx_config | ||||
Versions: | SVN | Frequency of Occurrence | |||||
Related Issues: |
| ||||||
Environment: | Attachments: | ( 0) backtrace.txt | |||||
Description: | Adding hints such as:
exten => 300,hint,SIP/300,CustomPresence:300 Causes Asterisk 12 to crash. | ||||||
Comments: | By: Rusty Newton (rnewton) 2014-02-19 16:11:36.384-0600 It surely does! Attaching backtrace. Not sure it if it helps to note that it doesn't crash when set with only: {noformat} exten => 6001,hint,CustomPresence:300 {noformat} By: Richard Mudgett (rmudgett) 2014-02-19 19:25:09.081-0600 It's crashing while loading the pbx_config.so module because ast_presence_state_engine_init() hasn't been called to initialize presence state support yet. By: Richard Mudgett (rmudgett) 2014-02-21 10:30:12.832-0600 A patch is now on ASTERISK-23265 that should fix this. By: Rusty Newton (rnewton) 2014-02-21 13:35:58.793-0600 Verified the patch resolves the crash. By: Andrew Nagy (tm1000) 2014-02-21 14:59:44.002-0600 Confirming that Matt's patch resolves the issue at hand. Thanks Matt! |