[pulseaudio-discuss] Valgrind complains about bluetooth on pulseaudio exit

Alexander E. Patrakov patrakov at gmail.com
Sun Nov 23 08:15:34 PST 2014


Hi.

Today I tried to valgrind pulseaudio, for reasons unrelated to 
bluetooth. Result: found nothing about my bug, but got this on exit:

==16639== Invalid read of size 8
==16639==    at 0x5D5F3F0: pa_hashmap_iterate (hashmap.c:245)
==16639==    by 0x1E71A5C9: adapter_free (bluez5-util.c:521)
==16639==    by 0x5D5F2DC: pa_hashmap_remove_all (hashmap.c:232)
==16639==    by 0x5D5F341: pa_hashmap_free (hashmap.c:120)
==16639==    by 0x1E71CAC5: pa_bluetooth_discovery_unref 
(bluez5-util.c:1667)
==16639==    by 0x1E51243E: module_bluez5_discover_LTX_pa__done 
(module-bluez5-discover.c:159)
==16639==    by 0x4E60B48: pa_module_free (module.c:227)
==16639==    by 0x4E61929: pa_module_unload_all (module.c:292)
==16639==    by 0x406476: main (main.c:1161)
==16639==  Address 0x1c57fe20 is 32 bytes inside a block of size 1,072 
free'd
==16639==    at 0x4C2A20C: free (in 
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==16639==    by 0x510395E: pa_xfree (xmalloc.c:131)
==16639==    by 0x1E71CAB4: pa_bluetooth_discovery_unref 
(bluez5-util.c:1664)
==16639==    by 0x1E51243E: module_bluez5_discover_LTX_pa__done 
(module-bluez5-discover.c:159)
==16639==    by 0x4E60B48: pa_module_free (module.c:227)
==16639==    by 0x4E61929: pa_module_unload_all (module.c:292)
==16639==    by 0x406476: main (main.c:1161)

There were no Bluetooth sinks and sources. Also, this PC does not have 
ofono installed.

-- 
Alexander E. Patrakov


More information about the pulseaudio-discuss mailing list