[lkml]   [2006]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Alsa-devel] Slab corruptions & Re: 2.6.17-rc1: Oops in sound applications
On Wed, Apr 05, 2006 at 01:19:11AM +0200, Jan Niehusmann wrote:
> ...which happens to be the commit which contains the bug you already
> mentioned. I wonder if there is a second one hidden somewhere in that
> commit, or if git-bisect led me to that bug while the second one is
> hidden in a different commit...

Well, I did some additional debugging on that, working on git version

In snd_pcm_oss_release() I added
snd_assert(substream != NULL, return -ENXIO);
in front of the first access to substream->pcm, which leads to

Apr 5 02:13:13 knautsch kernel: [17180638.784000] BUG? (substream != ((void *)0))

when opening /dev/dsp for write.

If I now add the patch you suggested, correcting the check in
snd_pcm_oss_open_file(), accessing /dev/dsp instead leads to EINVAL.

So I guess git bisect really lead me to this already known bug.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-04-05 02:31    [W:0.060 / U:8.492 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site