From owner-freebsd-virtualization@freebsd.org Tue Apr 10 15:51:20 2018 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C854F82625 for ; Tue, 10 Apr 2018 15:51:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40FAD6E956; Tue, 10 Apr 2018 15:51:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 666A610AFD3; Tue, 10 Apr 2018 11:51:19 -0400 (EDT) From: John Baldwin To: freebsd-virtualization@freebsd.org Cc: Andriy Gapon , freebsd-virtualization@freebsd.org Subject: Re: bhyve -g gets killed by EPIPE Date: Mon, 09 Apr 2018 18:20:36 -0700 Message-ID: <3573812.htvvNEhHHK@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.1-STABLE; KDE/4.14.30; amd64; ; ) In-Reply-To: <7646c12a-a175-3e8d-0399-3215176fe838@FreeBSD.org> References: <7646c12a-a175-3e8d-0399-3215176fe838@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Tue, 10 Apr 2018 11:51:19 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2018 15:51:20 -0000 On Thursday, November 24, 2016 06:13:45 PM Andriy Gapon wrote: > > I am trying to follow this guide: > https://wiki.freebsd.org/bhyve/DebuggingWithGdb > > It seems to work, once or twice, but after that when I active kdb in the guest > bhyve would terminate with status 141. I interpret it as signal 13, EPIPE. FWIW, for the debug server I made the sockets disable SIGPIPE to avoid killing the guest if the debugger dies. The -g sockets probably need to disable SIGPIPE as well. -- John Baldwin