-
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
I'm using one of these releases of 1.6.0: ttyper-x86_64-unknown-linux-musl.tar.gz or ttyper-x86_64-unknown-linux-gnu.tar.gz. It works great for other tests not using stdin.
Sorry for the garbled trace; the crash also leaves terminal in a bad state.
% uname -a
Linux mdenuc 6.16.10-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct 2 19:23:55 UTC 2025 x86_64 GNU/Linux
% ttyper --version
ttyper 1.6.0
% echo 'aa bb cc' | RUST_BACKTRACE=full ttyper -
<type type type>
<press 'r' to run again>
```thread 'main' panicked at src/ui.rs:97:35:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
0: 0x55687cd30285 - <unknown>
1: 0x55687cd56acb - core::fmt::write::hc6043626647b98ea
2: 0x55687cd2d2df - <unknown>
3: 0x55687cd3005e - <unknown>
4: 0x55687cd313f9 - <unknown>
5: 0x55687cd3119a - std::panicking::default_hook::hb5d3b27aa9f6dcda
6: 0x55687cd31893 - std::panicking::rust_panic_with_hook::h6b49d59f86ee588c
7: 0x55687cd31774 - <unknown>
8: 0x55687cd30749 - <unknown>
9: 0x55687cd314a7 - rust_begin_unwind
10: 0x55687cc2af63 - core::panicking::panic_fmt::ha02418e5cd774672
11: 0x55687cc2b117 - core::panicking::panic_bounds_check::hc4af019f20d205d1
12: 0x55687cc57d0f - <unknown>
13: 0x55687cc67c8e - <unknown>
14: 0x55687cc3cc28 - <unknown>
15: 0x55687cc3d939 - <unknown>
16: 0x55687cc65ed3 - <unknown>
17: 0x55687cc5a56d - <unknown>
18: 0x55687cd27edd - std::rt::lang_start_internal::hcee5ed89fc25829a
19: 0x55687cc426a5 - <unknown>
20: 0x7f5b4c8d1575 - __libc_start_call_main
21: 0x7f5b4c8d1628 - __libc_start_main@GLIBC_2.2.5
22: 0x55687cc2b6f9 - <unknown>
23: 0x0 - <unknown>Metadata
Metadata
Assignees
Labels
No labels