Closed luke-jr closed 10 years ago
Are you able to figure out what's going on? Are you sure its hidapi and not libusb?
No, I'm afraid this is a bit over my head; I suppose it could just as well be a libusb issue.
It might be hidapi. See if the problem exists in just a basic hidapi test program.
For what it's worth, I just ran up a valgrind here on the hidtest (opening and reading from a joystick) and it shows clean. If you find out anything else, feel free to re-open.
Seems hidapi is accessing data after it's freed it :(