[asterisk-bugs] [JIRA] (ASTERISK-28649) Segfault: ast_variables_destroy #channel_vars #set_var #sorcery_realtime
Sean Bright (JIRA)
noreply at issues.asterisk.org
Thu Dec 5 08:18:32 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248987#comment-248987 ]
Sean Bright edited comment on ASTERISK-28649 at 12/5/19 8:18 AM:
-----------------------------------------------------------------
Pretty sure this is the same bug as the linked issue ASTERISK-28112.
Per [the MySQL bug linked from the other issue|https://bugs.mysql.com/bug.php?id=92947], setting {{NO_SSPS = 1}} in your {{odbc.ini}} file might resolve the issue. It did in my tests.
was (Author: seanbright):
Pretty sure this is the same bug as the linked issue ASTERISK-28112.
Per the MySQL bug linked from the other issue, setting {{NO_SSPS = 1}} in your {{odbc.ini}} file might resolve the issue. It did in my tests.
> Segfault: ast_variables_destroy #channel_vars #set_var #sorcery_realtime
> ------------------------------------------------------------------------
>
> Key: ASTERISK-28649
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28649
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_realtime
> Affects Versions: 16.5.0, 16.6.2
> Environment: CentOS Linux release 7.6.1810 (Core)
> 3.10.0-957.27.2.el7.x86_64
> Asterisk build: asterisk-16.6.2
> Alembic Version: 3a094a18e75b
> Reporter: John Bowen
> Attachments: core.28564-brief.txt, core.28564-full.txt, core.28564-locks.txt, core.28564-thread1.txt
>
>
> Using sorcery realtime, if the column ps_endpoints.set_var` contains more than 16 characters a segfault occurs during the loading of endpoints.
> This, however, does not occur when statically defining endpoints in pjsip.conf.
> Reproduce with:
> 1) Create three endpoints (odbc, realtime)
> 2) UPDATE ps_endpoints SET set_var = 'abc=1234567890abc' WHERE id is NOT NULL
> 3) Reload asterisk
> Notes:
> - All 3 endpoints must have channel_vars > 16 characters, the issue is not reproducable if only 2 endpoints have channel_vars > 16 chars
> - This issue was not present in 13.17.2 (using pjsip bundled)
> I'll be posting my findings as I dig into the code, but wanted to make core and other users aware of the issue first.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list