You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a regression though, as libusb-1.0.29/1.0.28/1.0.27 releases have the same issue under the same physical machine, an Intel N4200 CPU based mini PC running OpenBSD 7.7.
Therefore I do not think this is a blocker for libusb-1.0.30 release.
FWIW I have one OpenBSD 7.8-current machine on which the issue didn't show when running the tests in a loop for about 20 minutes (an Intel i7-10700K-based Dell Precision 3640 Tower).
Activity
mcuee commentedon Feb 28, 2026
On the other hand, it would be good for users of OpenBSD and NetBSD to give libusb-1.0.30-rc1 some testing as I am not an expert in the BSDs.
Last time I usually used VMs to carry out the tests. Now I have installed FreeBSD, OpenBSD and NetBSD on mini PCs to carry out more realistic testing.
mcuee commentedon Feb 28, 2026
Since USB HID mouse receiver
1ea7:0064is causing issues under Ubuntu 24.04 for my Ryzen 5 5600G desktop, so I removed it to see if that helps.It does not help.
mcuee commentedon Feb 28, 2026
Then I just keep the mouse and keyboard USB receivers inserted to the built-in USB ports and removed the two external USB hubs.
Then it is okay.
Interestingly, after I plug in the external HUB, it runs okay as well.
mcuee commentedon Feb 28, 2026
Interesting that I can not reproduce the issue any more.
mcuee commentedon Feb 28, 2026
Even after I reboot the mini PC and remove the added USB device (another USB mouse receiver), I cannot reproduce the issue any more. Very strange.
seanm commentedon Feb 28, 2026
stress_mt is the test that fails under TSan, no? Don't waste your time testing it more until someone fixes the issues TSan flags.
mcuee commentedon Mar 1, 2026
Not so sure how to run TScan for the BSDs.
seanm commentedon Mar 1, 2026
Not sure if TSan works on OpenBSD, but it does work on the other BSDs: https://clang.llvm.org/docs/ThreadSanitizer.html
mcuee commentedon Mar 3, 2026
@botovq
Just wondering if you can test on your OpenBSD machines. Thanks.
botovq commentedon Mar 3, 2026
TSan isn't available on OpenBSD.
I can see this issue with v1.0.30-rc1 on several of my OpenBSD machines and this goes back to at least v1.0.27. For example on my mac mini M1:
mcuee commentedon Mar 3, 2026
@botovq
Thanks a lot for the help.
This is the same as my early tests -- it fails from 1.0.27 to 1.0.30-rc1.
@tormodvolden
So this is an anomaly but not a regression. In that case, it will not be a blocker for 1.0.30 release.
mcuee commentedon Mar 5, 2026
I have upgraded my OpenBSD system from version 7.7 to 7.8.
Interestingly I still cannot reproduce the issue on this system (Intel N4500 CPU based Chuwi mini PC, dual boot OpenBSD 7.8 and NetBSD 10.1).
botovq commentedon Mar 5, 2026
FWIW I have one OpenBSD 7.8-current machine on which the issue didn't show when running the tests in a loop for about 20 minutes (an Intel i7-10700K-based Dell Precision 3640 Tower).
mcuee commentedon Mar 5, 2026
Indeed. But is actually supported under NetBSD. And we have similar codes for OpenBSD and NetBSD.
https://clang.llvm.org/docs/ThreadSanitizer.html
Supported Platforms
ThreadSanitizer is supported on the following OS:
Android aarch64, x86_64
Darwin arm64, x86_64
FreeBSD
Linux aarch64, x86_64, powerpc64, powerpc64le
NetBSD
Support for other 64-bit architectures is possible, contributions are welcome. Support for 32-bit platforms is problematic and is not planned.
mcuee commentedon Mar 7, 2026
I just installed a fresh OpenBSD 7.8 VM under Windows 11 VirtualBox. After attaching one USB device,
doas make checkwill fail.On the other hand, I intalled another NetBSD 10.0 VM under Windows 11 VirtualBox,
sudo make checkis okay.mcuee commentedon Mar 9, 2026
Okay, I can reproduce the issue on the OpenBSD 7.8 physical machine again. I am using git in this case.
You can see that first run is okay but second run fails.