Olivier
2016-Sep-02 15:34 UTC
[asterisk-users] Feature Request: what about "core stop panic" ?
Hello, I had a recent case where Asterisk stopped due to a segfault. This reminded me that being sure that whenever such issue occurs, it's useful to have a core file or various data at hand to analyze and exchange with support teams. How can you double check a running Asterisk system would produce such data if a segfault arrises ? 1. To my knowledge, no tool exists for this. Is it correct ? 2. If such tool do not exist, what would you say about something like "core stop panic", "core stop segfault" or whatever ? Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160902/8edc91ac/attachment.html>
George Joseph
2016-Sep-02 18:40 UTC
[asterisk-users] Feature Request: what about "core stop panic" ?
On Fri, Sep 2, 2016 at 9:34 AM, Olivier <oza.4h07 at gmail.com> wrote:> Hello, > > I had a recent case where Asterisk stopped due to a segfault. > This reminded me that being sure that whenever such issue occurs, it's > useful to have a core file or various data at hand to analyze and exchange > with support teams. > > How can you double check a running Asterisk system would produce such data > if a segfault arrises ? > > 1. To my knowledge, no tool exists for this. Is it correct ? > 2. If such tool do not exist, what would you say about something like > "core stop panic", "core stop segfault" or whatever ? >How about just running "pkill -SEGV -f /usr/sbin/asterisk" from the shell? Works for me.> > Best Regards > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016 > http://www.asterisk.org/community/astricon-user-conference > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- George Joseph Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160902/d9ed581c/attachment.html>