[Home]

Summary:ASTERISK-25382: segfault in ast_json_free (p=0x77f9d88555b8) at json.c:190
Reporter:Dmitriy Serov (Demon)Labels:
Date Opened:2015-09-07 15:13:14Date Closed:2015-09-08 19:30:41
Priority:MajorRegression?No
Status:Closed/CompleteComponents:
Versions:13.5.0 Frequency of
Occurrence
Related
Issues:
is related toASTERISK-29984 Crash in stasis_message_dtor on ast_json_free
Environment:Attachments:( 0) 2015_09_07__22_58_08.backtrace-threads.txt
( 1) 2015_09_07__22_58_08.full.tail.txt
Description:Program terminated with signal 11, Segmentation fault.
#0  0x000000000052b309 in ast_json_free (p=0x77f9d88555b8) at json.c:190
190 AST_LIST_INSERT_HEAD(free_list, mem, list);

backtrace and logs are attached
Comments:By: Asterisk Team (asteriskteam) 2015-09-07 15:13:15.880-0500

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].

By: Rusty Newton (rnewton) 2015-09-08 08:34:52.908-0500

Dmitriy, all of the standard information is required..

Can you reproduce the issue reliably?

Can you provide instructional steps for us to reproduce the issue?

Is specific configuration required to reproduce the issue?

What version of the JSON library are you using?

By: Dmitriy Serov (Demon) 2015-09-08 14:48:57.040-0500

Name: Jansson
Description: Library for encoding, decoding and manipulating JSON data
Version: 2.7
Libs: -L${libdir} -ljansson
Cflags: -I${includedir}

I don't know the way to reproduce the error. I don't know what special settings could be the cause of the error. This error occurred in the operation of the server was the cause of his fall and was processed by scripts to gather information about the error.

By: Rusty Newton (rnewton) 2015-09-08 19:30:41.940-0500

[~Demon] I looked over this with help from [~asanders]

From her technical analysis this *could* be an issue with Asterisk (as opposed to libjansson) but we don't have enough data here to know for sure.

What we really need is reliable reproduction or else possibly further traces and debug to demonstrate how things are getting into the state they are in.

With this crash only happening once, no method of reproduction and no further data than what we have here - I am going  to close this out for now. If in the future you get more traces and debug or find a way to reproduce this then we can re-open the issue or open a new one if needed.

We are not sure the data here will be useful to the Jansson project for them to look at it from that side, but you could file an issue with them to see for sure. Thanks!