[Bug 958095] Re: Linux user input device ioctls missing wrappers

Launchpad Bug Tracker 958095 at bugs.launchpad.net
Sat Mar 17 19:35:21 UTC 2012


This bug was fixed in the package valgrind - 1:3.7.0-0ubuntu3

---------------
valgrind (1:3.7.0-0ubuntu3) precise; urgency=low

  * Add uinput ioctl wrappers to fix false positive errors. (LP: #958095)
    - Add 0011-uinput-ioctls.patch.
 -- Chase Douglas <chase.douglas at ubuntu.com>   Sat, 17 Mar 2012 12:29:21 -0700

** Changed in: valgrind (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/958095

Title:
  Linux user input device ioctls missing wrappers

Status in Valgrind:
  Unknown
Status in “valgrind” package in Ubuntu:
  Fix Released

Bug description:
  The user input device ioctls defined in linux/uinput.h need wrappers
  because they either don't provide a third argument or they provide an
  int value instead of a pointer to a memory location.

  This causes valgrind errors like:

  ==1178== Syscall param ioctl(generic) points to unaddressable byte(s)
  ==1178==    at 0x6AC8FB7: ioctl (syscall-template.S:82)
  ==1178==    by 0x4E33FA0: evemu_create (evemu.c:468)
  ==1178==    by 0x412698: utouch::evemu::Device::Device(char const*) (device.cpp:54)
  ==1178==    by 0x425DD0: AtomicTap_Recording_Test::TestBody() (atomic-timeout.cpp:170)
  ==1178==    by 0x46C2BC: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/cndougla/Canonical/x/upstream/utouch-gra
  il/tap-fixes/test/check-grail)
  ==1178==    by 0x463FE0: testing::Test::Run() (in /home/cndougla/Canonical/x/upstream/utouch-grail/tap-fixes/test/check-grail)
  ==1178==    by 0x4640C5: testing::TestInfo::Run() (in /home/cndougla/Canonical/x/upstream/utouch-grail/tap-fixes/test/check-grail)
  ==1178==    by 0x464206: testing::TestCase::Run() (in /home/cndougla/Canonical/x/upstream/utouch-grail/tap-fixes/test/check-grail)
  ==1178==    by 0x46455D: testing::internal::UnitTestImpl::RunAllTests() (in /home/cndougla/Canonical/x/upstream/utouch-grail/tap-fixes/test/check-grail)
  ==1178==    by 0x46BE3C: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char cons
  t*) (in /home/cndougla/Canonical/x/upstream/utouch-grail/tap-fixes/test/check-grail)
  ==1178==    by 0x46363D: testing::UnitTest::Run() (in /home/cndougla/Canonical/x/upstream/utouch-grail/tap-fixes/test/check-grail)
  ==1178==    by 0x56740B4: main (main.cpp:123)
  ==1178==  Address 0x0 is not stack'd, malloc'd or (recently) free'd

  The default valgrind ioctl signatures do not match how the uinput
  ioctls work. These errors are false positives.

To manage notifications about this bug go to:
https://bugs.launchpad.net/valgrind/+bug/958095/+subscriptions




More information about the foundations-bugs mailing list