From owner-freebsd-current@FreeBSD.ORG Sat Jan 24 11:10:04 2004 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 359D816A4DD for ; Sat, 24 Jan 2004 11:10:04 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA37943D53 for ; Sat, 24 Jan 2004 11:10:02 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id i0OJ6Ipq094097; Sat, 24 Jan 2004 14:06:18 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id i0OJ6Is4094096; Sat, 24 Jan 2004 14:06:18 -0500 (EST) Date: Sat, 24 Jan 2004 14:06:18 -0500 From: Mathew Kanner To: Michael McGoldrick Message-ID: <20040124190618.GN64193@cnd.mcgill.ca> References: <20040124133246.GA862@uriel.mcgoldrick.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040124133246.GA862@uriel.mcgoldrick.org> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.62 X-Spam-Checker-Version: SpamAssassin 2.62 (2004-01-11) on hak.cnd.mcgill.ca cc: current@freebsd.org Subject: Re: Fatal trap 12 pcm / devfs related? 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: Sat, 24 Jan 2004 19:10:04 -0000 On Jan 24, Michael McGoldrick wrote: > (kgdb) l *0xc051be9a > 0xc051be9a is in dsp_clone (/usr/src/sys/dev/sound/pcm/dsp.c:1096). > 1091 if (unit == -1 || unit >= devclass_get_maxunit(pcm_devclass)) > 1092 return; > 1093 > 1094 pcm_dev = devclass_get_softc(pcm_devclass, unit); > 1095 > 1096 SLIST_FOREACH(pcm_chan, &pcm_dev->channels, link) { > 1097 > 1098 switch(devtype) { > 1099 case SND_DEV_DSP: > 1100 pdev = pcm_chan->dsp_devt; > (kgdb) Hello Michael, I'm not exactly sure why this is happening and I'm not really in a place to do debugging, but could you try sticking a if (pcm_dev == NULL) return; at line 1095 and try again. Thanks, --Mat -- sig machine broken