From: Ian Campbell Subject: Re: [PATCH 1/3] libxl: Fix libxl_postfork_child_noexec deadlock etc. Date: Mon, 24 Feb 2014 14:55:39 +0000 Message-ID: <1393253739.16570.83.camel@kazak.uk.xensource.com> References: <1393251555-22418-1-git-send-email-ian.jackson@eu.citrix.com> <1393251555-22418-2-git-send-email-ian.jackson@eu.citrix.com> <1393253150.16570.79.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: M A Young Cc: George Dunlap , xen-devel@lists.xensource.com, Ian Jackson List-Id: xen-devel@lists.xenproject.org On Mon, 2014-02-24 at 14:53 +0000, M A Young wrote: > On Mon, 24 Feb 2014, Ian Campbell wrote: > > > On Mon, 2014-02-24 at 14:19 +0000, Ian Jackson wrote: > >> libxl_postfork_child_noexec would nestedly reaquire the non-recursive > >> "no_forking" mutex: atfork_lock uses it, as does sigchld_user_remove. > >> The result on Linux is that the process always deadlocks before > >> returning from this function. > >> > >> This is used by xl's console child. So, the ultimate effect is that > >> xl with pygrub does not manage to connect to the pygrub console. > >> This beahviour was reported by Michael Young in Xen 4.4.0 RC5. > > > > "behaviour". > > > > Michael reported this earlier on -rc2 as well but it fell through the > > cracks because I failed to properly appreciate the severity. Sorry. > > No that was a different problem (you get some warnings and a messed > up terminal sesssion on dom0 after using pygrub). This is a new problem, > probably introduced in rc4 (which I didn't get around to testing). OK, thanks for clarifying! Ian.