From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264609AbTE1HlM (ORCPT ); Wed, 28 May 2003 03:41:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264611AbTE1HlM (ORCPT ); Wed, 28 May 2003 03:41:12 -0400 Received: from mxout1.netvision.net.il ([194.90.9.20]:50833 "EHLO mxout1.netvision.net.il") by vger.kernel.org with ESMTP id S264609AbTE1HlI (ORCPT ); Wed, 28 May 2003 03:41:08 -0400 Date: Wed, 28 May 2003 11:08:53 +0200 From: Nir Livni Subject: Re: fork() returns on parent but not returns on child To: Anand K , linux-kernel@vger.kernel.org Reply-to: Nir Livni Message-id: <016d01c324f8$c2bde4e0$68d0da51@pinguin> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook Express 6.00.2800.1158 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <00f801c324ac$1904b6a0$30dfda51@pinguin> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > How about setting up a signal handler? Makes things simpler. Parent already has a signal handler. Child does not reach it. It simply exists. > > -- Anand K. > ----- Original Message ----- > From: "Nir Livni" > Newsgroups: mailinglists.external.linux-kernel > To: > Cc: "Nir Livni" > Sent: Wednesday, May 28, 2003 4:18 AM > Subject: fork() returns on parent but not returns on child > > > > Hi all, > > I am experiencing a problem, where fork() returns succesfully on parent, > but > > does not return on child. > > The child process simply "disappears". > > I believe it might have got a SIGSEGV (if it makes any sence) before > fork() > > has returned. > > > > I would like to track down this problem. > > What I did so far is: > > 1. I tried first to make sure there are no memory overruns using few > tools. > > 2. I tried to look at strace output, but the problem does not occur if I > use > > strace > > 3. I make a UserModeLinux machine > > and now I would like to breakpoint the created child before it crashes > > (assuming it really crashes) > > > > How do I do that ? > > > > Thanks, > > Nir > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ > >