Bug#966334: ast_json_vpack: Error building JSON ... Invalid UTF-8 string.

Bernhard Schmidt berni at debian.org
Sun Jul 26 23:24:41 BST 2020


Source: asterisk
Version: 1:16.2.1~dfsg-1
Severity: normal
Tags: upstream

With chan_pjsip and sorcery (Realtime configuration) the following error is
logged after hangup.

  == Spawn extension (from-lrz-pin, h, 1) exited non-zero on 'PJSIP/7885-Y2-00000034'
[2020-07-27 00:20:44] ERROR[1540]: json.c:607 ast_json_vpack: Error building JSON from '{s: s, s: s, s: s, s: s, s: i, s: s}': Invalid UTF-8 string.
[2020-07-27 00:20:44] ERROR[1540]:   Got 12 backtrace records
# 0: /usr/sbin/asterisk(ast_json_pack+0x99) [0x55ed0543c449]
# 1: /usr/sbin/asterisk(__ast_test_suite_event_notify+0x1be) [0x55ed054cdc0e]
# 2: /usr/sbin/asterisk(__ao2_ref+0xa6) [0x55ed053b2396]
# 3: /usr/sbin/asterisk(__ao2_ref+0xa6) [0x55ed053b2396]
# 4: /usr/lib/asterisk/modules/chan_pjsip.so(+0xb05f) [0x7f51f000c05f]
# 5: /usr/sbin/asterisk(ast_taskprocessor_execute+0xd8) [0x55ed054c4f58]
# 6: /usr/sbin/asterisk(+0x182220) [0x55ed054cf220]
# 7: /usr/sbin/asterisk(ast_taskprocessor_execute+0xd8) [0x55ed054c4f58]
# 8: /usr/sbin/asterisk(+0x181a04) [0x55ed054cea04]
# 9: /usr/sbin/asterisk(+0x18849f) [0x55ed054d549f]
#10: /lib/x86_64-linux-gnu/libpthread.so.0(+0x7fa3) [0x7f52131f2fa3]
#11: /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f5212f4d4cf]

This has been reported and fixed upstream

https://issues.asterisk.org/jira/browse/ASTERISK-28445



More information about the Pkg-voip-maintainers mailing list