From owner-freebsd-current@FreeBSD.ORG Thu May 19 15:09:22 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A3F016A4CE for ; Thu, 19 May 2005 15:09:22 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 198EF43D98 for ; Thu, 19 May 2005 15:09:22 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so650239wri for ; Thu, 19 May 2005 08:09:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H45h4dgpLLr6xg7tdh5hGbW4BCssg/HpGoN73S/Bx8Z/ROopWBPDMPRAypWyRDt3ifYBFmZSFlw7vC+pN51Wu6CaQonVFS5Mv3MH5ZygCAtTauY5sOnmlcadV6W+ZczcLNVl9gUCHlfQTL7XLf+wpERxfItnLIFnkQh9FiFbGiU= Received: by 10.54.81.14 with SMTP id e14mr1240044wrb; Thu, 19 May 2005 08:09:21 -0700 (PDT) Received: by 10.54.29.77 with HTTP; Thu, 19 May 2005 08:09:20 -0700 (PDT) Message-ID: <790a9fff0505190809428abb15@mail.gmail.com> Date: Thu, 19 May 2005 10:09:20 -0500 From: Scot Hetzel To: Matti Saarinen In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: cc: freebsd-current@freebsd.org Subject: Re: CURRENT: ifconfig tap0 results in core dump X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Scot Hetzel List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2005 15:09:22 -0000 On 5/19/05, Matti Saarinen wrote: > Now, I've terminated PID 584 (openvpn) >=20 > % ifconfig tap0 > tap0: flags=3D8802 mtu 1500 > inet6 fe80::2bd:9ff:fe7c:100%tap0 prefixlen 64 scopeid 0x5 > zsh: segmentation fault (core dumped) ifconfig tap0 >=20 >=20 > I remember that ifconfig didn't dump core when my laptop ran CURRENT > from a few months ago. >=20 You'll probably need to build a version of ifconfig with debugging symbols. And then provide a backtrace of the core dump. How soon after killing openvpn, do you use the ifconfig command. It might be possible that devfs was in the process of removing tap0, when you used the ifconfig command. Another possibility is that openvpn didn't properly cleanup after itself when it shutdown. So you may also need to look at the openvpn code. > If I restart the openvpn process, the tap0 interface works but ifconfig = tap0 > still dumps core. Does tap0 really work, or is there a new tap1 interface (i.e. openvpn sees tap0 in use, and creates tap1), using the tap0 settings. Scot