-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Panic: cause = "index out of bounds: the len is 65535 but the index is 65535" #60
Comments
Oh! Looks like there is a max size of the terminal. If columns * rows >= 65535, we get a panic. |
ratatui/ratatui#1286 - related, but fixed apparently. |
thanks for reporting; i'll investigate to see if there's any workarounds to avoid hitting ratatui's limits on larger screens |
What's the priority that is one below "low"? :) |
i think this was actually fixed in ratatui: ratatui/ratatui#1378 so after the latest bump (#131) should be fixed for rainfrog as well |
Included in release v0.2.11 |
bug description
App does not start.
technical details
system info
See crash log
commit: 6e103cf
crash logs
If the app panicked, the error output will include a line saying "We have generated a report file at "/var/folders/xx/yyyyyyy_yyyyyyy/Z/report-abcd-efgh-ijklmnop.toml"; please get the report file and include its contents below:
steps to reproduce
Steps to reproduce the behavior. If possible, include the preceding query with sensitive information removed:
I resized the terminal, the app crashed and when I attempt to restart, I get the panic.
expected behavior
I expected the app to run normally.
cli output
Well, this is embarrassing.
rainfrog had a problem and crashed. To help us diagnose the problem you can send us a crash report.
We have generated a report file at "/var/folders/c0/tp6kkgx90hx85p_s07w6vwj80000gn/T/report-3f3b05a7-3a66-4f7f-9d68-320c4605b381.toml". Submit an issue or email with the subject of "rainfrog Crash Report" and include the report as an attachment.
We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports.
Thank you kindly!
The application panicked (crashed).
Message: index out of bounds: the len is 65535 but the index is 65535
Location: /Users/USERNAME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.28.1/src/buffer/buffer.rs:385
This is a bug. Consider reporting it at https://github.com/achristmascarl/rainfrog
The text was updated successfully, but these errors were encountered: