From owner-freebsd-net@FreeBSD.ORG Thu Mar 3 04:07:41 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 68BB6106566B; Thu, 3 Mar 2011 04:07:41 +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 3ED6E8FC1A; Thu, 3 Mar 2011 04:07:41 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id EC96E5C40; Wed, 2 Mar 2011 23:08:28 -0500 (EST) Date: Wed, 2 Mar 2011 23:08:28 -0500 From: Wesley Shields To: Brandon Gooch Message-ID: <20110303040828.GC48908@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: Thu, 03 Mar 2011 04:07:41 -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@! I've sent the patch along to someone with a src bit to commit. Hopefully it ends up in the tree soon... -- WXS