[asterisk-bugs] [JIRA] (ASTERISK-27126) "pjsip show aors" returns Memory Allocation Failure errors when using MariaDB ODBC connector

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Aug 14 10:51:08 CDT 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-27126:
-----------------------------------

    Assignee: HZMI8gkCvPpom0tM  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

Rusty requested MALLOC_DEBUG information in order to isolate this. Without this it's hard to find the issue. Asterisk itself does work with ODBC and there was conversation recently on the mailing list which resulted in a wiki comment about using MariaDB and ODBC - and after changing a MariaDB option it worked for the user, so it's not broken for everyone.

[1] https://wiki.asterisk.org/wiki/display/AST/Setting+up+PJSIP+Realtime?refresh=1501592246325&refresh=1501592309852&refresh=1501592385401&focusedCommentId=37455051#comment-37455051

> "pjsip show aors" returns Memory Allocation Failure errors when using MariaDB ODBC connector
> --------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-27126
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27126
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 14.5.0
>            Reporter: HZMI8gkCvPpom0tM
>            Assignee: HZMI8gkCvPpom0tM
>            Severity: Trivial
>
> fresh installed asterisk odbc realitime and pjsip. Amount of memory more than enough.
> extconfig.conf
> {noformat}
> [settings]
> ps_endpoints => odbc,asterisk
> ps_auths => odbc,asterisk
> ps_aors => odbc,asterisk
> ps_domain_aliases => odbc,asterisk
> ps_endpoint_id_ips => odbc,asterisk
> ps_contacts => odbc,asterisk
> ps_registrations => odbc,asterisk
> ps_globals => odbc,asterisk
> ps_systems => odbc,asterisk
> {noformat}
> sourcery.conf
> {noformat}
> [res_pjsip] ; Realtime PJSIP configuration wizard
> endpoint=realtime,ps_endpoints
> auth=realtime,ps_auths
> aor=realtime,ps_aors
> domain_alias=realtime,ps_domain_aliases
> contact=realtime,ps_contacts
> global=realtime,ps_globals
> [res_pjsip_endpoint_identifier_ip]
> identify=realtime,ps_endpoint_id_ips
> {noformat}
> pjsip.conf
> {noformat}
> [transport-udp]
> type=transport
> protocol=udp
> bind=0.0.0.0
> [transport-tcp]
> type=transport
> protocol=tcp
> bind=0.0.0.0
> {noformat}
> {noformat}
> gsmpmnl*CLI> pjsip show aors
>       Aor:  <Aor..............................................>  <MaxContact>
>     Contact:  <Aor/ContactUri............................> <Hash....> <Status> <RTT(ms)..>
> ==========================================================================================
>       Aor:  9991111                                             10
> Objects found: 1
> [Jul 11 15:33:04] ERROR[453]: /usr/src/my/asterisk-14.5.0/include/asterisk/utils.h:625 _ast_realloc: Memory Allocation Failure in function ast_str_make_space at line 823 of /usr/src/my/asterisk-14.5.0/include/asterisk/strings.h
> [Jul 11 15:33:04] ERROR[453]: /usr/src/my/asterisk-14.5.0/include/asterisk/utils.h:625 _ast_realloc: Memory Allocation Failure in function ast_str_make_space at line 823 of /usr/src/my/asterisk-14.5.0/include/asterisk/strings.h
> *error repeats numerous times*
> {noformat}



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



More information about the asterisk-bugs mailing list