[asterisk-bugs] [JIRA] (ASTERISK-21738) Segfault On Realtime Queue Members Processing
JoshE (JIRA)
noreply at issues.asterisk.org
Tue Apr 30 18:15:38 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206021#comment-206021 ]
JoshE commented on ASTERISK-21738:
----------------------------------
Quick additional update, though I haven't really traced this all the way through. Issue is with the determination that is made for the realtime_ringinuse_field check.
Patching this:
if ((config_val = ast_variable_retrieve(member_config, interface, realtime_ringinuse_field))) {
To this hardcoded value:
if ((config_val = ast_variable_retrieve(member_config, interface, "ringinuse"))) {
In app_queue.c resolves the core dump, at least temporarily.
As some further information, I have about 150 entries in RT queue_members and 2000 peers that are being loaded from realtime in this configuration.
For whatever reason, on some threads, the realtime_ringinuse_field isn't set and that null value causes the crash.
> Segfault On Realtime Queue Members Processing
> ---------------------------------------------
>
> Key: ASTERISK-21738
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21738
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 11.3.0
> Reporter: JoshE
> Severity: Critical
> Attachments: backtrace.txt
>
>
> Segfault appears in certain configurations on retrieving config on bootup.
> Backtrace is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list