[asterisk-bugs] [JIRA] (ASTERISK-27830) Asterisk crashes on Invalid UTF-8 string
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Mon Apr 30 16:30:51 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243206#comment-243206 ]
Asterisk Team commented on ASTERISK-27830:
------------------------------------------
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].
> Asterisk crashes on Invalid UTF-8 string
> ----------------------------------------
>
> Key: ASTERISK-27830
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27830
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 13.18.4
> Reporter: AvayaXAsterisk
> Severity: Minor
>
> This is happening on a FreePBX system, but as it's an Asterisk issue I am posting it here. In FreePBX I have a ring group configured that initiates nine outbound call legs. Calls come in over a Digium PRI gateway which inserts an invalid UTF-8 string "▒" in front of the Caller ID name, e.g. '▒2126564615', which crashes Asterisk.
> I am getting below error/backtrace on all of the outbound call legs Asterisk wants to initiate and then Asterisk crashes with
> "Disconnected from Asterisk server
> Asterisk cleanly ending (0)":
> Got 22 backtrace records
> #0: [0x5394a7] asterisk ast_json_vpack() (0x5393d8+CF)
> #1: [0x5393c8] asterisk ast_json_pack() (0x539305+C3)
> #2: [0x7f816e95d41d] res_agi.so <unknown>()
> #3: [0x7f816e95dfe6] res_agi.so <unknown>()
> #4: [0x7f816e95f47a] res_agi.so <unknown>()
> #5: [0x7f816e95f5c1] res_agi.so <unknown>()
> #6: [0x58ba78] asterisk pbx_exec() (0x58b943+135)
> #7: [0x57836c] asterisk <unknown>()
> #8: [0x57ba41] asterisk ast_spawn_extension() (0x57b9dc+65)
> #9: [0x7f8111efd26f] app_macro.so <unknown>()
> #10: [0x7f8111efe603] app_macro.so <unknown>()
> #11: [0x58ba78] asterisk pbx_exec() (0x58b943+135)
> #12: [0x57836c] asterisk <unknown>()
> #13: [0x57ba41] asterisk ast_spawn_extension() (0x57b9dc+65)
> #14: [0x57c84f] asterisk <unknown>()
> #15: [0x57e27e] asterisk <unknown>()
> #16: [0x606624] asterisk <unknown>()
> -- Executing [s at macro-dial:16] ExecIf("Local/RG-4444-2017#@from-internal-00000005;2", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
> dialparties.agi: Caller ID name is '▒2126564615' number is '2126564615'
> [2018-04-28 03:45:50] ERROR[48107][C-00000001]: json.c:825 ast_json_vpack: Error building JSON from '{s: i, s: s, s: i, s: s}': Invalid UTF-8 string.
> -- Executing [s at macro-dial:17] ExecIf("Local/RG-4444-2017#@from-internal-00000005;2", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
> -- Executing [s at macro-dial:18] Set("Local/RG-4444-2017#@from-internal-00000005;2", "ITER=2") in new stack
> -- Executing [s at macro-dial:19] GotoIf("Local/RG-4444-2017#@from-internal-00000005;2", "0?ndloopbegin") in new stack
> freepbx-a*CLI>
> Disconnected from Asterisk server
> Asterisk cleanly ending (0).
> Executing last minute cleanups
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list