Date: Sun, 25 Jan 2004 14:18:03 +0000 From: Michael McGoldrick <michael@mcgoldrick.org> To: current@freebsd.org Subject: Re: Fatal trap 12 pcm / devfs related? Message-ID: <20040125141802.GA879@uriel.mcgoldrick.org> In-Reply-To: <20040124190618.GN64193@cnd.mcgill.ca> References: <20040124133246.GA862@uriel.mcgoldrick.org> <20040124190618.GN64193@cnd.mcgill.ca>
index | next in thread | previous in thread | raw e-mail
This patch seems to work perfectly. Thanks!
On Sat, Jan 24, 2004 at 02:06:18PM -0500, Mathew Kanner wrote:
> 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
--
Michael McGoldrick: michael@mcgoldrick.org
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040125141802.GA879>
