Date: Fri, 10 Oct 2003 17:32:36 +1000 From: CJ East <ghd832332157@geckomail.org> To: freebsd-hackers@freebsd.org Subject: Hey :P Message-ID: <1065771155.977.79.camel@buttercup.trl.telstra.com.au>
next in thread | raw e-mail | index | archive | help
Hi all :P My apologies if this is a fixed problem/etc I'm new to FreeBSD so here goes... I'm running a 1-week on 5.1-STABLE world / i386 , but my sound card intermittently stops playing under xmms. PR Kern/40711 looks very similar, it looks to have the same symptoms as my own, however my looking has lead me to snd_pcm.ko module as the root cause. Specifically, I can reproduce the problem (making hw.snd.pcm0.vchans=8) and have taken it as far as sndbuf_remalloc (in /usr/src/sys/dev/sound/pcm/buffer.c), in which one of two malloc calls fail, unwinding all the way to the top where xmms prints it's lovely message. The actual call to malloc looks sane enough to my eyes (131072 bytes, it does this successfully beforehand so I'm guessing no probs there). I'm suspecting that there's a leak somewhere and we've hit a hard limit. (Of course, I'm just stabbing in the dark, so let me know if y'all have another idea) If somebody could let me know where to run with this it would be quite helpful (I'm assuming there's some way of checking the amount allocated to M_DEVBUF, but I've no idea how! :( ) -- I can reproduce the problem (reasonably sporadically, about once an hour or so with xmms playing) I looked at the underlying malloc function but I'm a little retiscent to start putting printf's in there... ;) What's the best course of action somebody? -cje-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1065771155.977.79.camel>