Bug 79921

Summary: libevdev-1.2.2 fails valgrind check
Product: libevdev Reporter: Bruce Dubbs <bruce.dubbs>
Component: CoreAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecifiedKeywords: notourbug
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bruce Dubbs 2014-06-11 15:14:09 UTC
Running make check with valgrind installed fails.

valgrind-3.9.0
glibc-2.19

The test passes when adding a 2nd expression in test/valgrind.suppressions so that we have:

{
   <timer_create@@GLIBC_2.3.3-2>
   Memcheck:Param
   timer_create(evp)
   fun:timer_create@@GLIBC_2.3.3
   fun:check_get_clockid
   fun:srunner_run
   fun:main
}
{
   <timer_create@@GLIBC_2.3.3>
   Memcheck:Param
   timer_create(evp)
   fun:timer_create@@GLIBC_2.3.3
   fun:srunner_run
   fun:main
}

Valgrind needs both.

Fails for libevdev-1.2.1 also.
Comment 1 Peter Hutterer 2014-06-15 22:05:33 UTC
commit aa201a473721ff426b50e4969893036823e2ba76
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu Jun 12 09:47:32 2014 +1000

    test: ignore any timer_create errors in valgrind

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.