[pgpool-committers: 3684] pgpool: Fix a race condition in a signal handler per bug 265.
ishii at postgresql.org
Tue Dec 6 13:38:18 JST 2016
Fix a race condition in a signal handler per bug 265.
In child.c there's signal handler which calls elog. Since the signal
handler is not blocked against other signals while processing, deadlock
could occur in the system calls in the pgpool shutdown sequence. To
fix the problem, now the signal handler is blocked by using
Ideally we should avoid calling elog in signal handlers though.
src/protocol/child.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
More information about the pgpool-committers