Wickedlasers / laserdocklib

client library to connect to laserdock
GNU Lesser General Public License v3.0
28 stars 8 forks source link

Crashing during initialize() in desktop interface #14

Open carmangary opened 3 years ago

carmangary commented 3 years ago

For some reason, the laserdock lib has started to crash when calling libusb_set_interface_alt_setting(...). Not sure if this is due to a Windows 10 update or possibly a change to libusb. I am using libusb-1.0 from vcpkg which is version 1.0.24.

Would like to know if anyone else is experiencing this.

gavrushkin commented 3 years ago

Thank you for the report, we'll check it

carmangary commented 3 years ago

I rolled back to the previous version of libusb (1.0.23) and it no longer crashes. The issue might be within libusb 1.0.24 but it seems odd that a well establish library would have such a visible bug. Anyway, hopefully you look into it.

carmangary commented 3 years ago

Please see this thread: https://github.com/libusb/libusb/issues/982