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 741614 - Add suppression for timer_create() valgrind complaint
Add suppression for timer_create() valgrind complaint
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: common
git master
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-16 18:37 UTC by Sebastian Rasmussen
Modified: 2014-12-17 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (671 bytes, patch)
2014-12-16 18:38 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-12-16 18:37:59 UTC
When compiling GStreamer with the new libcheck 0.9.14 and running an older version of valgrind (like 3.7.0 included in Debian/wheezy) you may see complaints like the one below. The attached patch alleviates these by adding suppression. Another option is to upgrade to valgrind 3.10.0 (included in Debian/testing) which also removes the complaint, however there appears to be no way to require a specific valgrind version.

==10183== Syscall param timer_create(evp) points to uninitialised byte(s)
==10183==    at 0x6121DD2: timer_create@@GLIBC_2.3.3 (timer_create.c:82)
==10183==    by 0x4E43562: check_get_clockid (check.c:546)
==10183==    by 0x4E46AA4: tcase_run_tfun_fork (check_run.c:429)
==10183==    by 0x4E462DE: srunner_iterate_tcase_tfuns (check_run.c:190)
==10183==    by 0x4E466FD: srunner_run_tcase (check_run.c:330)
==10183==    by 0x4E461F3: srunner_iterate_suites (check_run.c:163)
==10183==    by 0x4E472CF: srunner_run (check_run.c:679)
==10183==    by 0x4E471B5: srunner_run_all (check_run.c:646)
==10183==    by 0x4E3BFE9: gst_check_run_suite (gstcheck.c:782)
==10183==    by 0x40D725: main (gstbuffer.c:885)
==10183==  Address 0x7fefff5c0 is on thread 1's stack
==10183== 
==10183== Syscall param timer_create(evp) points to uninitialised byte(s)
==10183==    at 0x6121DD2: timer_create@@GLIBC_2.3.3 (timer_create.c:82)
==10183==    by 0x4E46AB9: tcase_run_tfun_fork (check_run.c:429)
==10183==    by 0x4E462DE: srunner_iterate_tcase_tfuns (check_run.c:190)
==10183==    by 0x4E466FD: srunner_run_tcase (check_run.c:330)
==10183==    by 0x4E461F3: srunner_iterate_suites (check_run.c:163)
==10183==    by 0x4E472CF: srunner_run (check_run.c:679)
==10183==    by 0x4E471B5: srunner_run_all (check_run.c:646)
==10183==    by 0x4E3BFE9: gst_check_run_suite (gstcheck.c:782)
==10183==    by 0x40D725: main (gstbuffer.c:885)
==10183==  Address 0x7fefff5e0 is on thread 1's stack
==10183== 
==10205== Syscall param timer_create(evp) points to uninitialised byte(s)
==10205==    at 0x6121DD2: timer_create@@GLIBC_2.3.3 (timer_create.c:82)
==10205==    by 0x4E43562: check_get_clockid (check.c:546)
==10205==    by 0x4E469D8: tcase_run_tfun_fork (check_run.c:417)
==10205==    by 0x4E462DE: srunner_iterate_tcase_tfuns (check_run.c:190)
==10205==    by 0x4E466FD: srunner_run_tcase (check_run.c:330)
==10205==    by 0x4E461F3: srunner_iterate_suites (check_run.c:163)
==10205==    by 0x4E472CF: srunner_run (check_run.c:679)
==10205==    by 0x4E471B5: srunner_run_all (check_run.c:646)
==10205==    by 0x4E3BFE9: gst_check_run_suite (gstcheck.c:782)
==10205==    by 0x40D725: main (gstbuffer.c:885)
==10205==  Address 0x7fefff5c0 is on thread 1's stack
Comment 1 Sebastian Rasmussen 2014-12-16 18:38:52 UTC
Created attachment 292857 [details] [review]
Proposed patch.
Comment 2 Sebastian Dröge (slomo) 2014-12-17 14:41:19 UTC
commit f2c6b95d0d98e97c37ffe27509709fdd41cd503c
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Tue Dec 16 18:23:22 2014 +0100

    gst.supp: Add suppression for timer_create() complaint
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741614