Lonami / grammers

(tele)gramme.rs - use Telegram's API from Rust
https://t.me/gramme_rs
Apache License 2.0
554 stars 113 forks source link

out of range #228

Closed tingfeng-key closed 4 months ago

tingfeng-key commented 6 months ago
thread 'tokio-runtime-worker' panicked at C:\Users\x\Desktop\grammers\lib\grammers-mtsender\src\lib.rs:335:67:
range start index 1416 out of range for slice of length 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'tokio-runtime-worker' panicked at C:\Users\x\Desktop\grammers\lib\grammers-mtsender\src\lib.rs:335:67:
range start index 1416 out of range for slice of length 0
thread 'tokio-runtime-worker' panicked at C:\Users\x\Desktop\grammers\lib\grammers-mtsender\src\lib.rs:335:67:
range start index 1416 out of range for slice of length 0
thread 'tokio-runtime-worker' panicked at C:\Users\x\Desktop\grammers\lib\grammers-mtsender\src\lib.rs:335:67:
range start index 1416 out of range for slice of length 0
thread 'tokio-runtime-worker' panicked at C:\Users\x\Desktop\grammers\lib\grammers-mtsender\src\lib.rs:335:67:
range start index 1416 out of range for slice of length 0

image

Lonami commented 6 months ago

What steps are needed to reproduce the issue?

tingfeng-key commented 6 months ago

I don't know how to reproduce it. It just appears very suddenly. My program runs locally for a long time. I have encountered it several times recently, sometimes by accident.

Lonami commented 4 months ago

Turns out there was a pretty serious bug with how resetting occurred, which should be fixed by 9c8d738f3622bcf9935ea13dfbd80418ed7addca, so assuming this was fixed, I'll close the issue.