[asterisk-bugs] [Asterisk 0016213]: [patch] Script to automatically email backtrace to admin

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 19 09:51:23 CDT 2010


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16213 
====================================================================== 
Reported By:                atis
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   16213
Category:                   Utilities/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-1498 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-10 05:51 CST
Last Modified:              2010-05-19 09:51 CDT
====================================================================== 
Summary:                    [patch] Script to automatically email backtrace to
admin
Description: 
Attached asterisk_mail_backtrace.sh

It can be added in safe_asterisk with the following lines:

PID=`cat ${ASTPIDFILE}`
nice -n 10 /usr/share/asterisk/asterisk_mail_backtrace.sh $PID & 

So after asterisk crashes it's executed in background while new instance
of asterisk starts.

I'm still uncertain what's the best place to put this script and both GDB
scripts. 

====================================================================== 

---------------------------------------------------------------------- 
 (0122143) lmadsen (administrator) - 2010-05-19 09:51
 https://issues.asterisk.org/view.php?id=16213#c122143 
---------------------------------------------------------------------- 
Awesome! I like this approach much better. I'm going to assign this to
pabelanger to look through and see that the output being generated jives
with our documentation in backtrace.txt. Ideally this information should be
useful enough to submit as a bug report. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-19 09:51 lmadsen        Note Added: 0122143                          
2010-05-19 09:51 lmadsen        Assigned To               => pabelanger      
2010-05-19 09:51 lmadsen        Status                   feedback => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list