[Home]

Summary:ASTERISK-24881: ast_register_atexit should only be used when absolutely needed
Reporter:Corey Farrell (coreyfarrell)Labels:
Date Opened:2015-03-15 05:32:52Date Closed:2015-03-26 17:17:59
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/General
Versions:SVN 11.16.0 13.2.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:We've had many issues related to {{core stop now}} or {{core restart now}} causing segmentation faults.  The solution to this is to change almost everything to use {{ast_register_cleanup}}.

Exceptions:
CDR: Flush records.
res_musiconhold: Kill external applications.
AstDB: Close the DB.
canary_exit: Kill canary process.

Although some changes from ast_register_atexit to ast_register_cleanup are not strictly necessary, the point is for nothing to use ast_register_atexit except where required.  For this reason the change is across the board.
Comments: