[Home]

Summary:ASTERISK-23688: Asterisk crashes when writing frame in framehook in app_swift
Reporter:Sean Hayes (sean.hayes)Labels:
Date Opened:2014-04-30 01:36:50Date Closed:2014-04-30 07:59:13
Priority:MajorRegression?
Status:Closed/CompleteComponents:
Versions:11.8.1 Frequency of
Occurrence
Frequent
Related
Issues:
duplicatesASTERISK-23635 Crash in framehook during ast_write when called by app_swift
Environment:Attachments:( 0) backtrace_ccpp-2014-04-29-161411-13919_frame_chan.txt
( 1) backtrace_ccpp-2014-04-29-161411-13919.txt
( 2) backtrace_core.asterisk1.emeraldar.com-2014-04-28T104337-0700.txt
( 3) backtrace_core.asterisk1.emeraldar.com-2014-04-29T142905-0700.txt
( 4) backtrace_core.asterisk1.emeraldar.com-2014-04-29T161416-0700.txt
Description:Hello,

We recently upgraded to asterisk 11.8.1 and have seen a significant increase in segfaults, resulting in dropped calls.

Asterisk Version: Asterisk 11.8.1 built by root @ asterisk1.emeraldar.com on a x86_64 running Linux on 2014-03-16 05:28:08 UTC

PBX: FreePBX 2.11.0.37

General Use Case:
We are currently dispatching calls through AMI, and giving recipients of those calls the option to route to several queues to speak with an agent, or to make a payment through our Payment IVR in Asterisk.

Below are the messages from /var/log/messages:

362-Apr 28 10:43:30 asterisk1 kernel: asterisk[41280] general protection ip:45206a sp:7fd2571ed680 error:0 in asterisk[400000+228000]
--
492:Apr 28 10:43:37 asterisk1 abrt[42136]: Saved core dump of pid 16386 (/usr/sbin/asterisk) to /var/spool/abrt/ccpp-2014-04-28-10:43:30-16386 (236797952 bytes)
--
10121-Apr 29 14:28:59 asterisk1 kernel: asterisk[13888]: segfault at 38 ip 00007f11552276f7 sp 00007f1148b3ca60 error 6 in libswift.so.6.0[7f11551c4000+95000]
--
11111-Apr 29 16:14:11 asterisk1 kernel: asterisk[2068] general protection ip:45206a sp:7f1c48375690 error:0 in asterisk[400000+228000]

Backtraces: I followed the directions to extract the backtrace files, and will attach them to this ticket.

I have not been able to identify any circumstances that coincide with the crashes.

I am available to provide any other required information anytime at 623-242-2709, or on my cell at 602-413-2857.  My email is sean.hayes@emeraldar.com

Thanks in advance!

Sean Hayes
Emerald AR Systems
Comments:By: Sean Hayes (sean.hayes) 2014-04-30 01:37:51.431-0500

Attached backtrace files

By: Matt Jordan (mjordan) 2014-04-30 07:59:13.342-0500

As noted in the linked issue, this is a bug in {{app_swift}}. Please contact the module maintainer and have them look at this issue. Thanks!

By: Sean Hayes (sean.hayes) 2014-05-05 11:06:05.443-0500

attaching frame and chan output from GDB for future reference.