From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4572 invoked by alias); 17 Apr 2007 22:46:18 -0000 Received: (qmail 4526 invoked by uid 48); 17 Apr 2007 22:46:04 -0000 Date: Tue, 17 Apr 2007 22:46:00 -0000 Message-ID: <20070417224604.4525.qmail@sourceware.org> From: "cagney at redhat dot com" To: frysk-bugzilla@sourceware.org In-Reply-To: <20070417225454.4389.cagney@redhat.com> References: <20070417225454.4389.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4389] ptrace in event-loop causes TestBreakpoints inferior to sig-seg-v 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-q2/txt/msg00122.txt.bz2 List-Id: ------- Additional Comments From cagney at redhat dot com 2007-04-17 23:46 ------- Here are the dieing moments of the trace; pt=7 is PT_CONTINUE: poke space=frysk.sys.Ptrace$AddressSpace@3c7970:USR pid=3664 index=114 value=f0 ptrace: pt=3 pid=3664 addr=0x114 data=0x0 -> 0xffff0ff0 ptrace: pt=6 pid=3664 addr=0x114 data=0xffff0ff0 -> 0x0 poke space=frysk.sys.Ptrace$AddressSpace@3c7970:USR pid=3664 index=115 value=f ptrace: pt=3 pid=3664 addr=0x114 data=0x0 -> 0xffff0ff0 ptrace: pt=6 pid=3664 addr=0x114 data=0xffff0ff0 -> 0x0 poke space=frysk.sys.Ptrace$AddressSpace@3c7970:USR pid=3664 index=116 value=ff ptrace: pt=3 pid=3664 addr=0x114 data=0x0 -> 0xffff0ff0 ptrace: pt=6 pid=3664 addr=0x114 data=0xffff0ff0 -> 0x0 poke space=frysk.sys.Ptrace$AddressSpace@3c7970:USR pid=3664 index=117 value=ff ptrace: pt=3 pid=3664 addr=0x114 data=0x0 -> 0xffff0ff0 ptrace: pt=6 pid=3664 addr=0x114 data=0xffff0ff0 -> 0x0 ptrace: pt=12 pid=3664 addr=0x0 data=0x3c2378 -> 0x0 ptrace: pt=7 pid=3664 addr=0x0 data=0x5 -> 0x0 ptrace: pt=7 pid=3664 addr=0x0 data=0xb -> 0x0 ptrace: pt=16897 pid=3664 addr=0x0 data=0xbfb16ad8 -> 0x0 ptrace: pt=7 pid=3664 addr=0x0 data=0xb -> 0x0 and it's sending PT_CONT of signal 5/SIGTRAP to the process. Per other discussion, if in a signal handler this can kill the inferior. -- http://sourceware.org/bugzilla/show_bug.cgi?id=4389 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.