From owner-freebsd-net@FreeBSD.ORG Fri Mar 11 16:38:34 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EBB5106566C; Fri, 11 Mar 2011 16:38:34 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.49.45]) by mx1.freebsd.org (Postfix) with ESMTP id 563C18FC12; Fri, 11 Mar 2011 16:38:34 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id CA5AF5C3D; Fri, 11 Mar 2011 11:39:21 -0500 (EST) Date: Fri, 11 Mar 2011 11:39:21 -0500 From: Wesley Shields To: Brandon Gooch Message-ID: <20110311163921.GA21078@atarininja.org> References: <1298961441.2888.2.camel@core.nessbank> <20110302194540.0000018f@unknown> <20110302215258.GA48643@atarininja.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Bruce Cran , freebsd-net@freebsd.org, Rui Paulo Subject: Re: Interface descriptions via pcap broken X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2011 16:38:34 -0000 On Wed, Mar 02, 2011 at 04:57:18PM -0600, Brandon Gooch wrote: > On Wed, Mar 2, 2011 at 3:52 PM, Wesley Shields wrote: > > On Wed, Mar 02, 2011 at 07:45:40PM +0000, Bruce Cran wrote: > >> On Wed, 2 Mar 2011 13:40:57 -0600 > >> Brandon Gooch wrote: > >> > >> > BTW, if you give your devices descriptions, libpcap > >> > starts to behave again; this could be a clue to the source of the bug > >> > :/ > >> > >> 0xa5 is the malloc fill pattern when debugging is enabled, and > >> having recently reinstalled FreeBSD I forgot to create the malloc.conf > >> symlink. So something's reading from uninitialized memory. > > > > Does commit c65292b04b98d6a76d58c5a54ca8f81463bf24de in the libpcap git > > tree look like it could help? I haven't checked in detail but I think it > > might have never made it into a release yet? > > > > https://github.com/mcr/libpcap/commit/c65292b04b98d6a76d58c5a54ca8f81463bf24de > > > > -- WXS > > I applied the patch attached (diff'd against the code from the github > link above), rebuilt libpcap and wireshark, and the problem described > no longer exists. Thanks for looking at this wxs@! This was fixed in r219472 by Xin Li. -- WXS