Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hid_close() issue #104

Open
maddyMo222 opened this issue Feb 28, 2013 · 2 comments
Open

hid_close() issue #104

maddyMo222 opened this issue Feb 28, 2013 · 2 comments

Comments

@maddyMo222
Copy link

In a test application we are continuously doing the following procedure to acquire the required information.

hid_enumerate to find the devices.
Store the device paths for further operations of read write.

once the device is found we open the device handle using hid_open_path(cur-dev->path) after reading/writing the required information we close using hid_close(handle);
then exit using hid_exit();

As and when required we open the device handle using hid_open_path and close the handle and hid_exit.

After performing continuous operations or a lengthy read write operation when we try to close hid_close(handle) the application is crashing. Observed in Mac OS X Mountain lion(10.8.2) especially till now.

Its crashing at hid_close()
CFRunLoopSourceSignal(dev->source);
CFRunLoopWakeUp(dev->run_loop);

repeatedly observed at the above mentioned code.

@signal11
Copy link
Owner

signal11 commented Sep 9, 2013

Hi, sorry for the delay, I seem to have totally missed this one. Are you running the latest from git (git clone ...)? Are you still observing this issue?

@signal11
Copy link
Owner

signal11 commented Sep 9, 2013

If you still see this, are you able to produce a simplified example that demonstrates the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants