[alsa-devel] alsa-lib TLVs and valgrind

Sebastian H. vand2 at gmx.de
Wed Feb 2 12:54:34 CET 2011

Hello list

I'm about to release a new version of alsamixer-qt4
(now named qasmixer) and ran the program through valgrind.

valgrind --track-origins=yes src/qasmixer &> valgrind.log

The log file contains tons of warnings like this

==3432== Conditional jump or move depends on uninitialised value(s)
... (qasmixer function calls)
==3432==  Uninitialised value was created by a heap allocation
... malloc (vg_replace_malloc.c:236)
... init_db_range (simple_none.c:1111)
... get_dB_range (simple_none.c:1156)
... get_dB_range_ops (simple_none.c:1173)
... snd_mixer_selem_get_playback_dB_range (simple.c:298)
... (qasmixer function calls)

The fresh alsa-lib-10-24.1 was used for this, compiled with debug
symbols enabled. Drivers are from Debian/squeeze.

This issue doesn't seem critical for the application but it totally
floods the valgrind.log file.

Sebastian Holtermann

More information about the Alsa-devel mailing list