From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 3 22:52:29 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD71137B401; Sun, 3 Aug 2003 22:52:29 -0700 (PDT) Received: from thought.holo.org (h-68-166-32-19.SNVACAID.covad.net [68.166.32.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A766843F75; Sun, 3 Aug 2003 22:52:26 -0700 (PDT) (envelope-from bwb@holo.org) Received: from localhost (localhost [127.0.0.1]) by thought.holo.org (8.12.9/8.12.9) with ESMTP id h745pMQP079146; Sun, 3 Aug 2003 22:51:23 -0700 (PDT) (envelope-from bwb@holo.org) Date: Sun, 3 Aug 2003 22:51:22 -0700 (PDT) From: Brian Buchanan To: "Greg 'groggy' Lehey" In-Reply-To: <20030804051326.GY95375@wantadilla.lemis.com> Message-ID: <20030803224202.V63360-100000@thought.holo.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org Subject: Re: Netgraph node, first steps in kernel land and a bloody crash dump X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 05:52:30 -0000 > OK, what we see here is that the printf call calls putchar() to print > the individual characters. The one it's printing now is 0x69 (frame > 7), lowercase 'i'. That's not in the (first) string passed to > printf(), but it could be in another parameter, or in the format > string. It's actually 69 decimal, or 'E', which would be consistent with the format string. Looking at line 355 of subr_prf.c, I'm going to hazard a guess that something smashed the value of v_putc, which should have been pointing to cnputc(). Could have been a stack smash inside cnputc, too, but I don't see any obvious way that could have happened. - Brian -- Brian Buchanan, CISSP bwb@holo.org -------------------------------------------------------------------------- FreeBSD - The Power to Serve! http://www.freebsd.org