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

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


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