[OpenSIPS-Devel] [OpenSIPS/opensips] b5bc11: Mitigate dprint() deadlocks with dbg allocators

Liviu Chircu noreply at github.com
Wed Oct 22 15:04:54 UTC 2025


  Branch: refs/heads/3.6
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b5bc11f5c1e17b34d5540985bef3e7b00850fdc2
      https://github.com/OpenSIPS/opensips/commit/b5bc11f5c1e17b34d5540985bef3e7b00850fdc2
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M mem/common.h
    M mem/f_malloc.c
    M mem/f_parallel_malloc.c
    M mem/hp_malloc.c

  Log Message:
  -----------
  Mitigate dprint() deadlocks with dbg allocators

Only concerns F_MALLOC_DBG, HP_MALLOC_DBG and F_PARALLEL_MALLOC_DBG
allocators, and reduces the chance of a self-deadlock in LIBC whenever
an OpenSIPS worker crashes inside any kind of dprint() statement.

Related to #3742

(cherry picked from commit 6c914e388be971fd4b7d341506a0856533e6e5b7)

Fix HP_MALLOC issue in prev commit

(cherry picked from commit 1377c59e1ad66cb859b33256efbb3fc28317fddd)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list