From: "Anand K" <anand_km@hotmail.com>
To: "Nir Livni" <nirl@cyber-ark.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: fork() crashes on child but returns success on parent
Date: Thu, 29 May 2003 12:43:42 +0530 [thread overview]
Message-ID: <BAY1-DAV69IvUtyBMFA000218dd@hotmail.com> (raw)
In-Reply-To: <E1298E981AEAD311A98D0000E89F45134B5694@ORCA>
Just wondering if you have masked off this signal, even though you have
setup signal handlers.
thanks,
Anand K.
----- Original Message -----
From: "Nir Livni" <nirl@cyber-ark.com>
Newsgroups: mailinglists.external.linux-kernel
To: <linux-kernel@vger.kernel.org>
Sent: Wednesday, May 28, 2003 5:08 PM
Subject: fork() crashes on child but returns success on parent
> Now I know for sure that the child crashes (SIGSEGV) before fork()
returns.
> I could see it in the UML debugger.
> It does not use the signal handler I have set up of the SIGSEGV. It simply
> crashes and exits.
>
> Could this be any kernel problem ?
> Any ideas what should I do next to track this problem ?
>
> > 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/
>
prev parent reply other threads:[~2003-05-29 6:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-28 11:36 Nir Livni
2003-05-29 7:13 ` Anand K [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY1-DAV69IvUtyBMFA000218dd@hotmail.com \
--to=anand_km@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nirl@cyber-ark.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®