[asterisk-bugs] [JIRA] (ASTERISK-24592) Randomly crashes on encode JSON
Anton Evzhakov (JIRA)
noreply at issues.asterisk.org
Mon Dec 22 03:53:34 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224174#comment-224174 ]
Anton Evzhakov commented on ASTERISK-24592:
-------------------------------------------
I tried reproduce this bug on 12.8 with MALLOC_DEBUG, but I couldn't. I have many errors "ari/ari_websockets.c: Failed to encode JSON object" in log, but asterisk doesn't crash.
Typical log before crash
[2014-12-22 12:02:26.990] ERROR[19261] ari/ari_websockets.c: Failed to encode JSON object
[2014-12-22 12:02:26.990] DEBUG[19240] ari/ari_websockets.c: Examining ARI event:
{"application":"Lobby","type":"RecordingFinished","recording":{"state":"done","format":"wav","name":"TaskWithCustomer/e1aa3fd6-8ed9-411c-a66b-b0c0e5185e3b/2014/12/22/12_2_11-d5585b34-ab1b-4201-89e8-b2f0cedc598c","target_uri":"bridge:d5585b34-ab1b-4201-89e8-b2f0cedc598c"}}
I think that problem reproduces when system sends message to two or more subscribers on very fast system (I can reproduce it on our production server with 24x Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, but I can't on VPS).
> Randomly crashes on encode JSON
> -------------------------------
>
> Key: ASTERISK-24592
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24592
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/Stasis
> Affects Versions: 12.7.1
> Environment: Linux astratel 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> Reporter: Anton Evzhakov
> Assignee: Anton Evzhakov
> Attachments: ASTERISK-24592.backtrace.txt, ASTERISK-24592.log
>
>
> Asterisk randomly crashes on encode ARI events. Debug log and backtrace in attach.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list