[Bug 958095] Re: Linux user input device ioctls missing wrappers
Bug Watch Updater
958095 at bugs.launchpad.net
Thu Jul 5 20:29:52 UTC 2012
Launchpad has imported 5 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=296229.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2012-03-17T19:14:20+00:00 Chase Douglas wrote:
Created attachment 69693
Add ioctl wrappers for linux user input devices
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.
Reply at: https://bugs.launchpad.net/valgrind/+bug/958095/comments/0
------------------------------------------------------------------------
On 2012-03-17T19:15:17+00:00 Chase Douglas wrote:
Although I'm reporting the bug against Ubuntu's valgrind package because
it's what I've tested with, the attached patch is against a trunk svn
checkout.
Reply at: https://bugs.launchpad.net/valgrind/+bug/958095/comments/1
------------------------------------------------------------------------
On 2012-07-04T20:10:09+00:00 Jseward wrote:
(In reply to comment #0)
> Created attachment 69693 [details]
> Add ioctl wrappers for linux user input devices
This looks like a patch for XOrg, not for Valgrind. Did you get the
right one?
Reply at: https://bugs.launchpad.net/valgrind/+bug/958095/comments/4
------------------------------------------------------------------------
On 2012-07-05T15:26:22+00:00 Chase Douglas wrote:
Comment on attachment 69693
Add ioctl wrappers for linux user input devices
Yes, the patch is bogus. I'll attach the patch I applied to the Ubuntu
package.
Reply at: https://bugs.launchpad.net/valgrind/+bug/958095/comments/5
------------------------------------------------------------------------
On 2012-07-05T15:27:15+00:00 Chase Douglas wrote:
Created attachment 72333
Add uinput ioctl wrappers
Reply at: https://bugs.launchpad.net/valgrind/+bug/958095/comments/6
** Changed in: valgrind
Status: Unknown => New
** Changed in: valgrind
Importance: Unknown => Wishlist
--
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:
New
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