[Home]

Summary:ASTERISK-17547: crash on 1.8.4-rc2 with agi + swift
Reporter:Jeremy Kister (jkister)Labels:
Date Opened:2011-03-12 22:21:06.000-0600Date Closed:2011-05-07 18:41:05
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) backtrace.txt
( 1) backtrace2.txt
( 2) weather.pl
Description:I cannot reproduce it consistently, but Asterisk 1.8.4-rc2 crashes after launching my weather AGI and tries to read it aloud via swift.  
Comments:By: Jeremy Kister (jkister) 2011-03-12 22:22:30.000-0600

pbx1> /usr/sbin/safe_asterisk: line 145: 19874 Segmentation fault      (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.

By: Jeremy Kister (jkister) 2011-03-12 22:23:06.000-0600

pbx1> suex asterisk -r
Asterisk 1.8.4-rc2, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.8.4-rc2 currently running on pbx1 (pid = 20077)
Verbosity is at least 10
Core debug is at least 10
   -- Remote UNIX connection
 == Using UDPTL CoS mark 5
 == Using SIP RTP CoS mark 5
   -- Executing [*9@extensions:1] Goto("SIP/111-00000001", "weather,s,1") in new stack
   -- Goto (weather,s,1)
   -- Executing [s@weather:1] Answer("SIP/111-00000001", "") in new stack
   -- Executing [s@weather:2] AGI("SIP/111-00000001", "weather.pl,19440") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/weather.pl
pbx1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
Asterisk ending (0).
pbx1> /usr/sbin/safe_asterisk: line 145: 20077 Segmentation fault      (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} > /dev/${TTY} 2>&1 < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.

By: Jeremy Kister (jkister) 2011-03-12 22:30:19.000-0600

exact same config, exact same AGI, same everything i can think of - does not crash on 1.8.2.3

By: Russell Bryant (russell) 2011-05-07 18:41:04

This crash is related to the use of app_swift.  Since that module is not officially in Asterisk, we can't help.

By: Jeremy Kister (jkister) 2011-06-15 01:51:44.193-0500

I upgraded from asterisk 1.8.4-rc2 to 1.8.4.2.  with the same everything else, the issue is now resolved.   so it appears it was an asterisk issue.