GNOME Bugzilla – Bug 311009
valgrind shows undesired messages
Last modified: 2005-08-25 23:36:01 UTC
Please describe the problem: valgrind shows undesired messages when calling __libc_freeres and gst_init_check_with_popt_table functions. The suppersion file gstreamer/check/gst.supp already try to suppress those lines but (probably a valgrindś bug) the message is still showed. Steps to reproduce: 1. $ cd gstreamer/check 2. $ make valgrind 3. Actual results: Expected results: Does this happen every time? yes Other information: applying the patch bellow the problem seems to be solved. And Other undesired messages can be solved in same way (just changing lines like obj:/something*.so.* by obj:*). --- gst.supp.orig 2005-07-20 10:34:20.029313968 -0300 +++ gst.supp 2005-07-20 10:25:27.711238616 -0300 @@ -31,11 +31,11 @@ { __libc_freeres_rw_acess Memcheck:Addr4 - obj:/lib/tls/i686/cmov/libc-*.so - obj:/lib/tls/i686/cmov/libc-*.so - obj:/lib/tls/i686/cmov/libc-*.so - obj:/lib/tls/i686/cmov/libc-*.so - obj:/lib/tls/i686/cmov/libc-*.so + obj:* + obj:* + obj:* + obj:* + obj:* fun:__libc_freeres } @@ -46,14 +46,14 @@ Memcheck:Leak fun:calloc fun:g_malloc0 - obj:/usr/lib/libgobject-2.0.so.* - obj:/usr/lib/libgobject-2.0.so.* + obj:* + obj:* fun:g_type_init_with_debug_flags fun:g_type_init fun:init_pre fun:init_popt_callback - obj:/usr/lib/libpopt.so.* - obj:/usr/lib/libpopt.so.* + obj:* + obj:* fun:poptGetContext fun:gst_init_check_with_popt_table }
done