After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568289 - gst_pad_template_new() leaks caps it's supposed to take ownership of
gst_pad_template_new() leaks caps it's supposed to take ownership of
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other Linux
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-19 12:24 UTC by magnus persson
Modified: 2009-01-23 10:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
valgrind log (72.53 KB, text/plain)
2009-01-19 15:13 UTC, magnus persson
Details

Description magnus persson 2009-01-19 12:24:10 UTC
There seems to be many memory-leaks when using gstreamer. I have not been able to run anything without leaks (which plays sounds).
An easy way to see the problem, is to run the supplied examples. (It plays a ogg-song). Let it play the song and clean up it's memory.

This was done on Ubuntu 8.10, gstreamer 0.10.21

 valgrind  --num-callers=40 -v --leak-check=full --show-reachable=yes ./helloworld /usr/share/sounds/KDE-Sys-Log-In.ogg

Best regards, Magnus Persson

==22790== Memcheck, a memory error detector.
==22790== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==22790== Using LibVEX rev 1878, a library for dynamic binary translation.
==22790== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==22790== Using valgrind-3.4.0, a dynamic binary instrumentation framework.
==22790== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==22790== 
--22790-- Command line
--22790--    ./helloworld
--22790--    /usr/share/sounds/KDE-Sys-Log-In.ogg
--22790-- Startup, with flags:
--22790--    --num-callers=40
--22790--    -v
--22790--    --leak-check=full
--22790--    --show-reachable=yes
--22790-- Contents of /proc/version:
--22790--   Linux version 2.6.27-9-generic (buildd@rothera) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Thu Nov 20 21:57:00 UTC 2008
--22790-- Arch and hwcaps: X86, x86-sse1-sse2
--22790-- Page sizes: currently 4096, max supported 4096
--22790-- Valgrind library directory: /usr/local/lib/valgrind
--22790-- Reading syms from /lib/ld-2.8.90.so (0x4000000)
--22790-- Reading debug info from /lib/ld-2.8.90.so ..
--22790-- .. CRC mismatch (computed 371b8ee6 wanted cc0a418a)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /home/magnus/gstreamer-0.10.21/tests/examples/manual/.libs/helloworld (0x8048000)
--22790-- Reading syms from /usr/local/lib/valgrind/x86-linux/memcheck (0x38000000)
--22790--    object doesn't have a dynamic symbol table
--22790-- Reading suppressions file: /usr/local/lib/valgrind/default.supp
--22790-- Reading syms from /usr/local/lib/valgrind/x86-linux/vgpreload_core.so (0x401f000)
--22790-- Reading syms from /usr/local/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4022000)
--22790-- Reading syms from /usr/lib/libgstreamer-0.10.so.0.18.0 (0x404a000)
--22790-- Reading debug info from /usr/lib/libgstreamer-0.10.so.0.18.0 ..
--22790-- .. CRC mismatch (computed 95a4f243 wanted 2b26efc7)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libgobject-2.0.so.0.1800.2 (0x40fb000)
--22790-- Reading debug info from /usr/lib/libgobject-2.0.so.0.1800.2 ..
--22790-- .. CRC mismatch (computed 48a462d8 wanted 762f908a)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libgobject-2.0.so.0.1800.2 ..
--22790-- Reading syms from /usr/lib/libgthread-2.0.so.0.1800.2 (0x4139000)
--22790-- Reading debug info from /usr/lib/libgthread-2.0.so.0.1800.2 ..
--22790-- .. CRC mismatch (computed 04d3f912 wanted 08d0c3bd)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libgthread-2.0.so.0.1800.2 ..
--22790-- Reading syms from /usr/lib/libgmodule-2.0.so.0.1800.2 (0x413f000)
--22790-- Reading debug info from /usr/lib/libgmodule-2.0.so.0.1800.2 ..
--22790-- .. CRC mismatch (computed fb8d98d7 wanted 6cf50b02)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libgmodule-2.0.so.0.1800.2 ..
--22790-- Reading syms from /usr/lib/libglib-2.0.so.0.1800.2 (0x4144000)
--22790-- Reading debug info from /usr/lib/libglib-2.0.so.0.1800.2 ..
--22790-- .. CRC mismatch (computed bffd840a wanted e53bb8e5)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libglib-2.0.so.0.1800.2 ..
--22790-- Reading syms from /lib/tls/i686/cmov/librt-2.8.90.so (0x41fb000)
--22790-- Reading debug info from /lib/tls/i686/cmov/librt-2.8.90.so ..
--22790-- .. CRC mismatch (computed 375d06e1 wanted 65b3a077)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libdl-2.8.90.so (0x4204000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libdl-2.8.90.so ..
--22790-- .. CRC mismatch (computed 23b259b6 wanted 0fd615fa)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libpthread-2.8.90.so (0x4208000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libpthread-2.8.90.so ..
--22790-- .. CRC mismatch (computed bb43a209 wanted 8de416e7)
--22790-- Reading syms from /lib/tls/i686/cmov/libc-2.8.90.so (0x4222000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libc-2.8.90.so ..
--22790-- .. CRC mismatch (computed 363f3e69 wanted 87988b75)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libxml2.so.2.6.32 (0x4380000)
--22790-- Reading debug info from /usr/lib/libxml2.so.2.6.32 ..
--22790-- .. CRC mismatch (computed cf31d056 wanted 5241e79d)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/libpcre.so.3.12.1 (0x44bc000)
--22790-- Reading debug info from /lib/libpcre.so.3.12.1 ..
--22790-- .. CRC mismatch (computed 9f2da4fa wanted 2ee8967a)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libz.so.1.2.3.3 (0x44e6000)
--22790-- Reading debug info from /usr/lib/libz.so.1.2.3.3 ..
--22790-- .. CRC mismatch (computed f60911fc wanted bd516366)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libm-2.8.90.so (0x44fc000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libm-2.8.90.so ..
--22790-- .. CRC mismatch (computed 49a63d9e wanted 1f696158)
--22790--    object doesn't have a symbol table
--22790-- REDIR: 0x4299710 (rindex) redirected to 0x4026390 (rindex)
--22790-- REDIR: 0x4299290 (strlen) redirected to 0x4026740 (strlen)
--22790-- REDIR: 0x42954a0 (calloc) redirected to 0x4024030 (calloc)
--22790-- REDIR: 0x42957d0 (malloc) redirected to 0x4025f80 (malloc)
--22790-- REDIR: 0x4295be0 (posix_memalign) redirected to 0x4023fd0 (posix_memalign)
--22790-- REDIR: 0x4295c80 (realloc) redirected to 0x4026090 (realloc)
--22790-- REDIR: 0x429a600 (memset) redirected to 0x4027650 (memset)
--22790-- REDIR: 0x429ab10 (memcpy) redirected to 0x4026bb0 (memcpy)
--22790-- REDIR: 0x42933c0 (free) redirected to 0x4024da0 (free)
--22790-- REDIR: 0x4298d20 (strcmp) redirected to 0x4026a40 (strcmp)
--22790-- REDIR: 0x42994b0 (strncmp) redirected to 0x40269b0 (strncmp)
--22790-- REDIR: 0x429a100 (memchr) redirected to 0x4026b60 (memchr)
--22790-- REDIR: 0x429a590 (memmove) redirected to 0x40276b0 (memmove)
--22790-- REDIR: 0x4298bb0 (index) redirected to 0x4026480 (index)
--22790-- REDIR: 0x42995c0 (strncpy) redirected to 0x4026870 (strncpy)
--22790-- REDIR: 0x429a7f0 (stpcpy) redirected to 0x40273e0 (stpcpy)
--22790-- REDIR: 0x429a660 (mempcpy) redirected to 0x4027780 (mempcpy)
--22790-- REDIR: 0x4298a00 (strcat) redirected to 0x4026510 (strcat)
--22790-- REDIR: 0x429b720 (strchrnul) redirected to 0x4027720 (strchrnul)
--22790-- REDIR: 0x4299340 (strnlen) redirected to 0x4026700 (strnlen)
--22790-- REDIR: 0x4298d90 (strcpy) redirected to 0x40267a0 (strcpy)
--22790-- REDIR: 0x429b650 (rawmemchr) redirected to 0x4027760 (rawmemchr)
--22790-- Reading syms from /lib/tls/i686/cmov/libnss_compat-2.8.90.so (0x403c000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libnss_compat-2.8.90.so ..
--22790-- .. CRC mismatch (computed b6745633 wanted 6d0a3773)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libnsl-2.8.90.so (0x4a63000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libnsl-2.8.90.so ..
--22790-- .. CRC mismatch (computed a3da3cd9 wanted 7939e115)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libnss_nis-2.8.90.so (0x4a7c000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libnss_nis-2.8.90.so ..
--22790-- .. CRC mismatch (computed 8e07cc7f wanted 0a67ba9b)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libnss_files-2.8.90.so (0x4a87000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libnss_files-2.8.90.so ..
--22790-- .. CRC mismatch (computed 33f2101c wanted 02a66e06)
--22790--    object doesn't have a symbol table
--22790-- REDIR: 0x429ab00 (__memcpy_chk) redirected to 0x4027b90 (__memcpy_chk)
--22791-- Discarding syms at 0x403ce10-0x4042318 in /lib/tls/i686/cmov/libnss_compat-2.8.90.so due to munmap()
--22791-- Discarding syms at 0x4a7d910-0x4a838c8 in /lib/tls/i686/cmov/libnss_nis-2.8.90.so due to munmap()
--22791-- Discarding syms at 0x4a66130-0x4a749f8 in /lib/tls/i686/cmov/libnsl-2.8.90.so due to munmap()
--22791-- Discarding syms at 0x4a888d0-0x4a8ffa8 in /lib/tls/i686/cmov/libnss_files-2.8.90.so due to munmap()
==22791== 
==22791== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 59 from 2)
--22791-- 
--22791-- supp:      4 glibc-2.8-on-SUSE-10.3-(x86)
--22791-- supp:     55 dl-hack3-cond-1
==22791== malloc/free: in use at exit: 795,459 bytes in 11,507 blocks.
==22791== malloc/free: 21,594 allocs, 10,087 frees, 1,377,001 bytes allocated.
==22791== 
==22791== searching for pointers to 11,507 not-freed blocks.
==22791== checked 874,940 bytes.
==22791== 
==22791== 156 (36 direct, 120 indirect) bytes in 1 blocks are definitely lost in loss record 1 of 10
==22791==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22791==    by 0x4316C30: (within /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x4317565: __nss_database_lookup (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x403DF5B: ???
==22791==    by 0x403ECBE: ???
==22791==    by 0x42BDB61: getpwnam_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x41B2745: g_get_any_init_do (gutils.c:1596)
==22791==    by 0x41B423C: g_get_home_dir (gutils.c:1747)
==22791==    by 0x4063864: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x406528A: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x418C7E2: g_option_context_parse (goption.c:1796)
==22791==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 40 bytes in 5 blocks are indirectly lost in loss record 2 of 10
==22791==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22791==    by 0x431674B: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x403DF7B: ???
==22791==    by 0x403ECBE: ???
==22791==    by 0x42BDB61: getpwnam_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x41B2745: g_get_any_init_do (gutils.c:1596)
==22791==    by 0x41B423C: g_get_home_dir (gutils.c:1747)
==22791==    by 0x4063864: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x406528A: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x418C7E2: g_option_context_parse (goption.c:1796)
==22791==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 80 bytes in 5 blocks are indirectly lost in loss record 3 of 10
==22791==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22791==    by 0x4301A5B: tsearch (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x431670D: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x403DF7B: ???
==22791==    by 0x403ECBE: ???
==22791==    by 0x42BDB61: getpwnam_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22791==    by 0x41B2745: g_get_any_init_do (gutils.c:1596)
==22791==    by 0x41B423C: g_get_home_dir (gutils.c:1747)
==22791==    by 0x4063864: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x406528A: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x418C7E2: g_option_context_parse (goption.c:1796)
==22791==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 1,120 bytes in 28 blocks are possibly lost in loss record 4 of 10
==22791==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22791==    by 0x4185CEB: g_malloc0 (gmem.c:151)
==22791==    by 0x411F423: type_node_any_new_W (gtype.c:395)
==22791==    by 0x411F495: type_node_fundamental_new_W (gtype.c:500)
==22791==    by 0x4121AE7: g_type_init_with_debug_flags (gtype.c:4025)
==22791==    by 0x4121C61: g_type_init (gtype.c:4091)
==22791==    by 0x406586E: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x418C2AA: g_option_context_parse (goption.c:1572)
==22791==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 9,584 bytes in 49 blocks are still reachable in loss record 5 of 10
==22791==    at 0x402615C: realloc (vg_replace_malloc.c:429)
==22791==    by 0x4185C49: g_realloc (gmem.c:170)
==22791==    by 0x415673F: g_array_maybe_expand (garray.c:339)
==22791==    by 0x4156824: g_array_set_size (garray.c:195)
==22791==    by 0x41A8280: g_static_private_set (gthread.c:477)
==22791==    by 0x41B23A0: g_get_language_names (gutils.c:3058)
==22791==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22791==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 10,808 bytes in 312 blocks are still reachable in loss record 6 of 10
==22791==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22791==    by 0x40261BF: realloc (vg_replace_malloc.c:429)
==22791==    by 0x4185C49: g_realloc (gmem.c:170)
==22791==    by 0x418A162: g_option_group_add_entries (goption.c:1952)
==22791==    by 0x406482D: gst_init_get_option_group (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x406491C: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 56,888 bytes in 57 blocks are possibly lost in loss record 7 of 10
==22791==    at 0x4023F5A: memalign (vg_replace_malloc.c:460)
==22791==    by 0x402400E: posix_memalign (vg_replace_malloc.c:569)
==22791==    by 0x419B332: slab_allocator_alloc_chunk (gslice.c:1136)
==22791==    by 0x419CB12: g_slice_alloc (gslice.c:666)
==22791==    by 0x41568AE: g_array_sized_new (garray.c:86)
==22791==    by 0x41569C6: g_array_new (garray.c:78)
==22791==    by 0x41A8303: g_static_private_set (gthread.c:451)
==22791==    by 0x416635F: g_get_filename_charsets (gconvert.c:1185)
==22791==    by 0x41663D0: _g_convert_thread_init (gconvert.c:1290)
==22791==    by 0x41A85BC: g_thread_init_glib (gthread.c:165)
==22791==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22791==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 112,648 bytes in 1,974 blocks are still reachable in loss record 8 of 10
==22791==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22791==    by 0x4185CEB: g_malloc0 (gmem.c:151)
==22791==    by 0x41A73A3: g_thread_self (gthread.c:761)
==22791==    by 0x41A854E: g_thread_init_glib (gthread.c:142)
==22791==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22791==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 194,568 bytes in 415 blocks are still reachable in loss record 9 of 10
==22791==    at 0x4023F5A: memalign (vg_replace_malloc.c:460)
==22791==    by 0x402400E: posix_memalign (vg_replace_malloc.c:569)
==22791==    by 0x419B332: slab_allocator_alloc_chunk (gslice.c:1136)
==22791==    by 0x419CAE1: g_slice_alloc (gslice.c:661)
==22791==    by 0x41568AE: g_array_sized_new (garray.c:86)
==22791==    by 0x41569C6: g_array_new (garray.c:78)
==22791==    by 0x41A8303: g_static_private_set (gthread.c:451)
==22791==    by 0x416635F: g_get_filename_charsets (gconvert.c:1185)
==22791==    by 0x41663D0: _g_convert_thread_init (gconvert.c:1290)
==22791==    by 0x41A85BC: g_thread_init_glib (gthread.c:165)
==22791==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22791==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== 
==22791== 409,687 bytes in 8,661 blocks are still reachable in loss record 10 of 10
==22791==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22791==    by 0x4185D63: g_malloc (gmem.c:131)
==22791==    by 0x413B39E: g_mutex_new_posix_impl (gthread-posix.c:162)
==22791==    by 0x41A8558: g_thread_init_glib (gthread.c:145)
==22791==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22791==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22791==    by 0x8048C04: main (helloworld.c:72)
==22791== 
==22791== LEAK SUMMARY:
==22791==    definitely lost: 36 bytes in 1 blocks.
==22791==    indirectly lost: 120 bytes in 10 blocks.
==22791==      possibly lost: 58,008 bytes in 85 blocks.
==22791==    still reachable: 737,295 bytes in 11,411 blocks.
==22791==         suppressed: 0 bytes in 0 blocks.
--22791--  memcheck: sanity checks: 191 cheap, 9 expensive
--22791--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--22791--  memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--22791--  memcheck: auxmaps_L2: 0 searches, 0 nodes
--22791--  memcheck: SMs: n_issued      = 66 (1056k, 1M)
--22791--  memcheck: SMs: n_deissued    = 0 (0k, 0M)
--22791--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--22791--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--22791--  memcheck: SMs: max_defined   = 89 (1424k, 1M)
--22791--  memcheck: SMs: max_non_DSM   = 66 (1056k, 1M)
--22791--  memcheck: max sec V bit nodes:    174 (8k, 0M)
--22791--  memcheck: set_sec_vbits8 calls: 250 (new: 174, updates: 76)
--22791--  memcheck: max shadow mem size:   1368k, 1M
--22791-- translate:            fast SP updates identified: 15,875 ( 88.2%)
--22791-- translate:   generic_known SP updates identified: 1,696 (  9.4%)
--22791-- translate: generic_unknown SP updates identified: 425 (  2.3%)
--22791--     tt/tc: 115,305 tt lookups requiring 121,601 probes
--22791--     tt/tc: 115,305 fast-cache updates, 6 flushes
--22791--  transtab: new        10,819 (231,626 -> 3,408,451; ratio 147:10) [0 scs]
--22791--  transtab: dumped     0 (0 -> ??)
--22791--  transtab: discarded  163 (2,931 -> ??)
--22791-- scheduler: 19,127,273 jumps (bb entries).
--22791-- scheduler: 191/137,323 major/minor sched events.
--22791--    sanity: 192 cheap, 9 expensive checks.
--22791--    exectx: 6,151 lists, 4,114 contexts (avg 0 per list)
--22791--    exectx: 33,862 searches, 32,590 full compares (962 per 1000)
--22791--    exectx: 46,143 cmp2, 267 cmp4, 0 cmpAll
--22791--  errormgr: 34 supplist searches, 848 comparisons during search
--22791--  errormgr: 59 errlist searches, 351 comparisons during search
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstcoreelements.so (0x4a93000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstcoreelements.so ..
--22790-- .. CRC mismatch (computed d4c58cf0 wanted 11e34378)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libgstbase-0.10.so.0.18.0 (0x4abf000)
--22790-- Reading debug info from /usr/lib/libgstbase-0.10.so.0.18.0 ..
--22790-- .. CRC mismatch (computed 8666b00c wanted fd66cf14)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstogg.so (0x4aed000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstogg.so ..
--22790-- .. CRC mismatch (computed 1cf70566 wanted 7f1ed72e)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgstogg.so ..
--22790-- Reading syms from /usr/lib/libgstriff-0.10.so.0.15.0 (0x4b0d000)
--22790-- Reading debug info from /usr/lib/libgstriff-0.10.so.0.15.0 ..
--22790-- .. CRC mismatch (computed c9a6fd83 wanted 0df8af9c)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libgstriff-0.10.so.0.15.0 ..
--22790-- Reading syms from /usr/lib/libgsttag-0.10.so.0.15.0 (0x4b1a000)
--22790-- Reading debug info from /usr/lib/libgsttag-0.10.so.0.15.0 ..
--22790-- .. CRC mismatch (computed c4ebd09b wanted 2a0683d6)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libgsttag-0.10.so.0.15.0 ..
--22790-- Reading syms from /usr/lib/libogg.so.0.5.3 (0x4b2a000)
--22790-- Reading debug info from /usr/lib/libogg.so.0.5.3 ..
--22790-- .. CRC mismatch (computed 1706ebb2 wanted 8f096120)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libgstaudio-0.10.so.0.15.0 (0x4b30000)
--22790-- Reading debug info from /usr/lib/libgstaudio-0.10.so.0.15.0 ..
--22790-- .. CRC mismatch (computed 067bf786 wanted 84a05eb5)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libgstaudio-0.10.so.0.15.0 ..
--22790-- Reading syms from /usr/lib/libgstinterfaces-0.10.so.0.15.0 (0x4b4f000)
--22790-- Reading debug info from /usr/lib/libgstinterfaces-0.10.so.0.15.0 ..
--22790-- .. CRC mismatch (computed 9e4184e8 wanted 1918a71b)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/libgstinterfaces-0.10.so.0.15.0 ..
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstvorbis.so (0x4a44000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstvorbis.so ..
--22790-- .. CRC mismatch (computed e2cadaf3 wanted ea139d1d)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgstvorbis.so ..
--22790-- Reading syms from /usr/lib/libvorbisenc.so.2.0.3 (0x4b7a000)
--22790-- Reading debug info from /usr/lib/libvorbisenc.so.2.0.3 ..
--22790-- .. CRC mismatch (computed 296e709a wanted 2da1e96d)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libvorbis.so.0.4.0 (0x4c74000)
--22790-- Reading debug info from /usr/lib/libvorbis.so.0.4.0 ..
--22790-- .. CRC mismatch (computed efa4e09a wanted 63b371fb)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstaudioconvert.so (0x4b5b000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstaudioconvert.so ..
--22790-- .. CRC mismatch (computed b068dddd wanted 1a7a820a)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgstaudioconvert.so ..
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstautodetect.so (0x4a57000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstautodetect.so ..
--22790-- .. CRC mismatch (computed 221cf74c wanted 422e32a2)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgstautodetect.so ..
Now playing: /usr/share/sounds/KDE-Sys-Log-In.ogg
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstpulse.so (0x4c9e000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstpulse.so ..
--22790-- .. CRC mismatch (computed 20a508f6 wanted 8d3f3458)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgstpulse.so ..
--22790-- Reading syms from /usr/lib/libpulse.so.0.4.1 (0x4cce000)
--22790-- Reading debug info from /usr/lib/libpulse.so.0.4.1 ..
--22790-- .. CRC mismatch (computed cbc6c1b9 wanted 7a5cfaed)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libSM.so.6.0.0 (0x4b6b000)
--22790-- Reading debug info from /usr/lib/libSM.so.6.0.0 ..
--22790-- .. CRC mismatch (computed 8af05547 wanted 366be93b)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libICE.so.6.3.0 (0x4d1e000)
--22790-- Reading debug info from /usr/lib/libICE.so.6.3.0 ..
--22790-- .. CRC mismatch (computed 64e8278a wanted 55dd049d)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x4d36000)
--22790-- Reading debug info from /usr/lib/libX11.so.6.2.0 ..
--22790-- .. CRC mismatch (computed bef163bd wanted 55780a10)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/libcap.so.1.10 (0x4046000)
--22790-- Reading debug info from /lib/libcap.so.1.10 ..
--22790-- .. CRC mismatch (computed e44a5008 wanted 83ee6697)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libxcb-xlib.so.0.0.0 (0x4a5e000)
--22790-- Reading debug info from /usr/lib/libxcb-xlib.so.0.0.0 ..
--22790-- .. CRC mismatch (computed 80e6042e wanted f7fde2bd)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libxcb.so.1.0.0 (0x4e25000)
--22790-- Reading debug info from /usr/lib/libxcb.so.1.0.0 ..
--22790-- .. CRC mismatch (computed 7f2f73cb wanted 887aca04)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x4b74000)
--22790-- Reading debug info from /usr/lib/libXau.so.6.0.0 ..
--22790-- .. CRC mismatch (computed 35ad968f wanted 479ee57d)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x4e3e000)
--22790-- Reading debug info from /usr/lib/libXdmcp.so.6.0.0 ..
--22790-- .. CRC mismatch (computed 7892784a wanted 1c340519)
--22790--    object doesn't have a symbol table
--22790-- REDIR: 0x4319900 (__strcpy_chk) redirected to 0x4027d00 (__strcpy_chk)
--22790-- Reading syms from /lib/libnss_mdns4_minimal.so.2 (0x4b77000)
--22790-- Reading debug info from /lib/libnss_mdns4_minimal.so.2 ..
--22790-- .. CRC mismatch (computed 12120a7f wanted 938d7038)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libnss_dns-2.8.90.so (0x6046000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libnss_dns-2.8.90.so ..
--22790-- .. CRC mismatch (computed 811b1d53 wanted 75f9780e)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /lib/tls/i686/cmov/libresolv-2.8.90.so (0x604c000)
--22790-- Reading debug info from /lib/tls/i686/cmov/libresolv-2.8.90.so ..
--22790-- .. CRC mismatch (computed b3a9c87d wanted b2dee27c)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstjack.so (0x4caf000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstjack.so ..
--22790-- .. CRC mismatch (computed 35fe06bd wanted 9bcac91b)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgstjack.so ..
--22790-- Reading syms from /usr/lib/libjack.so.0.0.28 (0x607f000)
--22790-- Reading debug info from /usr/lib/libjack.so.0.0.28 ..
--22790-- .. CRC mismatch (computed f742688f wanted ed8920b6)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgstalsa.so (0x6060000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgstalsa.so ..
--22790-- .. CRC mismatch (computed 0aa47360 wanted 0cc991c1)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgstalsa.so ..
--22790-- Reading syms from /usr/lib/libasound.so.2.0.0 (0x60b7000)
--22790-- Reading debug info from /usr/lib/libasound.so.2.0.0 ..
--22790-- .. CRC mismatch (computed f6599a03 wanted c719867f)
--22790--    object doesn't have a symbol table
--22790-- Reading syms from /usr/lib/alsa-lib/libasound_module_conf_pulse.so (0x4cb8000)
--22790-- Reading debug info from /usr/lib/alsa-lib/libasound_module_conf_pulse.so ..
--22790-- .. CRC mismatch (computed 2052c007 wanted b1ce9a03)
--22790--    object doesn't have a symbol table
--22790-- Discarding syms at 0x4cb8770-0x4cb8998 in /usr/lib/alsa-lib/libasound_module_conf_pulse.so due to munmap()
==22790== Syscall param semctl(IPC_SET, arg.buf) points to uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x613F183: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6137782: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61381CC: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BAF: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6142C7D: _snd_pcm_softvol_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x611F90C: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613FEC1: _snd_pcm_asym_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6128506: _snd_pcm_empty_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790==  Address 0xbed2666c is on thread 1's stack
==22790== 
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FCF00: snd_pcm_prepare (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x610306C: snd_pcm_hw_params (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613DB79: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6137E31: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61381CC: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BAF: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6142C7D: _snd_pcm_softvol_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x611F90C: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613FEC1: _snd_pcm_asym_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6128506: _snd_pcm_empty_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613DF6C: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6137E31: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61381CC: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BAF: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6142C7D: _snd_pcm_softvol_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x611F90C: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613FEC1: _snd_pcm_asym_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6128506: _snd_pcm_empty_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
Running...
--22790-- Reading syms from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so (0x60a8000)
--22790-- Reading debug info from /usr/lib/gstreamer-0.10/libgsttypefindfunctions.so ..
--22790-- .. CRC mismatch (computed dce940e2 wanted 424b849e)
--22790-- Reading debug info from /usr/lib/debug/usr/lib/gstreamer-0.10/libgsttypefindfunctions.so ..
--22790-- memcheck GC: 1024 nodes, 1024 survivors (100.0%)
--22790-- memcheck GC: increase table size to 2048
Dynamic pad created, linking demuxer/decoder
==22790== 
==22790== Thread 4:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6135D88: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613855A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110034: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101FBB: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x61482B1: snd_timer_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6135DC5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613855A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110034: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101FBB: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110094: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101F1A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6136A5F: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60F901A: snd_pcm_avail_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110C8C: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60F901A: snd_pcm_avail_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101EA3: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613760C: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60F9921: snd_pcm_mmap_commit (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61107E5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101EE8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== Thread 3:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6136B2F: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD0F7: snd_pcm_delay (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6111413: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD0F7: snd_pcm_delay (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069B4D: gst_alsasink_delay (gstalsasink.c:930)
==22790==    by 0x4B37D9D: gst_audioringbuffer_delay (gstaudiosink.c:507)
==22790==    by 0x4B46D78: gst_ring_buffer_delay (gstringbuffer.c:1085)
==22790==    by 0x4B3B26E: gst_base_audio_sink_get_time (gstbaseaudiosink.c:386)
==22790==    by 0x4B35532: gst_audio_clock_get_internal_time (gstaudioclock.c:153)
==22790==    by 0x40B2D4C: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40B3A90: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4079A85: gst_clock_id_wait (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4AC5F3B: gst_base_sink_wait_clock (in /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4AC6360: gst_base_sink_wait_eos (in /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4B3A4E7: gst_base_audio_sink_drain (gstbaseaudiosink.c:685)
==22790==    by 0x4B40136: gst_base_audio_sink_event (gstbaseaudiosink.c:711)
==22790==    by 0x4ACA3B0: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4ACBDB7: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4ACD0F6: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4088849: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4ADE064: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A4C3E2: vorbis_dec_sink_event (vorbisdec.c:547)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4AF32A4: gst_ogg_demux_send_event (gstoggdemux.c:2897)
==22790==    by 0x4AFB125: gst_ogg_demux_loop (gstoggdemux.c:3128)
==22790==    by 0x40B87D2: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x41A96C5: g_thread_pool_thread_proxy (gthreadpool.c:265)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
End of stream
Returned, stopping playback
==22790== 
==22790== Thread 1:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x6148251: snd_timer_stop (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613E947: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6135E13: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCD20: snd_pcm_drop (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110004: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCD20: snd_pcm_drop (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069974: gst_alsasink_reset (gstalsasink.c:955)
==22790==    by 0x4B37F48: gst_audioringbuffer_pause (gstaudiosink.c:461)
==22790==    by 0x4B4429E: gst_ring_buffer_pause_unlocked (gstringbuffer.c:930)
==22790==    by 0x4B4578E: gst_ring_buffer_pause (gstringbuffer.c:973)
==22790==    by 0x4B40903: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1658)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A58FDA: gst_auto_audio_sink_change_state (gstautoaudiosink.c:391)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E55: main (helloworld.c:138)
Deleting pipeline
--22790-- Discarding syms at 0x403ce10-0x4042318 in /lib/tls/i686/cmov/libnss_compat-2.8.90.so due to munmap()
--22790-- Discarding syms at 0x4a7d910-0x4a838c8 in /lib/tls/i686/cmov/libnss_nis-2.8.90.so due to munmap()
--22790-- Discarding syms at 0x4a66130-0x4a749f8 in /lib/tls/i686/cmov/libnsl-2.8.90.so due to munmap()
--22790-- Discarding syms at 0x4a888d0-0x4a8ffa8 in /lib/tls/i686/cmov/libnss_files-2.8.90.so due to munmap()
--22790-- Discarding syms at 0x4b77870-0x4b78594 in /lib/libnss_mdns4_minimal.so.2 due to munmap()
--22790-- Discarding syms at 0x6046bc0-0x6049828 in /lib/tls/i686/cmov/libnss_dns-2.8.90.so due to munmap()
--22790-- Discarding syms at 0x604e140-0x6059c88 in /lib/tls/i686/cmov/libresolv-2.8.90.so due to munmap()
==22790== 
==22790== ERROR SUMMARY: 3167 errors from 10 contexts (suppressed: 311 from 2)
==22790== 
==22790== 1 errors in context 1 of 10:
==22790== Thread 3:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6136B2F: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD0F7: snd_pcm_delay (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6111413: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD0F7: snd_pcm_delay (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069B4D: gst_alsasink_delay (gstalsasink.c:930)
==22790==    by 0x4B37D9D: gst_audioringbuffer_delay (gstaudiosink.c:507)
==22790==    by 0x4B46D78: gst_ring_buffer_delay (gstringbuffer.c:1085)
==22790==    by 0x4B3B26E: gst_base_audio_sink_get_time (gstbaseaudiosink.c:386)
==22790==    by 0x4B35532: gst_audio_clock_get_internal_time (gstaudioclock.c:153)
==22790==    by 0x40B2D4C: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40B3A90: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4079A85: gst_clock_id_wait (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4AC5F3B: gst_base_sink_wait_clock (in /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4AC6360: gst_base_sink_wait_eos (in /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4B3A4E7: gst_base_audio_sink_drain (gstbaseaudiosink.c:685)
==22790==    by 0x4B40136: gst_base_audio_sink_event (gstbaseaudiosink.c:711)
==22790==    by 0x4ACA3B0: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4ACBDB7: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4ACD0F6: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4088849: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4ADE064: (within /usr/lib/libgstbase-0.10.so.0.18.0)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A4C3E2: vorbis_dec_sink_event (vorbisdec.c:547)
==22790==    by 0x4093EFB: gst_pad_send_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4094664: gst_pad_push_event (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4AF32A4: gst_ogg_demux_send_event (gstoggdemux.c:2897)
==22790==    by 0x4AFB125: gst_ogg_demux_loop (gstoggdemux.c:3128)
==22790==    by 0x40B87D2: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x41A96C5: g_thread_pool_thread_proxy (gthreadpool.c:265)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== 1 errors in context 2 of 10:
==22790== Thread 4:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x61482B1: snd_timer_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6135DC5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613855A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110034: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101FBB: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== 1 errors in context 3 of 10:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6135D88: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613855A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110034: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101FBB: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== 1 errors in context 4 of 10:
==22790== Thread 1:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FCDC0: snd_pcm_start (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613DF6C: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6137E31: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61381CC: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BAF: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6142C7D: _snd_pcm_softvol_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x611F90C: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613FEC1: _snd_pcm_asym_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6128506: _snd_pcm_empty_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 1 errors in context 5 of 10:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FCF00: snd_pcm_prepare (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x610306C: snd_pcm_hw_params (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613DB79: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6137E31: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61381CC: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BAF: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6142C7D: _snd_pcm_softvol_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x611F90C: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613FEC1: _snd_pcm_asym_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6128506: _snd_pcm_empty_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 2 errors in context 6 of 10:
==22790== Syscall param semctl(IPC_SET, arg.buf) points to uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x613F183: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6137782: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61381CC: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BAF: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6142C7D: _snd_pcm_softvol_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x611F90C: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613FEC1: _snd_pcm_asym_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102BE5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6128506: _snd_pcm_empty_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102351: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102AAC: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790==  Address 0xbed2666c is on thread 1's stack
==22790== 
==22790== 3 errors in context 7 of 10:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x6148251: snd_timer_stop (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613E947: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6135E13: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCD20: snd_pcm_drop (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110004: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FCD20: snd_pcm_drop (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069974: gst_alsasink_reset (gstalsasink.c:955)
==22790==    by 0x4B37F48: gst_audioringbuffer_pause (gstaudiosink.c:461)
==22790==    by 0x4B4429E: gst_ring_buffer_pause_unlocked (gstringbuffer.c:930)
==22790==    by 0x4B4578E: gst_ring_buffer_pause (gstringbuffer.c:973)
==22790==    by 0x4B40903: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1658)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A58FDA: gst_auto_audio_sink_change_state (gstautoaudiosink.c:391)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E55: main (helloworld.c:138)
==22790== 
==22790== 631 errors in context 8 of 10:
==22790== Thread 4:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613760C: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60F9921: snd_pcm_mmap_commit (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61107E5: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101EE8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== 949 errors in context 9 of 10:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110094: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101F1A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== 1577 errors in context 10 of 10:
==22790== Syscall param ioctl(arg) contains uninitialised byte(s)
==22790==    at 0x40007D2: (within /lib/ld-2.8.90.so)
==22790==    by 0x60FD1A0: snd_pcm_hwsync (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x613690A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6136A5F: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60F901A: snd_pcm_avail_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6110C8C: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60F901A: snd_pcm_avail_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6101EA3: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61111A8: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60FC7E3: snd_pcm_writei (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6069D13: gst_alsasink_write (gstalsasink.c:894)
==22790==    by 0x4B3863B: audioringbuffer_thread_func (gstaudiosink.c:226)
==22790==    by 0x41A802E: g_thread_create_proxy (gthread.c:635)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
--22790-- 
--22790-- supp:     76 glibc-2.8-on-SUSE-10.3-(x86)
--22790-- supp:    235 dl-hack3-cond-1
==22790== 
==22790== IN SUMMARY: 3167 errors from 10 contexts (suppressed: 311 from 2)
==22790== 
==22790== malloc/free: in use at exit: 1,252,384 bytes in 19,015 blocks.
==22790== malloc/free: 51,744 allocs, 32,729 frees, 15,207,381 bytes allocated.
==22790== 
==22790== Use --track-origins=yes to see where uninitialised values come from
==22790== searching for pointers to 19,015 not-freed blocks.
==22790== checked 21,245,860 bytes.
==22790== 
==22790== Thread 1:
==22790== 
==22790== 8 bytes in 1 blocks are still reachable in loss record 1 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x60DB3C3: snd_config_update_r (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB787: snd_config_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102CD8: snd_pcm_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 8 bytes in 1 blocks are still reachable in loss record 2 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x60DEF6B: snd_output_stdio_attach (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606DA71: gst_alsasink_init (gstalsasink.c:280)
==22790==    by 0x41271C2: g_type_create_instance (gtype.c:1674)
==22790==    by 0x410B3D4: g_object_constructor (gobject.c:1334)
==22790==    by 0x410BC05: g_object_newv (gobject.c:1211)
==22790==    by 0x410C7D6: g_object_new_valist (gobject.c:1274)
==22790==    by 0x410C94D: g_object_new (gobject.c:1056)
==22790==    by 0x408393F: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A59254: gst_auto_audio_sink_change_state (gstautoaudiosink.c:238)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 12 bytes in 1 blocks are still reachable in loss record 3 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x60DEF8A: snd_output_stdio_attach (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606DA71: gst_alsasink_init (gstalsasink.c:280)
==22790==    by 0x41271C2: g_type_create_instance (gtype.c:1674)
==22790==    by 0x410B3D4: g_object_constructor (gobject.c:1334)
==22790==    by 0x410BC05: g_object_newv (gobject.c:1211)
==22790==    by 0x410C7D6: g_object_new_valist (gobject.c:1274)
==22790==    by 0x410C94D: g_object_new (gobject.c:1056)
==22790==    by 0x408393F: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A59254: gst_auto_audio_sink_change_state (gstautoaudiosink.c:238)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 20 bytes in 1 blocks are still reachable in loss record 4 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x60DB3F9: snd_config_update_r (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB787: snd_config_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102CD8: snd_pcm_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 25 bytes in 1 blocks are still reachable in loss record 5 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4B74BA1: XauFileName (in /usr/lib/libXau.so.6.0.0)
==22790==    by 0x4B74DB6: XauGetBestAuthByAddr (in /usr/lib/libXau.so.6.0.0)
==22790==    by 0x4E3003E: (within /usr/lib/libxcb.so.1.0.0)
==22790==    by 0x4E2FCAE: xcb_connect (in /usr/lib/libxcb.so.1.0.0)
==22790==    by 0x4D7784A: _XConnectXCB (in /usr/lib/libX11.so.6.2.0)
==22790==    by 0x4D5EDCE: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==22790==    by 0x4D0FE7C: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CD8B0C: pa_context_new (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CA267E: gst_pulsemixer_ctrl_new (pulsemixerctrl.c:222)
==22790==    by 0x4CA64D1: gst_pulsesink_change_state (pulsesink.c:905)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 40 bytes in 2 blocks are still reachable in loss record 6 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x4205085: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 312 (72 direct, 240 indirect) bytes in 2 blocks are definitely lost in loss record 7 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4316C30: (within /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x4317565: __nss_database_lookup (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x403DF5B: ???
==22790==    by 0x403ECBE: ???
==22790==    by 0x42BDB61: getpwnam_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x41B2745: g_get_any_init_do (gutils.c:1596)
==22790==    by 0x41B423C: g_get_home_dir (gutils.c:1747)
==22790==    by 0x4063864: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406528A: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x418C7E2: g_option_context_parse (goption.c:1796)
==22790==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 80 bytes in 10 blocks are indirectly lost in loss record 8 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x431674B: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x403DF7B: ???
==22790==    by 0x403ECBE: ???
==22790==    by 0x42BDB61: getpwnam_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x41B2745: g_get_any_init_do (gutils.c:1596)
==22790==    by 0x41B423C: g_get_home_dir (gutils.c:1747)
==22790==    by 0x4063864: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406528A: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x418C7E2: g_option_context_parse (goption.c:1796)
==22790==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 112 bytes in 4 blocks are still reachable in loss record 9 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x605513B: ???
==22790==    by 0x6052F08: ???
==22790==    by 0x605331F: ???
==22790==    by 0x60535F6: ???
==22790==    by 0x60487F3: ???
==22790==    by 0x6048A9A: ???
==22790==    by 0x431D7E1: gethostbyname2_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x42E7084: (within /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x42E9038: getaddrinfo (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x4D08866: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CD7DDE: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CD8566: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4D075CA: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CE1988: pa_mainloop_dispatch (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CE1CE0: pa_mainloop_iterate (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CE1DA3: pa_mainloop_run (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CEE2E2: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4D0F8E1: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x420E50E: start_thread (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x43037ED: clone (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790== 
==22790== 
==22790== 128 bytes in 3 blocks are still reachable in loss record 10 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4011D88: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C8B: main (helloworld.c:89)
==22790== 
==22790== 
==22790== 160 bytes in 8 blocks are possibly lost in loss record 11 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x60DFC7B: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60E9311: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DC710: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DD5C2: snd_determine_driver (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DBDE4: snd_config_hook_load_for_all_cards (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DA54C: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DAA86: snd_config_searcha_hooks (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DAC74: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D9D9E: snd_config_search_definition (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61029CE: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 160 bytes in 10 blocks are indirectly lost in loss record 12 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4301A5B: tsearch (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x431670D: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x403DF7B: ???
==22790==    by 0x403ECBE: ???
==22790==    by 0x42BDB61: getpwnam_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x41B2745: g_get_any_init_do (gutils.c:1596)
==22790==    by 0x41B423C: g_get_home_dir (gutils.c:1747)
==22790==    by 0x4063864: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406528A: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x418C7E2: g_option_context_parse (goption.c:1796)
==22790==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 176 bytes in 10 blocks are still reachable in loss record 13 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x40127F7: (within /lib/ld-2.8.90.so)
==22790==    by 0x4013016: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204C83: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204CB9: dlclose (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x60DFE6C: snd_dlclose (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DA561: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DAA86: snd_config_searcha_hooks (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DABB3: snd_config_searchva_hooks (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DAD38: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D9D9E: snd_config_search_definition (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x61029CE: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 204 bytes in 1 blocks are still reachable in loss record 14 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4011761: (within /lib/ld-2.8.90.so)
==22790==    by 0x400C38A: (within /lib/ld-2.8.90.so)
==22790==    by 0x4011946: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x433EF71: (within /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x433F134: __libc_dlopen_mode (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x431694F: __nss_lookup_function (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x4316A1E: (within /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x43189CC: __nss_hosts_lookup2 (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x431D8C5: gethostbyname2_r (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x42E7084: (within /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x42E9038: getaddrinfo (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x4D08866: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CD7DDE: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CD7FC1: pa_context_connect (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CA26DC: gst_pulsemixer_ctrl_new (pulsemixerctrl.c:233)
==22790==    by 0x4CA64D1: gst_pulsesink_change_state (pulsesink.c:905)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 272 bytes in 2 blocks are possibly lost in loss record 15 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x4010A1B: _dl_allocate_tls (in /lib/ld-2.8.90.so)
==22790==    by 0x420D672: pthread_create@@GLIBC_2.1 (in /lib/tls/i686/cmov/libpthread-2.8.90.so)
==22790==    by 0x4D0FA2C: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CEE1A6: pa_threaded_mainloop_start (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CA6939: gst_pulsesink_init (pulsesink.c:264)
==22790==    by 0x41271C2: g_type_create_instance (gtype.c:1674)
==22790==    by 0x410B3D4: g_object_constructor (gobject.c:1334)
==22790==    by 0x410BC05: g_object_newv (gobject.c:1211)
==22790==    by 0x410C7D6: g_object_new_valist (gobject.c:1274)
==22790==    by 0x410C94D: g_object_new (gobject.c:1056)
==22790==    by 0x408393F: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A59254: gst_auto_audio_sink_change_state (gstautoaudiosink.c:238)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 379 bytes in 9 blocks are still reachable in loss record 16 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4006FD4: (within /lib/ld-2.8.90.so)
==22790==    by 0x4007A31: (within /lib/ld-2.8.90.so)
==22790==    by 0x40118E6: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 467 bytes in 19 blocks are still reachable in loss record 17 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4004A5E: (within /lib/ld-2.8.90.so)
==22790==    by 0x4007D7B: (within /lib/ld-2.8.90.so)
==22790==    by 0x400CDF6: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x400BF1C: (within /lib/ld-2.8.90.so)
==22790==    by 0x4011946: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 736 bytes in 18 blocks are still reachable in loss record 18 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x400BF8B: (within /lib/ld-2.8.90.so)
==22790==    by 0x4011946: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 846 bytes in 28 blocks are still reachable in loss record 19 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x400A231: (within /lib/ld-2.8.90.so)
==22790==    by 0x4005C92: (within /lib/ld-2.8.90.so)
==22790==    by 0x4007AEC: (within /lib/ld-2.8.90.so)
==22790==    by 0x40118E6: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 865 bytes in 342 blocks are still reachable in loss record 20 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4298FFF: strdup (in /lib/tls/i686/cmov/libc-2.8.90.so)
==22790==    by 0x60E04B2: snd_user_file (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB4AD: snd_config_update_r (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB787: snd_config_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102CD8: snd_pcm_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 1,038 bytes in 19 blocks are still reachable in loss record 21 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4CF0887: pa_xmalloc (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CEE46E: pa_threaded_mainloop_new (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CA6923: gst_pulsesink_init (pulsesink.c:261)
==22790==    by 0x41271C2: g_type_create_instance (gtype.c:1674)
==22790==    by 0x410B3D4: g_object_constructor (gobject.c:1334)
==22790==    by 0x410BC05: g_object_newv (gobject.c:1211)
==22790==    by 0x410C7D6: g_object_new_valist (gobject.c:1274)
==22790==    by 0x410C94D: g_object_new (gobject.c:1056)
==22790==    by 0x408393F: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A59254: gst_auto_audio_sink_change_state (gstautoaudiosink.c:238)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 1,120 bytes in 28 blocks are possibly lost in loss record 22 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x4185CEB: g_malloc0 (gmem.c:151)
==22790==    by 0x411F423: type_node_any_new_W (gtype.c:395)
==22790==    by 0x411F495: type_node_fundamental_new_W (gtype.c:500)
==22790==    by 0x4121AE7: g_type_init_with_debug_flags (gtype.c:4025)
==22790==    by 0x4121C61: g_type_init (gtype.c:4091)
==22790==    by 0x406586E: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x418C2AA: g_option_context_parse (goption.c:1572)
==22790==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 1,472 bytes in 10 blocks are still reachable in loss record 23 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x400C055: (within /lib/ld-2.8.90.so)
==22790==    by 0x4011946: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 2,064 bytes in 1 blocks are still reachable in loss record 24 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x4CF079F: pa_xmalloc0 (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4D0DB73: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CFEAF1: (within /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CD8B3F: pa_context_new (in /usr/lib/libpulse.so.0.4.1)
==22790==    by 0x4CA5B4C: gst_pulsesink_open (pulsesink.c:515)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x4CA6474: gst_pulsesink_change_state (pulsesink.c:928)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 3,344 bytes in 28 blocks are still reachable in loss record 25 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x400F14D: (within /lib/ld-2.8.90.so)
==22790==    by 0x4011BDE: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 17,591 bytes in 28 blocks are still reachable in loss record 26 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x4009FCA: (within /lib/ld-2.8.90.so)
==22790==    by 0x4005C92: (within /lib/ld-2.8.90.so)
==22790==    by 0x4007AEC: (within /lib/ld-2.8.90.so)
==22790==    by 0x40118E6: (within /lib/ld-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x40112ED: (within /lib/ld-2.8.90.so)
==22790==    by 0x4204BEB: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x400D715: (within /lib/ld-2.8.90.so)
==22790==    by 0x420501B: (within /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4204B20: dlopen (in /lib/tls/i686/cmov/libdl-2.8.90.so)
==22790==    by 0x4140726: g_module_open (gmodule-dl.c:99)
==22790==    by 0x40A2ABA: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C47: main (helloworld.c:86)
==22790== 
==22790== 
==22790== 18,829 bytes in 2,377 blocks are still reachable in loss record 27 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x60D5589: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D7FE9: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D83E7: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D8B84: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB139: snd_config_update_r (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB787: snd_config_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102CD8: snd_pcm_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 23,076 bytes in 641 blocks are still reachable in loss record 28 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x60D5A65: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB0BB: snd_config_update_r (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB787: snd_config_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102CD8: snd_pcm_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 39,060 bytes in 1,085 blocks are possibly lost in loss record 29 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x60D5A65: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D5B26: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D8190: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D860A: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60D8B84: (within /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB139: snd_config_update_r (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x60DB787: snd_config_update (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x6102CD8: snd_pcm_open (in /usr/lib/libasound.so.2.0.0)
==22790==    by 0x606CFE1: gst_alsasink_open (gstalsasink.c:674)
==22790==    by 0x4B38158: gst_audioringbuffer_open_device (gstaudiosink.c:313)
==22790==    by 0x4B47A55: gst_ring_buffer_open_device (gstringbuffer.c:492)
==22790==    by 0x4B40A2B: gst_base_audio_sink_change_state (gstbaseaudiosink.c:1640)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4A5942D: gst_auto_audio_sink_change_state (gstautoaudiosink.c:298)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x406EB29: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x40A0379: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407E2F7: gst_element_change_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x408125B: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x407D521: gst_element_set_state (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048E1F: main (helloworld.c:128)
==22790== 
==22790== 
==22790== 58,088 bytes in 432 blocks are still reachable in loss record 30 of 35
==22790==    at 0x402615C: realloc (vg_replace_malloc.c:429)
==22790==    by 0x4185C49: g_realloc (gmem.c:170)
==22790==    by 0x41143EE: g_bsearch_array_grow (gbsearcharray.h:216)
==22790==    by 0x4117610: signal_add_class_closure (gbsearcharray.h:231)
==22790==    by 0x411823A: g_signal_newv (gsignal.c:1624)
==22790==    by 0x4118518: g_signal_new_valist (gsignal.c:1687)
==22790==    by 0x41186A3: g_signal_new (gsignal.c:1329)
==22790==    by 0x4109E9E: g_object_do_class_init (gobject.c:358)
==22790==    by 0x4126C3B: g_type_class_ref (gtype.c:1989)
==22790==    by 0x4126774: g_type_class_ref (gtype.c:2656)
==22790==    by 0x4064E6C: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x418C7E2: g_option_context_parse (goption.c:1796)
==22790==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 65,824 bytes in 900 blocks are still reachable in loss record 31 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x40261BF: realloc (vg_replace_malloc.c:429)
==22790==    by 0x4185C49: g_realloc (gmem.c:170)
==22790==    by 0x4122A60: type_add_flags_W (gtype.c:3442)
==22790==    by 0x4122F0B: g_type_register_static (gtype.c:2479)
==22790==    by 0x412850B: g_type_plugin_get_type (gtypeplugin.c:105)
==22790==    by 0x4121BD4: g_type_init_with_debug_flags (gtype.c:4043)
==22790==    by 0x4121C61: g_type_init (gtype.c:4091)
==22790==    by 0x406586E: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x418C2AA: g_option_context_parse (goption.c:1572)
==22790==    by 0x4064945: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 149,188 bytes in 2,427 blocks are still reachable in loss record 32 of 35
==22790==    at 0x40240F2: calloc (vg_replace_malloc.c:397)
==22790==    by 0x4185CEB: g_malloc0 (gmem.c:151)
==22790==    by 0x41A73A3: g_thread_self (gthread.c:761)
==22790==    by 0x41A854E: g_thread_init_glib (gthread.c:142)
==22790==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22790==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 165,056 bytes in 200 blocks are possibly lost in loss record 33 of 35
==22790==    at 0x4023F5A: memalign (vg_replace_malloc.c:460)
==22790==    by 0x402400E: posix_memalign (vg_replace_malloc.c:569)
==22790==    by 0x419B332: slab_allocator_alloc_chunk (gslice.c:1136)
==22790==    by 0x419CB12: g_slice_alloc (gslice.c:666)
==22790==    by 0x41568AE: g_array_sized_new (garray.c:86)
==22790==    by 0x41569C6: g_array_new (garray.c:78)
==22790==    by 0x41A8303: g_static_private_set (gthread.c:451)
==22790==    by 0x416635F: g_get_filename_charsets (gconvert.c:1185)
==22790==    by 0x41663D0: _g_convert_thread_init (gconvert.c:1290)
==22790==    by 0x41A85BC: g_thread_init_glib (gthread.c:165)
==22790==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22790==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 286,864 bytes in 654 blocks are still reachable in loss record 34 of 35
==22790==    at 0x4023F5A: memalign (vg_replace_malloc.c:460)
==22790==    by 0x402400E: posix_memalign (vg_replace_malloc.c:569)
==22790==    by 0x419B332: slab_allocator_alloc_chunk (gslice.c:1136)
==22790==    by 0x419CAE1: g_slice_alloc (gslice.c:661)
==22790==    by 0x41568AE: g_array_sized_new (garray.c:86)
==22790==    by 0x41569C6: g_array_new (garray.c:78)
==22790==    by 0x41A8303: g_static_private_set (gthread.c:451)
==22790==    by 0x416635F: g_get_filename_charsets (gconvert.c:1185)
==22790==    by 0x41663D0: _g_convert_thread_init (gconvert.c:1290)
==22790==    by 0x41A85BC: g_thread_init_glib (gthread.c:165)
==22790==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22790==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== 
==22790== 415,000 bytes in 9,712 blocks are still reachable in loss record 35 of 35
==22790==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==22790==    by 0x4185D63: g_malloc (gmem.c:131)
==22790==    by 0x413B39E: g_mutex_new_posix_impl (gthread-posix.c:162)
==22790==    by 0x41A8558: g_thread_init_glib (gthread.c:145)
==22790==    by 0x413B68C: g_thread_init (gthread-impl.c:355)
==22790==    by 0x40649C3: gst_init_check (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x4064A31: gst_init (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==22790==    by 0x8048C04: main (helloworld.c:72)
==22790== 
==22790== LEAK SUMMARY:
==22790==    definitely lost: 72 bytes in 2 blocks.
==22790==    indirectly lost: 240 bytes in 20 blocks.
==22790==      possibly lost: 205,668 bytes in 1,323 blocks.
==22790==    still reachable: 1,046,404 bytes in 17,670 blocks.
==22790==         suppressed: 0 bytes in 0 blocks.
--22790--  memcheck: sanity checks: 737 cheap, 23 expensive
--22790--  memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--22790--  memcheck: auxmaps_L1: 0 searches, 0 cmps, ratio 0:10
--22790--  memcheck: auxmaps_L2: 0 searches, 0 nodes
--22790--  memcheck: SMs: n_issued      = 291 (4656k, 4M)
--22790--  memcheck: SMs: n_deissued    = 4 (64k, 0M)
--22790--  memcheck: SMs: max_noaccess  = 65535 (1048560k, 1023M)
--22790--  memcheck: SMs: max_undefined = 0 (0k, 0M)
--22790--  memcheck: SMs: max_defined   = 677 (10832k, 10M)
--22790--  memcheck: SMs: max_non_DSM   = 290 (4640k, 4M)
--22790--  memcheck: max sec V bit nodes:    1538 (78k, 0M)
--22790--  memcheck: set_sec_vbits8 calls: 11733 (new: 1538, updates: 10195)
--22790--  memcheck: max shadow mem size:   5022k, 4M
--22790-- translate:            fast SP updates identified: 54,323 ( 87.6%)
--22790-- translate:   generic_known SP updates identified: 6,046 (  9.7%)
--22790-- translate: generic_unknown SP updates identified: 1,585 (  2.5%)
--22790--     tt/tc: 440,585 tt lookups requiring 689,972 probes
--22790--     tt/tc: 440,585 fast-cache updates, 10 flushes
--22790--  transtab: new        38,742 (823,872 -> 12,166,263; ratio 147:10) [0 scs]
--22790--  transtab: dumped     0 (0 -> ??)
--22790--  transtab: discarded  847 (16,932 -> ??)
--22790-- scheduler: 72,709,521 jumps (bb entries).
--22790-- scheduler: 737/1,786,702 major/minor sched events.
--22790--    sanity: 738 cheap, 23 expensive checks.
--22790--    exectx: 24,593 lists, 19,795 contexts (avg 0 per list)
--22790--    exectx: 95,583 searches, 89,907 full compares (940 per 1000)
--22790--    exectx: 118,751 cmp2, 9,971 cmp4, 0 cmpAll
--22790--  errormgr: 103 supplist searches, 3,653 comparisons during search
--22790--  errormgr: 3,478 errlist searches, 12,121 comparisons during search
magnus@magnus-desktop:~/gstreamer-0.10.21/tests/examples/manual/.libs$
Comment 1 Tim-Philipp Müller 2009-01-19 12:51:59 UTC
You will get much more meaningful results if you use something like:

 $ G_SLICE=always-malloc valgrind --num-callers=40 -v --leak-check=full --show-reachable=no ./helloworld /usr/share/sounds/KDE-Sys-Log-In.ogg

(btw, please *attach* long valgrind logs in future rather than pasting them into the bug report)

FWIW, we also have valgrind suppression files for various false-positives and problems in other libraries in our common submodule and in $gstmodule/tests/check/$gstmodule.supp.

The only leak I can spot in the hello world example is that there's a missing g_main_loop_unref(loop) at the end.
Comment 2 magnus persson 2009-01-19 15:13:10 UTC
Created attachment 126763 [details]
valgrind log
Comment 3 magnus persson 2009-01-19 15:17:42 UTC
Thanks for informing me about the G_SLICE environment-variable.
I added the fix you mentioned. 
It still does not solve the errors I get from valgrind.
How could this not be a bug (there are more): ?

27,134 (888 direct, 26,246 indirect) bytes in 6 blocks are definitely lost in loss record 28 of 39
==26543==    at 0x402603E: malloc (vg_replace_malloc.c:207)
==26543==    by 0x4185D63: g_malloc (gmem.c:131)
==26543==    by 0x419C8E2: g_slice_alloc (gslice.c:824)
==26543==    by 0x4075CAE: gst_caps_new_empty (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x4B10878: gst_riff_create_audio_template_caps (riff-media.c:1566)
==26543==    by 0x4B04854: gst_ogm_audio_parse_base_init (gstogmparse.c:290)
==26543==    by 0x4126AC9: g_type_class_ref (gtype.c:1925)
==26543==    by 0x4083D24: gst_element_register (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x4B022FA: gst_ogm_parse_plugin_init (gstogmparse.c:956)
==26543==    by 0x4AF1BE1: plugin_init (gstogg.c:37)
==26543==    by 0x40A1D68: (within /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40A2F63: gst_plugin_load_file (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40A36FD: gst_plugin_load_by_name (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40A407C: gst_plugin_feature_load (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40838F1: gst_element_factory_create (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x40842AB: gst_element_factory_make (in /usr/lib/libgstreamer-0.10.so.0.18.0)
==26543==    by 0x8048CED: main (helloworld.c:87)

It's inside libgstreamer.

Best regards, Magnus 
Comment 4 Tim-Philipp Müller 2009-01-19 16:21:06 UTC
> It still does not solve the errors I get from valgrind.
> How could this not be a bug (there are more): ?

I don't think I ever claimed that GStreamer is free of leaks or bugs :)

> 27,134 (888 direct, 26,246 indirect) bytes in 6 blocks are definitely lost in
> ..
> gst_caps_new_empty (in
> /usr/lib/libgstreamer-0.10.so.0.18.0)
> gst_riff_create_audio_template_caps
> (riff-media.c:1566)
> gst_ogm_audio_parse_base_init (gstogmparse.c:290)

You are right, there is a leak here. We do know about this issue though, and it will probably be fixed in CVS quite soon (the reason it wasn't fixed immediately is that there were other modules which used certain API incorrectly, so those had to be fixed and released first).

See this remark in gstpadtemplate.c, gst_pad_template_new():

#if 0
  /* FIXME: enable this after gst-ffmpeg-0.10.6 and
   * gst-plugins-good-0.10.11 have been released.  Previous versions
   * depend on broken core behavior. */
  if (caps)
    gst_caps_unref (caps);
#endif

Feel free to file bugs about any other leaks you find (would be best to test with CVS of all modules).
Comment 5 magnus persson 2009-01-20 08:11:31 UTC
Do you know when the other modules will be fixed ?
Are there opened bug-reports on those modules ?
What about the other leaks reported by valgrind in the same run ?
Maybe this bug-report should be splitted into one for every leak found.
Comment 6 Tim-Philipp Müller 2009-01-20 09:15:36 UTC
> Do you know when the other modules will be fixed ?
> Are there opened bug-reports on those modules ?

They are fixed already, from the looks of it - I think we were waiting for a new core release before putting the unref in again.


> What about the other leaks reported by valgrind in the same run ?

Didn't see anything else that stands out. The pulseaudiosink-leaks-a-thread thing looks like bug #567746 and should be fixed in -good CVS. Not sure about the alsa thing, but it looks like a leak or one-time-alloc in libasound. The other thing looks like a possible leak in GLib/GObject, which I can't reproduce locally (GLib-2.16.6 here).


> Maybe this bug-report should be splitted into one for every leak found.

Don't think any of the other leaks are GStreamer's fault. If you find any other leaks though, please do file new bug reports (one bug per leak one bug per gstreamer module like you say would be best, I think).

Comment 7 Sebastian Dröge (slomo) 2009-01-23 10:07:28 UTC
Changing gst_pad_template_new() to unref the caps will result in a lot of failures in the core testsuite. Most of these failures are caused by an additional gst_caps_unref() though, some of them even have a FIXME above, which says that the unref shouldn't be necessary.