All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Henningsson <david.henningsson@canonical.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: OOPS: Vmaster not freed on reconfig
Date: Wed, 09 Nov 2011 15:30:34 +0100	[thread overview]
Message-ID: <4EBA8E8A.40708@canonical.com> (raw)
In-Reply-To: <s5hehxiefm5.wl%tiwai@suse.de>

On 11/08/2011 05:36 PM, Takashi Iwai wrote:
> At Tue, 08 Nov 2011 17:16:56 +0100,
> David Henningsson wrote:
>>
>> Hi,
>>
>> I'm playing around with the reconfig functions of snd-hda-codec and got
>> an OOPS in slave_put. I tried to research this, and I think I've nailed
>> down the problem: the vmaster is not freed on reconfig (presumably, it
>> should be fixed in hda_codec.c:snd_hda_ctls_clear).
>
> Hmm, I don't figure out how it happens.
> The vmaster is added to the list via snd_hda_add_vmaster() by calling
> snd_hda_ctl_add().

You're correct. It must be some other error.

>> I'm a little unsure of whether the best thing is to just add it to
>> codec.mixers, keep them in a separate array, or something else. What do
>> you think?
>>
>> (It's on 3.0, it's a sigmatel/IDT, and I've got the screen captured by a
>> camera if anyone is interested.)
>
> Yes, it'd be interesting.  If the bug is easily reproducible, you can
> capture the oops text by netconsole, too.

I haven't had the time to troubleshoot further yet (and thus I don't 
know if it's reproducible), but at least I've uploaded the requested 
information:

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/888081/+attachment/2590781/+files/alsa-info.txt.ZE05tEjd8T

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/888081/+attachment/2590787/+files/DSC00007.JPG 


(Sorry about the bad quality of that picture, I think most of it should 
be readable at least)

-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic

  parent reply	other threads:[~2011-11-09 14:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-08 16:16 OOPS: Vmaster not freed on reconfig David Henningsson
2011-11-08 16:36 ` Takashi Iwai
2011-11-08 16:48   ` Takashi Iwai
2011-11-09 14:30   ` David Henningsson [this message]
2011-11-09 15:46     ` Takashi Iwai
2011-11-09 16:19       ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EBA8E8A.40708@canonical.com \
    --to=david.henningsson@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.