From owner-freebsd-current@FreeBSD.ORG Tue Dec 23 01:00:38 2003 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 A497C16A4CE for ; Tue, 23 Dec 2003 01:00:38 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E9343D31 for ; Tue, 23 Dec 2003 01:00:34 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id hBN90V1o042522; Tue, 23 Dec 2003 10:00:32 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Doug White From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 22 Dec 2003 17:22:30 PST." <20031222164220.E65273@carver.gumbysoft.com> Date: Tue, 23 Dec 2003 10:00:31 +0100 Message-ID: <42521.1072170031@critter.freebsd.dk> cc: current@freebsd.org Subject: Re: cd taste crash followup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 09:00:38 -0000 In message <20031222164220.E65273@carver.gumbysoft.com>, Doug White writes: >#9 0xc069ffb8 in calltrap () at {standard input}:94 >#10 0xc0518f18 in g_destroy_provider (pp=0xc645ea50) > at ../../../geom/geom_subr.c:428 >#11 0xc0516105 in g_orphan_register (pp=0xc63e1f00) > at ../../../geom/geom_event.c:147 >#12 0xc05161e0 in one_event () at ../../../geom/geom_event.c:173 >#13 0xc05163a5 in g_run_events () at ../../../geom/geom_event.c:206 >#14 0xc0517285 in g_event_procbody () at ../../../geom/geom_kern.c:134 >#15 0xc053666e in fork_exit (callout=0xc0517260 , >arg=0x0, > frame=0x0) at ../../../kern/kern_fork.c:793 > >In frame 10, > >(kgdb) print pp >$1 = (struct g_provider *) 0xc645ea50 >(kgdb) print *pp >$2 = {name = 0x0, provider = {le_next = 0x0, le_prev = 0x0}, geom = 0x0, > consumers = {lh_first = 0x0}, acr = 0, acw = 0, ace = 0, error = 0, > orphan = {tqe_next = 0x0, tqe_prev = 0x0}, index = 0, mediasize = 0, > sectorsize = 0, stripesize = 0, stripeoffset = 0, stat = 0x0, nstart = >0, > nend = 0, flags = 0} > >So the pointer points to a zeroed struct. I can't guess what has happened. There is nothing to do but to stick in more printfs and figure out the path we took to get here... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.