[asterisk-bugs] [JIRA] (ASTERISK-25436) Segmentation fault relating to JSON, stasis, and fax

Corey Farrell (JIRA) noreply at issues.asterisk.org
Tue Feb 20 05:44:13 CST 2018


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

Corey Farrell closed ASTERISK-25436.
------------------------------------

    Resolution: Fixed

This was resolved by ASTERISK-26466 which added UTF-8 validation to ensure ast_json_pack does not fail for the app_fax.c events.

> Segmentation fault relating to JSON, stasis, and fax
> ----------------------------------------------------
>
>                 Key: ASTERISK-25436
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25436
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels, Core/ManagerInterface
>    Affects Versions: 13.5.0
>         Environment: Linux 3.13.0-63-generic
> Ububtu 14.04.3
>            Reporter: Charlie Smurthwaite
>         Attachments: backtrace-13.5.0.txt
>
>
> I observed several crashes under asterisk 13.2. I did not record significant details about these, but instead upgraded to 13.5.0. Today under 13.5.0 I have experienced another crash (a segfault). The following is observed in the log immediately before the crash:
> {code:title=Asterisk Log|borderStyle=solid}
> [2015-09-30 13:43:24] ERROR[6541][C-00000ee1] json.c: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.
> [2015-09-30 13:43:24] ERROR[6541][C-00000ee1] stasis_channels.c: Error creating message
> [2015-09-30 13:43:24] ERROR[6541][C-00000ee1] json.c: Error building JSON from '{s: s, s: s, s: s, s: i, s: i, s: i, s: o}': Invalid UTF-8 string.
> {code}
> I will attach a backtrace of this crash.
> Another instance of this crash (under Asterisk 13.2.0) included the following log entry, suggesting (as the backtrace does) that this crash is related to fax channels:
> {code:title=Asterisk Log|borderStyle=solid}
> [2015-09-22 16:44:44] WARNING[2646][C-0000bddf] app_fax.c: Transmission error
> {code}



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



More information about the asterisk-bugs mailing list