I have been checking out libevdev and get a bunch of failures when valgrind is installed. The errors look like:

Running suite(s): libevdev_has_event tests
==1600== Source and destination overlap in memcpy(0x5b18463, 0x5b18462, 2)
==1600==    at 0x4C2F463: memcpy (vg_replace_strmem.c:1019)
==1600==    by 0x581DCD6: ??? (in /lib/libc-2.24.so)
==1600==    by 0x581D853: readdir (in /lib/libc-2.24.so)
==1600==    by 0x581DEAA: ??? (in /lib/libc-2.24.so)
==1600==    by 0x421F81: fetch_device_node (libevdev-uinput.c:196)
==1600==    by 0x4223EC: fetch_syspath_and_devnode (libevdev-uinput.c:230)
==1600== by 0x4223EC: libevdev_uinput_create_from_device (libevdev-uinput.c:405)
==1600==    by 0x4228E2: uinput_device_create (test-common-uinput.c:151)
==1600== by 0x422B67: uinput_device_new_with_events_v (test-common-uinput.c:85)
==1600==    by 0x422F2F: test_create_device (test-common.c:60)
==1600==    by 0x409F7E: test_ev_bit_limits (test-libevdev-has-event.c:91)
==1600==    by 0x4E3CB2C: tcase_run_tfun_fork (check_run.c:466)
==1600==    by 0x4E3CB2C: srunner_iterate_tcase_tfuns (check_run.c:224)
==1600==    by 0x4E3CB2C: srunner_run_tcase (check_run.c:373)
==1600==    by 0x4E3CB2C: srunner_iterate_suites (check_run.c:195)
==1600==    by 0x4E3CB2C: srunner_run (check_run.c:782)
==1600==    by 0x40160B: main (test-main.c:86)

There are a total of 74 errors in the first test and 3 in the second.

I looked at libevdev-uinput.c and the line is:

ndev = scandir(path, &namelist, is_event_device, alphasort);


Any ideas?

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to