Skip to content

thread 'tokio-runtime-worker' panicked at 'range end index 64 out of range for slice of length 63', src/nfc_module/generic_nfc_handler.rs:211:27 #3

@bennofs

Description

@bennofs

This happens sometimes, I have not investigated why:

thread 'tokio-runtime-worker' panicked at 'range end index 64 out of range for slice of length 63', src/nfc_module/generic_nfc_handler.rs:211:27

Here's the crash log:

May 26 15:23:44 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:23:44Z INFO  ascii_pay_nfc_terminal::nfc_module::generic_nfc_handler] Insert 'MiFare DESFire EV2' card
May 26 15:23:45 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:23:45Z INFO  ascii_pay_nfc_terminal::nfc_module::generic_nfc_handler] Insert 'MiFare DESFire EV2' card
May 26 15:23:56 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:23:56Z INFO  ascii_pay_nfc_terminal::nfc_module] Remove nfc card
May 26 15:23:56 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:23:56Z INFO  ascii_pay_nfc_terminal::nfc_module] Remove nfc card
May 26 15:29:44 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:29:44Z INFO  ascii_pay_nfc_terminal::nfc_module] Remove nfc card
May 26 15:29:44 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:29:44Z INFO  ascii_pay_nfc_terminal::nfc_module::generic_nfc_handler] Insert 'MiFare DESFire EV2' card
May 26 15:29:44 latte ascii-pay-nfc-terminal-start[654]: transmit [FF, CA, 0, 0, 0]
May 26 15:29:44 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:29:44Z INFO  ascii_pay_nfc_terminal::nfc_module::generic_nfc_handler] Insert 'MiFare DESFire EV2' card
May 26 15:29:44 latte ascii-pay-nfc-terminal-start[654]: [2023-05-26T13:29:44Z INFO  ascii_pay_nfc_terminal::nfc_module::generic_nfc_handler] Insert 'MiFare DESFire EV2' card
May 26 15:29:44 latte ascii-pay-nfc-terminal-start[654]: thread 'tokio-runtime-worker' panicked at 'range end index 64 out of range for slice of length 63', src/nfc_module/generic_nfc_handler.rs:211:27
May 26 15:29:44 latte ascii-pay-nfc-terminal-start[654]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions