Message ID | 51F8B045.8030303@metafoo.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Jul 31, 2013 at 08:35:49AM +0200, Lars-Peter Clausen wrote: > 0x6b6b6b6b is poisoned freed memory. According to the source neither > the INR Mux nor the INL Mux widget should have any sinks. Can you > add a couple more printks: Dan Carpenter sent a patch which is probably the issue - I'm trying to figure out how to boot my Beaver board so hopefully I can test, it'll be in -next tomorrow anyway.
On 07/31/2013 04:36 AM, Mark Brown wrote: > On Wed, Jul 31, 2013 at 08:35:49AM +0200, Lars-Peter Clausen > wrote: > >> 0x6b6b6b6b is poisoned freed memory. According to the source >> neither the INR Mux nor the INL Mux widget should have any sinks. >> Can you add a couple more printks: > > Dan Carpenter sent a patch which is probably the issue - I'm trying > to figure out how to boot my Beaver board so hopefully I can test, > it'll be in -next tomorrow anyway. I assume that is "[patch] ASoC: dapm: using freed pointer in dapm_kcontrol_add_widget()". That doesn't fix the issue. Do you need me to debug any further?
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index b779d36..1a82e75 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -774,8 +774,13 @@ struct snd_soc_dapm_path *p; list_for_each_entry(p, sink, list_source) { + printk("dapm_clear_walk_output 1: %p\n", p); if (p->walked) { p->walked = 0; + printk("dapm_clear_walk_output 1: %p\n", p->source); + printk("dapm_clear_walk_output 2: %p\n", p->sink); + printk("dapm_clear_walk_output 3: %s\n", + p->sink->name); dapm_clear_walk_output(dapm, &p->sink->sinks); } } @@ -1189,6 +1194,8 @@ DAPM_UPDATE_STAT(w, power_checks); + printk("dapm_generic_check_power: %p %s\n", w, w->name); + in = is_connected_input_ep(w, NULL); dapm_clear_walk_input(w->dapm, &w->sources); out = is_connected_output_ep(w, NULL);