All of lore.kernel.org
 help / color / mirror / Atom feed
* snd_pcm_hw_params_get_period_size points to __old_ symbol
@ 2009-02-22 21:35 Daniel Mack
  2009-02-22 22:15 ` Liam Girdwood
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Mack @ 2009-02-22 21:35 UTC (permalink / raw)
  To: alsa-devel

Hi,

With alsa-lib and alsa-utils cross-compiled for ARM by
buildroot (currently version 1.0.19, but earlier versions
seem to be equally affected), I encounter the effect that
snd_pcm_hw_params_get_period_size() does not write the expected
value to the given snd_pcm_uframes_t pointer. In fact, this
variable is not written at all. This makes aplay calculate 0
for chunk_bytes in set_params() and then exit with the bogus error
message "Not enough memory". I did some tracing and found out that
the function called for snd_pcm_hw_params_get_period_size() is in
fact __old_snd_pcm_hw_params_get_period_size() which has a different
footprint and hence the pointer given to it is leaved untouched.

As I don't fully understand all the system behind the symbol names
remapping, I'm stuck here. Can anybody reproduce this bug?

Daniel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-02-23 12:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-22 21:35 snd_pcm_hw_params_get_period_size points to __old_ symbol Daniel Mack
2009-02-22 22:15 ` Liam Girdwood
2009-02-22 22:18   ` Daniel Mack
2009-02-22 22:22   ` Daniel Mack
2009-02-22 22:24     ` Liam Girdwood
2009-02-22 22:27       ` Daniel Mack
2009-02-22 22:32         ` Liam Girdwood
2009-02-23 11:52     ` Alan Horstmann
2009-02-23 11:32       ` Daniel Mack
2009-02-23 12:30         ` Alan Horstmann

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.