From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1C7JlV-0007Kt-SD for user-mode-linux-devel@lists.sourceforge.net; Tue, 14 Sep 2004 13:19:01 -0700 Received: from [12.177.129.25] (helo=ccure.user-mode-linux.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C7JlT-00061h-Vh for user-mode-linux-devel@lists.sourceforge.net; Tue, 14 Sep 2004 13:19:01 -0700 Message-Id: <200409142123.i8ELN34W004063@ccure.user-mode-linux.org> Subject: Re: [uml-devel] handle_trap - failed to wait at end of syscall In-Reply-To: Your message of "Tue, 14 Sep 2004 12:09:08 EDT." <414717A4.7070605@nortelnetworks.com> References: <200408120541.i7C5faJd010923@ccure.user-mode-linux.org> <200409132139.33256.blaisorblade_spam@yahoo.it> <200409132214.i8DMEwL7003829@ccure.user-mode-linux.org> <200409141241.21480.blaisorblade_spam@yahoo.it> <414717A4.7070605@nortelnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Jeff Dike Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 14 Sep 2004 17:23:03 -0400 To: Joe Marzot Cc: BlaisorBlade , user-mode-linux-devel@lists.sourceforge.net, "Smith, Paul [BL60:NP52:EXCH]" gmarzot@nortelnetworks.com said: > In our case the UML is launched like this: > perl script > my $pid = fork(); > if ($pid == 0) { > setpgrp(); # give all UMLs the same group id so I can renice them > exec($cmd); I think I understand what's happening. You are (unwittingly) sending UML (and every process that belongs to it) a HUP when you, in effect, detach it from its parent terminal. My first thought was that SIGHUP isn't disabled in the userspace process, and it should be, but it is, so I don't know why it's even being seen by the ptracer. It should only see signals which are enabled in the child. In the meantime, while we figure this out, you might try just adding "nohup" to the beginning of your $cmd. Jeff ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel