From owner-freebsd-i386@FreeBSD.ORG Wed Aug 11 22:50:26 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0199516A4D7 for ; Wed, 11 Aug 2004 22:50:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D82C43D9C for ; Wed, 11 Aug 2004 22:50:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7BMoM3H088889 for ; Wed, 11 Aug 2004 22:50:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7BMoMKD088888; Wed, 11 Aug 2004 22:50:22 GMT (envelope-from gnats) Resent-Date: Wed, 11 Aug 2004 22:50:22 GMT Resent-Message-Id: <200408112250.i7BMoMKD088888@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ernie Smallis Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B89C616A4CF for ; Wed, 11 Aug 2004 22:40:41 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8E2843D39 for ; Wed, 11 Aug 2004 22:40:41 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i7BMefGl019943 for ; Wed, 11 Aug 2004 22:40:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i7BMef1s019942; Wed, 11 Aug 2004 22:40:41 GMT (envelope-from nobody) Message-Id: <200408112240.i7BMef1s019942@www.freebsd.org> Date: Wed, 11 Aug 2004 22:40:41 GMT From: Ernie Smallis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: i386/70330: Re-Open 33262? - gdb does not handle pending signals properly when single stepping during a remote debug session. X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 22:50:26 -0000 >Number: 70330 >Category: i386 >Synopsis: Re-Open 33262? - gdb does not handle pending signals properly when single stepping during a remote debug session. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 11 22:50:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Ernie Smallis >Release: 5.2.1, 5.2.CURRENT >Organization: St. Bernard Software (San Diego, CA) >Environment: uname -snrmv FreeBSD gromit.rapid.stbernard.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: I am seeing a similar problem in both 5.2.1 and 5.2 current. I am receiving a SIGSEGV for gdb during a remote kernel debug session. The messages are: 1. From infrun.c Program received signal SIGSEGV, Segmentation fault. 2. From remote.c Can't send signals to this remote system. SIGSEGV not sent. #2 I can understand because the host gdb is bombing. #1 is possibly bombing for a stack overflow? When the host is signalled, process_event_stop_test( ) in infrun.c is called and I expect that either remote_wait( ) or remote_async_wait( ) are called as part of telling the world that gdb has crashed. It also appears that handle_inferior_event( ) is where we pick this up. I haven't debugged any further and would like to know your opinion and get some direction. >How-To-Repeat: If you use the remote gdb to debug a target kernel and you continually step and/or set a breakpoint and continue in any way, you will receive the above messages. Thanks for any info./help you can provide. Ernie ;-) Ernest Smallis Sr. Software Engineer RAPID Development esmallis@stbernard.com 858-524-2137 (PDT) >Fix: >Release-Note: >Audit-Trail: >Unformatted: