[Pkg-alsa-devel] Bug#703566: libasound2: valgrind aplay -L prints scary warnings
Julien Pommier
pommier at pianoteq.com
Wed Mar 20 22:27:22 UTC 2013
Package: libasound2
Version: 1.0.25-4
Severity: normal
Dear Maintainer,
When I run this command:
valgrind aplay -L
it complains about quite a few invalid reads in libasound:
==24995== Memcheck, a memory error detector
==24995== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==24995== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==24995== Command: aplay -L
==24995==
==24995== Invalid read of size 8
==24995== at 0x506AB30: snd_config_iterator_next (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x5075A8C: snd_device_name_hint (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x4042B2: ??? (in /usr/bin/aplay)
==24995== by 0x40992D: ??? (in /usr/bin/aplay)
==24995== by 0x59EBEAC: (below main) (libc-start.c:228)
==24995== Address 0x5d62eb8 is 40 bytes inside a block of size 72 free'd
==24995== at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24995== by 0x506B5B4: snd_config_delete (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506BAE7: parse_defs (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506BEA5: snd_config_load1 (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506C0CC: config_file_open (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506D8EC: snd_config_hook_load (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x6157C48: ???
==24995== by 0x506E496: snd_config_hooks.constprop.24 (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EAA3: snd_config_searcha_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EB78: snd_config_searchva_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EC55: snd1_config_search_alias_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506DDB0: snd_config_search_definition (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995==
==24995== Invalid read of size 8
==24995== at 0x5069E5E: snd_config_get_id (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x5075A54: snd_device_name_hint (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x4042B2: ??? (in /usr/bin/aplay)
==24995== by 0x40992D: ??? (in /usr/bin/aplay)
==24995== by 0x59EBEAC: (below main) (libc-start.c:228)
==24995== Address 0x5d62e90 is 0 bytes inside a block of size 72 free'd
==24995== at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24995== by 0x506B5B4: snd_config_delete (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506BAE7: parse_defs (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506BEA5: snd_config_load1 (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506C0CC: config_file_open (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506D8EC: snd_config_hook_load (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x6157C48: ???
==24995== by 0x506E496: snd_config_hooks.constprop.24 (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EAA3: snd_config_searcha_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EB78: snd_config_searchva_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EC55: snd1_config_search_alias_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506DDB0: snd_config_search_definition (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995==
==24995== Invalid read of size 1
==24995== at 0x5A12CBA: vfprintf (vfprintf.c:1623)
==24995== by 0x5ABA65C: __vsprintf_chk (vsprintf_chk.c:87)
==24995== by 0x5ABA59E: __sprintf_chk (sprintf_chk.c:33)
==24995== by 0x507499F: try_config (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x5075A7C: snd_device_name_hint (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x4042B2: ??? (in /usr/bin/aplay)
==24995== by 0x40992D: ??? (in /usr/bin/aplay)
==24995== by 0x59EBEAC: (below main) (libc-start.c:228)
==24995== Address 0x5d62de0 is 0 bytes inside a block of size 8 free'd
==24995== at 0x4C27D4E: free (vg_replace_malloc.c:427)
==24995== by 0x506B5AC: snd_config_delete (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506BAE7: parse_defs (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506BEA5: snd_config_load1 (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506C0CC: config_file_open (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506D8EC: snd_config_hook_load (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x6157C48: ???
==24995== by 0x506E496: snd_config_hooks.constprop.24 (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EAA3: snd_config_searcha_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EB78: snd_config_searchva_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506EC55: snd1_config_search_alias_hooks (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
==24995== by 0x506DDB0: snd_config_search_definition (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0)
(etc)
-- System Information:
Debian Release: 7.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libasound2 depends on:
ii libc6 2.13-38
ii multiarch-support 2.13-38
libasound2 recommends no packages.
Versions of packages libasound2 suggests:
ii libasound2-plugins 1.0.25-2
-- no debconf information
More information about the Pkg-alsa-devel
mailing list