[OpenSIPS-Devel] [OpenSIPS/opensips] 3c29d4: signals: remove log in SIGCHLD handling

Răzvan Crainea noreply at github.com
Wed Apr 14 12:14:34 EST 2021


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3c29d422e24beb0450cda318a1a7362263d7fe8b
      https://github.com/OpenSIPS/opensips/commit/3c29d422e24beb0450cda318a1a7362263d7fe8b
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M main.c

  Log Message:
  -----------
  signals: remove log in SIGCHLD handling

Avoid deadlock generated when a SIGCHLD (caused by the completion of a
process started through for example `exec`) handler tries to log
something to syslog while the actual process was writing at syslog.
Kudos to Javier Gallart from Sonoc for reporting the issue and testing
the fix.

(cherry picked from commit af6399101a3c13e2d22fd4fbdcfea954bed82636)





More information about the Devel mailing list