bug#43066: Hang when forking new process.

2021-05-11 Thread Ludovic Courtès
Hi Mathieu, Mathieu Othacehe skribis: >>From 004c0c78c9c21c48b38d76b5d7b356b40c8e5a4a Mon Sep 17 00:00:00 2001 > From: Mathieu Othacehe > Date: Thu, 27 Aug 2020 09:16:55 +0200 > Subject: [PATCH] Close finalization pipe after forking. > > When forking, the finalization pipe file descriptors are

bug#43066: Hang when forking new process.

2020-08-27 Thread Mathieu Othacehe
Hello, When forking, the finalization pipe file descriptors are inherited. If the child process spawns a finalization thread, it will use a copy of its parent finalization pipe file descriptors. Hence, if the parent tries to stop its finalization thread, by forking another process for instance,