Re: [Alsa-devel] Slab corruptions & Re: 2.6.17-rc1: Oops in sound applications

From: Takashi Iwai
Date: Tue Apr 04 2006 - 11:56:50 EST


At Tue, 4 Apr 2006 15:38:14 +0200,
Jan Niehusmann wrote:
>
> On Mon, Apr 03, 2006 at 10:01:08PM +0100, Ken Moffat wrote:
> > 1. One line summary:
> >
> > On x86, sound applications oops when I refresh the browser.
>
> I also see Oopses which seem to be sound related, although I did
> not notice a correllation with the browser. The oopses below are from
> 2.6.17-rc1 with additional ipw2200 patches (first one), and from a clean
> 2.6.17 (second one). The -dirty suffix in the version numbers comes from
> compiling with make-kpkg, not from actual changes to the source.

Could you try the patch below by OGAWA Hirofumi
<hirofumi@xxxxxxxxxxxxxxxxxx>?


Takashi

===

sound/core/oss/pcm_oss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN sound/core/oss/pcm_oss.c~pcm_oss-fixes sound/core/oss/pcm_oss.c
--- linux-2.6/sound/core/oss/pcm_oss.c~pcm_oss-fixes 2006-04-04 19:53:41.000000000 +0900
+++ linux-2.6-hirofumi/sound/core/oss/pcm_oss.c 2006-04-04 19:54:18.000000000 +0900
@@ -1760,7 +1760,7 @@ static int snd_pcm_oss_open_file(struct
snd_pcm_oss_init_substream(substream, &setup[idx], minor);
}

- if (! pcm_oss_file->streams[0] && pcm_oss_file->streams[1]) {
+ if (!pcm_oss_file->streams[0] && !pcm_oss_file->streams[1]) {
snd_pcm_oss_release_file(pcm_oss_file);
return -EINVAL;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/