I've noticed this recently, and didn't dive into it yet. Was wondering did anyone else see this?
This is triggered by network print via Android phone, with service discovery by avahi. OpenBSD 7.1-beta (GENERIC.MP) #387: Sat Feb 26 17:21:00 MST 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP # pkg_info -qI | grep cups cups-2.4.1 cups-filters-1.28.12 cups-libs-2.4.1 debug-cups-2.4.1 debug-cups-filters-1.28.12 debug-cups-libs-2.4.1 # egdb /usr/local/libexec/cups/backend/usb /usb.core GNU gdb (GDB) 9.2 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-openbsd7.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/libexec/cups/backend/usb... Reading symbols from /usr/local/libexec/cups/backend/.debug/usb.dbg... [New process 501399] [New process 303223] Core was generated by `usb'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00000e413e79c530 in libusb_submit_transfer () from /usr/local/lib/libusb-1.0.so.1.2 [Current thread is 1 (process 501399)] (gdb) bt #0 0x00000e413e79c530 in libusb_submit_transfer () from /usr/local/lib/libusb-1.0.so.1.2 #1 0x00000e413e79e6ad in do_sync_bulk_transfer () from /usr/local/lib/libusb-1.0.so.1.2 #2 0x00000e413e79e5de in libusb_bulk_transfer () from /usr/local/lib/libusb-1.0.so.1.2 #3 0x00000e3f0092cd28 in read_thread (reference=<optimized out>) at ./usb-libusb.c:1734 #4 0x00000e41e0311621 in _rthread_start (v=<optimized out>) at /usr/src/lib/librthread/rthread.c:96 #5 0x00000e41f8542b3a in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:84 (gdb) from /var/log/cups/error_log ... D [27/Feb/2022:09:02:50 +0000] [Job 39] Read 7848 bytes of print data... D [27/Feb/2022:09:02:50 +0000] [Job 39] kid4 exited with status 0 D [27/Feb/2022:09:02:50 +0000] [Job 39] kid3 finished D [27/Feb/2022:09:02:50 +0000] [Job 39] Kid3 exit status: 0 D [27/Feb/2022:09:02:50 +0000] [Job 39] Closing foomatic-rip. D [27/Feb/2022:09:02:50 +0000] [Job 39] Wrote 7848 bytes of print data... D [27/Feb/2022:09:02:50 +0000] [Job 39] Sent 286376 bytes... D [27/Feb/2022:09:02:50 +0000] [Job 39] Waiting for read thread to exit... D [27/Feb/2022:09:02:50 +0000] [Job 39] PID 17625 (/usr/local/libexec/cups/filter/foomatic-rip) exited with no errors. D [27/Feb/2022:09:02:50 +0000] [Job 39] Read thread still active, aborting the pending read... D [27/Feb/2022:09:02:50 +0000] [Job 39] Device reset failed, error code: -12 D [27/Feb/2022:09:02:50 +0000] [Job 39] PID 55597 (/usr/local/libexec/cups/backend/usb) crashed on signal 11. D [27/Feb/2022:09:02:50 +0000] [Job 39] Hint: Try setting the LogLevel to "debug" to find out more. D [27/Feb/2022:09:02:50 +0000] [Job 39] time-at-completed=1645952570 D [27/Feb/2022:09:02:50 +0000] [Job 39] End of messages D [27/Feb/2022:09:02:50 +0000] [Job 39] printer-state=3(idle) D [27/Feb/2022:09:02:50 +0000] [Job 39] printer-state-message="Backend failed" D [27/Feb/2022:09:02:50 +0000] [Job 39] printer-state-reasons=none # usbdevs -vvv Controller /dev/usb0: addr 01: 1022:0000 AMD, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub0 port 01: 0000.02a0 power Rx.detect port 02: 0000.02a0 power Rx.detect port 03: 0000.0503 connect enabled recovery port 04: 0000.02a0 power Rx.detect addr 02: 04e8:3469 Samsung Electronics Co., Ltd., M2070 Series high speed, self powered, config 1, rev 1.00, iSerial ZF46B8KM2D02Z1A driver: ugen0 Controller /dev/usb1: addr 01: 1022:0000 AMD, EHCI root hub high speed, self powered, config 1, rev 1.00 driver: uhub1 port 01: 0000.0503 connect enabled power port 02: 0000.0500 power addr 02: 0438:7900 Advanced Micro Devices, Hub high speed, self powered, config 1, rev 0.18 driver: uhub2 port 01: 0000.0100 power port 02: 0000.0100 power port 03: 0000.0503 connect enabled power port 04: 0000.0100 power addr 03: 1199:9071 Sierra Wireless, Incorporated, Sierra Wireless MC7455 Qualcomm\M-. Snapdragon? X7 LTE-A high speed, power 500 mA, config 1, rev 0.06, iSerial LQ80634656021021 driver: umb0 driver: ugen1 # lsusb -vvv -d 04e8:3469 Bus 000 Device 002: ID 04e8:3469 Samsung Electronics Co., Ltd Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x04e8 Samsung Electronics Co., Ltd idProduct 0x3469 bcdDevice 1.00 iManufacturer 1 Samsung Electronics Co., Ltd. iProduct 2 M2070 Series iSerial 3 ZF46B8KM2D02Z1A bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 55 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 2mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 10 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 10 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 7 Printer bInterfaceSubClass 1 Printer bInterfaceProtocol 2 Bidirectional iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 10 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 10 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0001 Self Powered -- Regards, Mikolaj