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 311009 - valgrind shows undesired messages
valgrind shows undesired messages
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal minor
: 0.9.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-20 14:11 UTC by Edgard Lima
Modified: 2005-08-25 23:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edgard Lima 2005-07-20 14:11:50 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
 }
Comment 1 Thomas Vander Stichele 2005-08-25 23:36:01 UTC
done