Public bug reported: This is an upstream bug that prevents using stlink devices with openocd entirely with the jammy versions of openocd and libusb. This is a bug in openocd that was exposed by a change in libusb-1.0.24.
Upstream has committed a fix for this already (intentionally small to facilitate backporting). Please consider backporting this fix into the Ubuntu package. See https://sourceforge.net/p/openocd/tickets/308/ for the bug, and https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff;h=cff0e417da58adef1ceef9a63a99412c2cc87ff3 ** Affects: openocd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974039 Title: OpenOCD segfaults when using stlink with libusb > 1.0.24 (upstream fix available) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openocd/+bug/1974039/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs