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

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


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

  Changed paths:
    M signals.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.





More information about the Devel mailing list