Ticket #3119. The real reason behind the HUP crashing is that signal blocks the process and than gets restarted this makes double free happen sometime. Properly handle this by disabling signal handling while still processing a HUP/USR1/PIPE signal and restoring the handler after