From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32409 invoked by alias); 27 Mar 2007 16:07:52 -0000 Received: (qmail 31093 invoked by uid 48); 27 Mar 2007 16:07:33 -0000 Date: Tue, 27 Mar 2007 16:07:00 -0000 Message-ID: <20070327160733.31092.qmail@sourceware.org> From: "cmoller at redhat dot com" To: frysk-bugzilla@sourceware.org In-Reply-To: <20061204180758.3639.cmoller@redhat.com> References: <20061204180758.3639.cmoller@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/3639] fc6: testTerminateKillKILL(frysk.proc.TestTaskTerminateObserver) X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q1/txt/msg00850.txt.bz2 List-Id: ------- 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.