Drone processes should not adopt SIGCHLD handler from parent (Perl)

Bug #1195018 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenSRF
New
Undecided
Unassigned

Bug Description

Code in working => user/berick/perl-children-sigchld-default

From the commit:

Remove the special SIGCHLD handler applied to the parent/listener process from spawned child processes (drones) by setting child handler to DEFAULT. Otherwise, if an OpenSRF drone process spawns a sub-process, the drone will execute the SIGCHLD handler meant for the Listener when the sub-process dies, wherein hijinks ensue.

Basically, $SIG{CHLD} = 'DEFAULT';

Tags: pullrequest
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.