From owner-freebsd-current Wed Oct 1 22:16:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA03610 for current-outgoing; Wed, 1 Oct 1997 22:16:05 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA03585; Wed, 1 Oct 1997 22:15:59 -0700 (PDT) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.8.7/8.8.5) id WAA00972; Wed, 1 Oct 1997 22:18:25 -0700 (PDT) From: Steve Kargl Message-Id: <199710020518.WAA00972@troutmask.apl.washington.edu> Subject: Re: netatalk broken in -current In-Reply-To: <19971001205723.43367@right.PCS> from Jonathan Lemon at "Oct 1, 97 08:57:23 pm" To: jlemon@americantv.com (Jonathan Lemon) Date: Wed, 1 Oct 1997 22:18:25 -0700 (PDT) Cc: kargl@troutmask.apl.washington.edu, wollman@FreeBSD.ORG, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Jonathan Lemon: > On Oct 10, 1997 at 05:38:48PM -0700, Steven G. Kargl wrote: > > Netatalk is broken in -current. I've tracked the problem > > down to commits made on Aug 16. A kernel built with sources > > I've been trying to track this one down today. I'm able to get > the `atalkd' daemon up and running, and then execute _one_ appletalk > command (say, getzones). The second time around, it errors with > EPROTONOSUPPORT. > > Tracing the second program into the kernel shows that somehow, between > the completion of the first `getzones' call, and the start of the > second, `prp->pr_usrreqs->pru_attach' has been set to 0. > Your analysis suggests that this might be an "off by one" indexing problem or using a pointer that was previously freed. I would think that phkmalloc would catch memory management problems. I have no idea where to look at the moment. -- Steve finger kargl@troutmask.apl.washington.edu http://troutmask.apl.washington.edu/~kargl/sgk.html