Skip to content
Snippets Groups Projects
  1. Oct 05, 2018
  2. Oct 04, 2018
  3. Oct 03, 2018
  4. Oct 02, 2018
    • Richard Mudgett's avatar
      res_statsd.c: Made use defaults if the statsd.conf file does not exist. · a69a50b6
      Richard Mudgett authored
      This module is an optional dependency of many modules.  If it declines to
      load it then forces other modules that can optionally use this module to
      also decline.
      
      * Made use default configuration if there is a config error or the config
      file does not exist.
      
      Change-Id: If1068a582ec54ab7fb437265cb5370a97a825737
      a69a50b6
    • Corey Farrell's avatar
      core: Disable astobj2 locking for some common objects. · cacbe325
      Corey Farrell authored
      * ACO options
      * Indications
      * Module loader ref_debug object
      * Media index info and variants
      * xmldoc items
      
      These allocation locations were identified using reflocks.py on the
      master branch.
      
      Change-Id: Ie999b9941760be3d1946cdb6e30cb85fd97504d8
      cacbe325
    • George Joseph's avatar
      Merge "loader: Improve error handling." · 83558fa5
      George Joseph authored
      83558fa5
    • Corey Farrell's avatar
      Resolve warning about duplicate 'dialplan' CLI. · 63971821
      Corey Farrell authored
      Change-Id: I029db1b4a32ccfb38374d6fe944dc430866f4b30
      63971821
    • Corey Farrell's avatar
      loader: Fix result of module reload error. · b25a261a
      Corey Farrell authored
      When a module reload fails we never set AST_MODULE_RELOAD_ERROR.  This
      caused reload failures to incorrectly report 'No module found'.
      
      Change-Id: I5f3953e0f7d135e53ec797f24c97ee3f73f232e7
      b25a261a
    • Corey Farrell's avatar
      loader: Improve error handling. · e4cf513f
      Corey Farrell authored
      * Display list of unavailable dependencies when they cause another
        module to fail loading.
      * When a module declines to load find all modules which depend on it so
        they can be declined and listed together.
      * Prevent retry of declined modules during startup.
      * When a module fails to dlopen try loading it with RTLD_LAZY so we can
        attempt to display the list of missing dependencies.
      
      These changes are meant to reduce logger spam that is caused when a
      module has many dependencies and declines to load.  This also fixes some
      error paths which failed to recognize required modules.
      
      Module load/start errors are delayed until the end of loader startup.
      
      Change-Id: I046052c71331c556c09d39f47a3b92975f3e1758
      e4cf513f
    • neutrino88's avatar
      core/frame: Fix ast_frdup() and ast_frisolate() for empty text frames · 24cece66
      neutrino88 authored
      If a channel creates an AST_TEXT_FRAME with datalen == 0, the ast_frdup()
      and ast_frisolate() functions could create a clone frame with an invalid
      data.ptr which would cause a crash.  The proposed fix is to make sure that
      for such empty text frames, ast_frdup() and ast_frisolate() return cloned
      text frames with a valid data.ptr.
      
      ASTERISK-28076
      Reported by: Emmanuel BUU
      Tested by: Emmanuel BUU
      
      Change-Id: Ib882dd028598f13c4c233edbfdd7e54ad44a68e9
      24cece66
    • Joshua Colp's avatar
    • Joshua Colp's avatar
      Merge "app_queue.c: Fix json ref leak" · 0944059d
      Joshua Colp authored
      0944059d
    • Corey Farrell's avatar
      astobj2: Record lock usage to refs log when DEBUG_THREADS is enabled. · 13df7452
      Corey Farrell authored
      When DEBUG_THREADS is enabled we can know if the astobj2 mutex / rwlock
      was ever used, so it can be recorded in the REF_DEBUG destructor entry.
      
      Create contrib/scripts/reflocks.py to process locking used by
      allocator.  This can be used to identify places where
      AO2_ALLOC_OPT_LOCK_NOLOCK should be used to reduce memory usage.
      
      Change-Id: I2e3cd23336a97df2692b545f548fd79b14b53bf4
      13df7452
  5. Oct 01, 2018
Loading