GNOME Bugzilla – Bug 741614
Add suppression for timer_create() valgrind complaint
Last modified: 2014-12-17 14:41:22 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
Created attachment 292857 [details] [review] Proposed patch.
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