public inbox for frysk-bugzilla@sourceware.org help / color / mirror / Atom feed
From: "cmoller at redhat dot com" <sourceware-bugzilla@sourceware.org> To: frysk-bugzilla@sourceware.org Subject: [Bug general/3639] fc6: testTerminateKillKILL(frysk.proc.TestTaskTerminateObserver) Date: Tue, 27 Mar 2007 16:07:00 -0000 [thread overview] Message-ID: <20070327160733.31092.qmail@sourceware.org> (raw) In-Reply-To: <20061204180758.3639.cmoller@redhat.com> ------- Additional Comments From cmoller at redhat dot com 2007-03-27 17:07 ------- Here's what's happening: 1. Wait.cxx:processStatus() decodes the waitpid status and if (WIFSTOPPED (status) && (PTRACE_EVENT_EXIT == WSTOPEVENT (status))) it calls exitEvent() 2. LinuxPtraceHost.PollWaitOnSigChld.exitEvent() calls processTerminatingEvent() 3. Task.processTerminatingEvent() calls .handleTerminatingEvent() 4. LinuxPtraceTaskState.handleTerminatingEvent() calls notifyTerminating() 5. Task.notifyTerminating() calls updateTerminating() 6. TestTaskTerminateObserver. updateTerminating sets the int terminating value. If, in Wait.cxx:processStatus(), status == 9, (KILL), WIFSIGNALED (status) is true rather than WIFSTOPPED (status), so none of the foregoing happens, causing the test to fail. What I don't know is if the process described above is in fact what the programmer who wrote it intended and the test exercises conditions that weren't meant to be exercised, or if the process described is flawed or incomplete. -- http://sourceware.org/bugzilla/show_bug.cgi?id=3639 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
next prev parent reply other threads:[~2007-03-27 16:07 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-12-04 18:08 [Bug general/3639] New: " cmoller at redhat dot com 2006-12-04 20:05 ` [Bug general/3639] " cagney at redhat dot com 2007-01-31 22:15 ` cagney at redhat dot com 2007-01-31 22:16 ` cagney at redhat dot com 2007-01-31 22:22 ` cagney at redhat dot com 2007-03-26 16:26 ` cmoller at redhat dot com 2007-03-26 16:55 ` cagney at redhat dot com 2007-03-26 18:34 ` cmoller at redhat dot com 2007-03-26 20:11 ` cagney at redhat dot com 2007-03-26 20:23 ` cmoller at redhat dot com 2007-03-26 20:51 ` cagney at redhat dot com 2007-03-26 20:52 ` roland at gnu dot org 2007-03-27 3:40 ` cmoller at redhat dot com 2007-03-27 3:49 ` roland at gnu dot org 2007-03-27 16:07 ` cmoller at redhat dot com [this message] 2007-04-05 15:22 ` cagney at redhat dot com 2007-07-04 19:06 ` cagney at redhat dot com
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=20070327160733.31092.qmail@sourceware.org \ --to=sourceware-bugzilla@sourceware.org \ --cc=frysk-bugzilla@sourceware.org \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).