-
Notifications
You must be signed in to change notification settings - Fork 105
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
On OSX, device updating fails after some time #35
Comments
Stack: [0x000000010edbf000,0x000000010eebf000], sp=0x000000010eebe520, free space=1021k Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) |
This sounds more like a problem in libusb. If you have some C experience maybe you can try to reproduce this problem with a small C program which directly uses libusb? |
hmm, actually I'm going to close this. There's a few more things I need to weed out. I'm going to try a new native driver build from my mac, and im going to try another mac. I just remembered I'm on a hackintosh, so I wouldn't be surprised if that's feeding into this. I can also use the original device software (cgminer, in C, uses libusb directly) on this machine and see if that fails too. I think I may have been a little pre-emptive creating this issue. |
In regards to my post on the board: https://groups.google.com/forum/#!topic/usb4java/qrcz4H9n_jY
More information is provided there, but basically on OSX after running the software for a while (with some device failures and reinits happening every hour). After a while the device list seems to stop getting updated, and i cannot open an interface to the device. Oddly enough, when walking the device tree at this point, it is never updated. Unplugging the old device, plugging in a new one, etc. still returns the same list of devices. I'm still getting callbacks from control requests, but obviously with no device it does nothing. Trying to send data, I get a failure that it cant find the interface. This sometimes results in a segfault (attached).
Moving the software over to linux, everything works fine. I may try compiling my own OSX native driver and see if that helps.
The text was updated successfully, but these errors were encountered: