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

Liviu Chircu noreply at github.com
Wed Oct 22 15:05:37 UTC 2025


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c183e81070d20197c08bad48bd3cd323b2eb72c9
      https://github.com/OpenSIPS/opensips/commit/c183e81070d20197c08bad48bd3cd323b2eb72c9
  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/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