Re: [odd strace]

William Aoki (William.Aoki@m.cc.utah.edu)
Mon, 5 Apr 1999 16:12:31 -0600 (MDT)


The same thing happens here with 2.2.4 SMP. The process also resumes
execution if strace is suspended (w/ ctrl-Z) and resumed.

-- 
 --
+-----    William Aoki    -------- waoki@raven.umnh.utah.edu ----------------+
| aka William.Aoki@m.cc.utah.edu         http://raven.umnh.utah.edu/~waoki/  |
# N 40 46.668' W 111 52.056   My signature exceeds the recommended 4 lines!  #
 *** I do not speak for my employer, and my employer dosen't speak for me ***
+----------------------------------------------------------------------------+
  "History is not about learning.  It is about doing essays."
     -- found in the margins of my history book

(hmmm... my signature is longer than my post... not good...)

On Mon, 5 Apr 1999, Simon Kirby wrote:

> Date: Mon, 5 Apr 1999 09:32:57 -0700 (PDT) > From: Simon Kirby <sim@netnation.com> > To: linux-kernel@vger.rutgers.edu > Cc: MOLNAR Ingo <mingo@chiara.csoma.elte.hu> > > There appears to be a bug in 2.2.5 with the ptrace stuff. It appears to > only happen on SMP systems. I have found that the process being straced > ends up eventually getting stuck in the stopped state. It's quite easy to > reproduce: > > [sroot@oof:/]# strace yes > /dev/null > > ...wait about a minute or so... > > (in another console) > > [sroot@oof:/]# ps auxw | grep yes > root 11521 15.4 0.3 936 396 3 S 17:59 0:34 strace yes > root 11522 49.7 0.2 836 268 3 T 17:59 1:51 yes > root 11533 0.0 0.2 952 312 4 S 18:01 0:00 grep yes > > kill -CONT 11522 would make it continue again as normal until the next > time it occurs. > > (Using strace version 3.1.0.1) > > Simon- > > > | Simon Kirby | Systems Administration | > | mailto:sim@netnation.com | NetNation Communications | > | http://www.netnation.com/ | Tech: (604) 684-6892 | > > > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.rutgers.edu > Please read the FAQ at http://www.tux.org/lkml/ >

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/