public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] Issue 3 - ptrace06 hung for 7 hours
Date: Tue, 6 Oct 2009 06:43:34 -0400	[thread overview]
Message-ID: <200910060643.35041.vapier@gentoo.org> (raw)
In-Reply-To: <364299f40910060307g33fcf21chcfcdb4cefe4e9bc@mail.gmail.com>


[-- Attachment #1.1: Type: Text/Plain, Size: 812 bytes --]

On Tuesday 06 October 2009 06:07:40 Garrett Cooper wrote:
>     Ran into another issue. When I was running ptrace06 in the
> syscalls test I noticed that it had been hung for over 7 hours -- is
> this a known issue?
>     strace'ing the child proc didn't help (got ENOPERM), and
> strace'ing the parent proc returned nada. I'm going to attach gdb and
> figure out what the issue is, but I was wondering whether or not
> anyone else knew.

you wont be able to strace the child because it's already attached with ptrace 
from the parent.  most likely the parent is sleeping and awaiting a signal 
from the child as there was some race that caused a mismatch.

the test probably could do with a alarm() to prevent such hangs -- in the 
normal case, it should execute in a few seconds if that.
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 401 bytes --]

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2009-10-06 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06 10:07 [LTP] Issue 3 - ptrace06 hung for 7 hours Garrett Cooper
2009-10-06 10:43 ` Mike Frysinger [this message]
2009-10-07  6:00   ` Garrett Cooper

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=200910060643.35041.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=ltp-list@lists.sourceforge.net \
    /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