Skip to content
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

thread 'main' panicked at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/alloc/src/string.rs:1410:13: #32

Closed
undrwater opened this issue Sep 18, 2024 · 5 comments

Comments

@undrwater
Copy link

When running
cyme -m
output looks like:

cyme -m
  1   5 9          1-9         󰍽 0x046d 0xc08b 1b.03 2.00  0x00 UseInterfa... 0x00 -      0x00 -             G502 HERO ... Logitech      028D334B3338 usb     12.0 Mb/s
  1   4 8          1-8          0x05e3 0x0608 3c.90 2.00  0x09 Hub           0x00 Unused 0x01 Single TT     USB2.0 Hub    Genesys Lo... -            usb    480.0 Mb/s
  1   3 7          1-7          0x0b05 0x19af 1.00  2.00  0x00 UseInterfa... 0x00 -      0x00 -             AURA LED C... AsusTek Co... 9876543210   usb     12.0 Mb/s
  1   2 6          1-6          0x0b05 0x1a52 0.02  2.00  0xef Miscellaneous 0x02 ?      0x01 Interface ... USB Audio     Generic       -            usb    480.0 Mb/s
  1   6 11         1-11         0x0e8d 0x0608 1.00  2.10  0xef Miscellaneous 0x02 ?      0x01 Interface ... Wireless_D... MediaTek Inc. 000000000    usb    480.0 Mb/s
  5   2 2          5-2          0x174c 0x2074 0.01  2.10  0x09 Hub           0x00 Unused 0x02 TT per port   ASM107x       ASUS TEK.     -            usb    480.0 Mb/s
  5   4 2-4        5-2.4        0x0d8c 0x016c 1.00  1.10  0x00 UseInterfa... 0x00 -      0x00 -             USB Advanc... C-Media El... -            usb     12.0 Mb/s
  5   3 2-2        5-2.2        0x2109 0x2817 2.14  2.10  0x09 Hub           0x00 Unused 0x02 TT per port   USB2.0 Hub    VIA Labs, ... -            usb    480.0 Mb/s
  5   6 2-2-4      5-2.2.4      0x2109 0x2817 2.14  2.10  0x09 Hub           0x00 Unused 0x02 TT per port   USB2.0 Hub    VIA Labs, ... -            usb    480.0 Mb/s
  5   8 2-2-4-4    5-2.2.4.4    0x2109 0x2817 2.14  2.10  0x09 Hub           0x00 Unused 0x02 TT per port   USB2.0 Hub    VIA Labs, ... -            usb    480.0 Mb/s
  5   9 2-2-4-4-4  5-2.2.4.4.4  0x248a 0x8327 1.00  1.10  0x00 UseInterfa... 0x00 -      0x00 -             Wireless R... Telink        -            usb     12.0 Mb/s
  5   7 2-2-4-3    5-2.2.4.3   󰍽 0x046d 0xc52b c.01  2.00  0x00 UseInterfa... 0x00 -      0x00 -             USB Receiver  Logitech      -            usb     12.0 Mb/s
thread 'main' panicked at /rustc/3f5fd8dd41153bc5fdca9427e9e05be2c767ba23/library/alloc/src/string.rs:1410:13:
assertion failed: self.is_char_boundary(new_len)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted

dmesg shows:
usb 1-6: usbfs: process 8504 (cyme) did not claim interface 7 before use
There are several of these messages with differing interface numbers.

I saw you asked for
cyme --tree -vvv on another issue, so here's mine:

cyme --tree -vvv
● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd
├──○    2 0x0b05 0x1a52 USB Audio              -           
│  └──•  1     100 mA USB Audio
│     ├──◦ 1-6:1.0  0x00 Audio 0x01 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Interrupt None  Data  1x 16 
│     ├──◦ 1-6:1.1  0x00 Audio 0x02 0x20 Realtek USB2.0 Audio
│     ├──◦ 1-6:1.1  0x01 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.1  0x02 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.1  0x03 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.1  0x04 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.1  0x05 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.1  0x06 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.1  0x07 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.1  0x08 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  1 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.2  0x00 Audio 0x02 0x20 Realtek USB2.0 Audio
│     ├──◦ 1-6:1.2  0x01 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.2  0x02 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.2  0x03 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.2  0x04 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.2  0x05 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.2  0x06 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.2  0x07 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.2  0x08 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  3 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.3  0x00 Audio 0x02 0x20 Realtek USB2.0 Audio
│     ├──◦ 1-6:1.3  0x01 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.3  0x02 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.3  0x03 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.3  0x04 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.3  0x05 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.3  0x06 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.3  0x07 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 124
│     ├──◦ 1-6:1.3  0x08 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──→  4 In  Isochronous Asynchronous Data  1x 186
│     ├──◦ 1-6:1.4  0x00 Audio 0x02 0x20 Realtek USB2.0 Audio
│     ├──◦ 1-6:1.4  0x01 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 124
│     ├──◦ 1-6:1.4  0x02 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 186
│     ├──◦ 1-6:1.4  0x03 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.4  0x04 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.4  0x05 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.4  0x06 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.4  0x07 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.4  0x08 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 558
│     ├──◦ 1-6:1.4  0x09 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 744
│     ├──◦ 1-6:1.4  0x0a Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.4  0x0b Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 744
│     ├──◦ 1-6:1.4  0x0c Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  5 Out Isochronous Adaptive Data  1x 992
│     ├──◦ 1-6:1.5  0x00 Audio 0x02 0x20 Realtek USB2.0 Audio
│     ├──◦ 1-6:1.5  0x01 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.5  0x02 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.5  0x03 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.5  0x04 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.5  0x05 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.5  0x06 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.5  0x07 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.5  0x08 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.5  0x09 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.5  0x0a Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.5  0x0b Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.5  0x0c Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.5  0x0d Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.5  0x0e Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.5  0x0f Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.5  0x10 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.5  0x11 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.5  0x12 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.5  0x13 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 248
│     ├──◦ 1-6:1.5  0x14 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 372
│     ├──◦ 1-6:1.5  0x15 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  6 Out Isochronous Adaptive Data  1x 496
│     ├──◦ 1-6:1.6  0x00 Audio 0x02 0x20 Realtek USB2.0 Audio
│     ├──◦ 1-6:1.6  0x01 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 124
│     ├──◦ 1-6:1.6  0x02 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 186
│     ├──◦ 1-6:1.6  0x03 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 124
│     ├──◦ 1-6:1.6  0x04 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 186
│     ├──◦ 1-6:1.6  0x05 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 124
│     ├──◦ 1-6:1.6  0x06 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 186
│     ├──◦ 1-6:1.6  0x07 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 124
│     ├──◦ 1-6:1.6  0x08 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 186
│     ├──◦ 1-6:1.6  0x09 Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 124
│     ├──◦ 1-6:1.6  0x0a Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 186
│     ├──◦ 1-6:1.6  0x0b Audio 0x02 0x20 Realtek USB2.0 Audio
│     │  └──←  0 Out Isochronous Adaptive Data  1x 124
│     └──◦ 1-6:1.7 󰌌 0x00 HID   0x00 0x00                     
│        └──→  2 In  Interrupt None  Data  1x 16 
├──○    3 0x0b05 0x19af AURA LED Controller    9876543210  
│  └──•  1 󰅕    16 mA     
│     ├──◦ 1-7:1.0 ☶ 0x00 VendorSpecificClass 0xff 0xff     
│     └──◦ 1-7:1.2 󰌌 0x00 HID                 0x00 0x00     
│        └──→  2 In  Interrupt None  Data  1x 32 
├──○    4 0x05e3 0x0608 USB2.0 Hub             -           
│  └──•  1 󰅕 󰚥 100 mA     
│     └──◦ 1-8:1.0  0x00 Hub   0x00 0x00     
│        └──→  1 In  Interrupt None  Data  1x 1  
├──○ 󰍽   5 0x046d 0xc08b G502 HERO Gaming Mouse 028D334B3338
│  └──•  1 󰅕   300 mA U127.03_B0010
│     ├──◦ 1-9:1.0 󰌌 0x00 HID   0x01 0x02     
│     │  └──→  1 In  Interrupt None  Data  1x 8  
│     └──◦ 1-9:1.1 󰌌 0x00 HID   0x00 0x00     
│        └──→  2 In  Interrupt None  Data  1x 20 
└──○    6 0x0e8d 0x0608 Wireless_Device        000000000   
   └──•  1 󰅕 󰚥 100 mA Config_01
      ├──◦ 1-11:1.0  0x00 WirelessController 0x01 0x01 BT_ACL_If
      │  ├──→  1 In  Interrupt None  Data  1x 16 
      │  ├──→  2 In  Bulk      None  Data  1x 512
      │  └──←  2 Out Bulk      None  Data  1x 512
      ├──◦ 1-11:1.1  0x00 WirelessController 0x01 0x01 BT_SCO_If
      │  ├──→  3 In  Isochronous None  Data  1x 0  
      │  └──←  3 Out Isochronous None  Data  1x 0  
      ├──◦ 1-11:1.1  0x01 WirelessController 0x01 0x01 BT_SCO_If
      │  ├──→  3 In  Isochronous None  Data  1x 9  
      │  └──←  3 Out Isochronous None  Data  1x 9  
      ├──◦ 1-11:1.1  0x02 WirelessController 0x01 0x01 BT_SCO_If
      │  ├──→  3 In  Isochronous None  Data  1x 17 
      │  └──←  3 Out Isochronous None  Data  1x 17 
      ├──◦ 1-11:1.1  0x03 WirelessController 0x01 0x01 BT_SCO_If
      │  ├──→  3 In  Isochronous None  Data  1x 25 
      │  └──←  3 Out Isochronous None  Data  1x 25 
      ├──◦ 1-11:1.1  0x04 WirelessController 0x01 0x01 BT_SCO_If
      │  ├──→  3 In  Isochronous None  Data  1x 33 
      │  └──←  3 Out Isochronous None  Data  1x 33 
      ├──◦ 1-11:1.1  0x05 WirelessController 0x01 0x01 BT_SCO_If
      │  ├──→  3 In  Isochronous None  Data  1x 49 
      │  └──←  3 Out Isochronous None  Data  1x 49 
      ├──◦ 1-11:1.1  0x06 WirelessController 0x01 0x01 BT_SCO_If
      │  ├──→  3 In  Isochronous None  Data  1x 63 
      │  └──←  3 Out Isochronous None  Data  1x 63 
      ├──◦ 1-11:1.2  0x00 WirelessController 0x01 0x01 BT_ISO_If
      │  ├──→  2 In  Interrupt None  Data  1x 64 
      │  └──←  2 Out Interrupt None  Data  1x 64 
      └──◦ 1-11:1.2  0x01 WirelessController 0x01 0x01 BT_ISO_If
         ├──→  2 In  Interrupt None  Data  1x 512
         └──←  2 Out Interrupt None  Data  1x 512

● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd

● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd

● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd

● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd
└──○    2 0x174c 0x2074 ASM107x -     
   ├──•  1 󰅕 󰚥 100 mA     
   │  ├──◦ 5-2:1.0  0x00 Hub   0x00 0x01     
   │  │  └──→  1 In  Interrupt None  Data  1x 1  
   │  └──◦ 5-2:1.0  0x01 Hub   0x00 0x02     
   │     └──→  1 In  Interrupt None  Data  1x 1  
   ├──○    3 0x2109 0x2817 USB2.0 Hub                -     
   │  ├──•  1 󰅕 󰚥   0 mA     
   │  │  ├──◦ 5-2.2:1.0  0x00 Hub   0x00 0x01     
   │  │  │  └──→  1 In  Interrupt None  Data  1x 1  
   │  │  └──◦ 5-2.2:1.0  0x01 Hub   0x00 0x02     
   │  │     └──→  1 In  Interrupt None  Data  1x 1  
   │  ├──○ 󰍲   5 0x045e 0x07a5 Microsoft® Nano Transceiver v2.1  -     
   │  │  └──•  1 󰅕   100 mA     
   │  │     ├──◦ 5-2.2.2:1.0 󰌌 0x00 HID   0x01 0x01     
   │  │     │  └──→  1 In  Interrupt None  Data  1x 8  
   │  │     ├──◦ 5-2.2.2:1.1 󰌌 0x00 HID   0x01 0x02     
   │  │     │  └──→  2 In  Interrupt None  Data  1x 10 
   │  │     └──◦ 5-2.2.2:1.2 󰌌 0x00 HID   0x00 0x00     
   │  │        └──→  3 In  Interrupt None  Data  1x 32 
   │  └──○    6 0x2109 0x2817 USB2.0 Hub                        -     
   │     ├──•  1 󰅕 󰚥   0 mA     
   │     │  ├──◦ 5-2.2.4:1.0  0x00 Hub   0x00 0x01     
   │     │  │  └──→  1 In  Interrupt None  Data  1x 1  
   │     │  └──◦ 5-2.2.4:1.0  0x01 Hub   0x00 0x02     
   │     │     └──→  1 In  Interrupt None  Data  1x 1  
   │     ├──○ 󰍽   7 0x046d 0xc52b USB Receiver -     
   │     │  └──•  1 󰅕    98 mA RQR12.01_B0019
   │     │     ├──◦ 5-2.2.4.3:1.0 󰌌 0x00 HID   0x01 0x01     
   │     │     │  └──→  1 In  Interrupt None  Data  1x 8  
   │     │     ├──◦ 5-2.2.4.3:1.1 󰌌 0x00 HID   0x01 0x02     
   │     │     │  └──→  2 In  Interrupt None  Data  1x 8  
   │     │     └──◦ 5-2.2.4.3:1.2 󰌌 0x00 HID   0x00 0x00     
   │     │        └──→  3 In  Interrupt None  Data  1x 32 
   │     └──○    8 0x2109 0x2817 USB2.0 Hub   -     
   │        ├──•  1 󰅕 󰚥   0 mA     
   │        │  ├──◦ 5-2.2.4.4:1.0  0x00 Hub   0x00 0x01     
   │        │  │  └──→  1 In  Interrupt None  Data  1x 1  
   │        │  └──◦ 5-2.2.4.4:1.0  0x01 Hub   0x00 0x02     
   │        │     └──→  1 In  Interrupt None  Data  1x 1  
   │        └──○    9 0x248a 0x8327 Wireless Receiver -     
   │           └──•  1 󰅕    50 mA     
   │              ├──◦ 5-2.2.4.4.4:1.0 󰌌 0x00 HID   0x01 0x02     
   │              │  └──→  2 In  Interrupt None  Data  1x 8  
   │              └──◦ 5-2.2.4.4.4:1.1 󰌌 0x00 HID   0x01 0x01     
   │                 └──→  1 In  Interrupt None  Data  1x 8  
   └──○    4 0x0d8c 0x016c USB Advanced Audio Device -     
      └──•  1     100 mA     
         ├──◦ 5-2.4:1.0  0x00 Audio 0x01 0x00     
         ├──◦ 5-2.4:1.1  0x00 Audio 0x02 0x00     
         ├──◦ 5-2.4:1.1  0x01 Audio 0x02 0x00     
         │  └──←  1 Out Isochronous Synchronous Data  1x 200
         ├──◦ 5-2.4:1.2  0x00 Audio 0x02 0x00     
         ├──◦ 5-2.4:1.2  0x01 Audio 0x02 0x00     
         │  └──→  2 In  Isochronous Asynchronous Data  1x 200
         └──◦ 5-2.4:1.3 󰌌 0x00 HID   0x00 0x00     
            └──→  7 In  Interrupt None  Data  1x 16 

● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd
└──○    2 0x174c 0x3074 ASM107x -     
   └──•  1 󰅕 󰚥   2 mA     
      └──◦ 6-2:1.0  0x00 Hub   0x00 0x00     
         └──→  1 In  Interrupt None  Feedback 1x 2  

● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd

● xHCI Host Controller Linux 6.10.9-gentoo xhci-hcd

Finally:

cyme --version
cyme 1.8.2

@tuna-f1sh
Copy link
Owner

Thanks for the verbose outputs. What would be really helpful however is a cyme --verbose -tree --json > dump.json and uploading that here. I can then try and reproduce on my machine.

The dmesg outputs are an aside I think - since it captures all the verbose data fine it looks like something in the display code when using --more.

@undrwater
Copy link
Author

dump.json attached
dump.json

@tuna-f1sh
Copy link
Owner

tuna-f1sh commented Sep 20, 2024

Thanks. I run it on my Linux system and can't get the panic so must be something live. Sorry, but can you run RUST_BACKTRACE=1 cyme -m to capture full backtrace and hopefully see what cyme function is causing the is_char_boundary panic.

Actually, I thought it might be to do with auto-width and by adjusting to your terminal size (based on chars), I could reproduce. I'll do some digging and hopefully find something.

@tuna-f1sh
Copy link
Owner

I pushed what I think is a fix. If you can test that would be great. You can get a build from the runner if you don't have a rust toolchain installed: https://github.com/tuna-f1sh/cyme/actions/runs/10959429558

@undrwater
Copy link
Author

Yes, that works for x86_64 linux.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants