From: Takashi Iwai Subject: Re: kernel/alsa oops Date: Tue, 04 Apr 2006 17:54:52 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: walt Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 03 Apr 2006 13:32:12 -0700, walt wrote: > > I update from Linus every day, so I'm running his latest alsa > updates as of 03April. > > I just got this kernel oops, which is reproducible: > Oops: 0000 [#1] > PREEMPT > CPU: 0 > EIP is at snd_pcm_oss_get_space+0x33/0x140 [snd_pcm_oss] > eax: d9d13ce0 ebx: 00000000 ecx: 00000001 edx: ffffffea > esi: 00000000 edi: c15e94c0 ebp: bf87a540 esp: d82abf28 > ds: 007b es: 007b ss: 0068 > Process realplay.bin (pid: 18441, threadinfo=d82aa000 task=c74c9ab0) > Stack: <0>c02aed06 ffffffbf c0265c17 c8c0ce80 0000541b ffffffe7 > dd8c8c60 bf87a540 > 8010500c c015383c d9d13ce0 00000000 bf87a540 bf87a540 00000000 > dd8c8c60 > 00000014 c0153aeb dd8c8c60 8010500c bf87a540 fffffff7 fffffff7 > dd8c8c60 > Call Trace: > unix_ioctl+0xb1/0xbe sock_ioctl+0x195/0x1b2 > do_ioctl+0x28/0x66 vfs_ioctl+0x17e/0x18c > sys_ioctl+0x2b/0x47 sysenter_past_esp+0x54/0x75 > Code: 53 83 ec 14 8b 6c 24 30 8b 74 24 2c 85 ed 0f 84 1a 01 00 00 8b 44 > 24 28 ba ea ff ff ff 8b 3c b0 85 ff 0f 84 06 01 00 00 8b 5f 5c 83 > 20 02 00 00 01 74 11 57 e8 57 e6 ff ff 89 c2 85 d2 58 0f > > This is what I did to reproduce this oops: > > I was playing a video with mplayer, which I put on 'pause'. > I started listening to BBC Radio with RealPlayer-10.0.7. > I then took mplayer off of pause, which instantly produced > this kernel oops. > > Judging from the behavior of all the apps I was running at > the time, it seems that RealPlay was the one which actually > crashed. Everything else seems okay. > > Any ideas? Need any further info? Does the following patch fix your problem, too? It's by OGAWA Hirofumi . 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; } _ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642