[Home]

Summary:ASTERISK-21716: [patch] logger thread sometimes exits with messages still queued
Reporter:Corey Farrell (coreyfarrell)Labels:
Date Opened:2013-04-26 19:36:25Date Closed:2013-05-24 06:43:01
Priority:MajorRegression?
Status:Closed/CompleteComponents:Core/General
Versions:SVN 1.8.22.0 11.4.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) logger-process-all-messages.patch
Description:The logger thread checks if it should close after processing messages.  With valgrind and debug+verbose 12 the logs cut off before all modules finish unloading.  Memory is leaked based on how many logger messages were not processed.
Comments:By: Corey Farrell (coreyfarrell) 2013-04-26 19:37:56.395-0500

Only exit when logmsgs list is clear