ascii-pay-nfc-terminal's People
Forkers
5l1v3r1ascii-pay-nfc-terminal's Issues
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
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
Terminate process if component thread crashes
Right now, parts of the application may crash without terminating the application:
Sep 09 23:51:37 latte ascii-pay-nfc-terminal-start[2876237]: thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: NoService>
Sep 09 23:51:37 latte ascii-pay-nfc-terminal-start[2876237]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
After this, the application is still running but no NFC cards are scanned anymore.
Terminating fully in this case will allow the service manager (systemd) to restart the application.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.