Closed magnetophon closed 4 years ago
with RUST_BACKTRACE=full
thread '<unnamed>' panicked at 'byte index 61 is not a char boundary; it is inside 'ʻ' (bytes 60..62) of `OFFICIAL Somewhere over the Rainbow - Israel 'IZ' Kamakawiwoʻole-V1bFr2SWP1I.mkv`', src/libcore/str/mod.rs:2154:5
stack backtrace:
j 0: 0x556fb7ccdddc - backtrace::backtrace::libunwind::trace::h591288bd927a03ee
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
1: 0x556fb7ccdddc - backtrace::backtrace::trace_unsynchronized::h9ab029e33406f52d
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
2: 0x556fb7ccdddc - std::sys_common::backtrace::_print_fmt::hb2daadb8b8fbf429
at src/libstd/sys_common/backtrace.rs:77
3: 0x556fb7ccdddc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0c653e1531b89531
at src/libstd/sys_common/backtrace.rs:59
4: 0x556fb7c179cc - core::fmt::write::hb31f400b50d155bc
at src/libcore/fmt/mod.rs:1052
5: 0x556fb7ccd666 - std::io::Write::write_fmt::h669133ec594d8b98
at src/libstd/io/mod.rs:1426
6: 0x556fb7ccd295 - std::sys_common::backtrace::_print::h63852c0b043a355f
at src/libstd/sys_common/backtrace.rs:62
7: 0x556fb7ccd295 - std::sys_common::backtrace::print::h644df75b68466824
at src/libstd/sys_common/backtrace.rs:49
8: 0x556fb7ccd295 - std::panicking::default_hook::{{closure}}::h01d735e76ba96353
at src/libstd/panicking.rs:204
9: 0x556fb7cccb4a - std::panicking::default_hook::hf4c2df09a3867af3
at src/libstd/panicking.rs:224
10: 0x556fb7ba7999 - hunter::die_gracefully::{{closure}}::hb28e23341da66e28
11: 0x556fb7ccc736 - std::panicking::rust_panic_with_hook::h28a983eb699ac39a
at src/libstd/panicking.rs:476
12: 0x556fb7ccc518 - rust_begin_unwind
at src/libstd/panicking.rs:380
13: 0x556fb7c15eb0 - core::panicking::panic_fmt::h3f7fc5990a866d0e
at src/libcore/panicking.rs:85
14: 0x556fb7c17282 - core::str::slice_error_fail::h2bee5463f472650b
at src/libcore/str/mod.rs:0
15: 0x556fb7c1cd31 - core::str::traits::<impl core::slice::SliceIndex<str> for core::ops::range::Range<usize>>::index::{{closure}}::h12666846cda204d3
at src/libcore/str/mod.rs:1854
16: 0x556fb7b30557 - hunter::term::sized_string::h545cfc0047ab96ff
17: 0x556fb7b1741d - hunter::listview::ListView<hunter::files::Files>::render_line_fn::{{closure}}::ha1e2f47493d5a078
18: 0x556fb7ac3a46 - <core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::next::h5626563b132ffc32
19: 0x556fb7b13cb3 - hunter::listview::FileListBuilder::build::h87c8ea0fb8815ff5
20: 0x556fb7b28092 - hunter::preview::Previewer::set_file::{{closure}}::h39d51073c2af35c0
21: 0x556fb7a87d5b - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5f0b1f4f78193d8f
22: 0x556fb7ac168d - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h287c0e686a4da9d2
23: 0x556fb7a6924b - std::sys_common::backtrace::__rust_begin_short_backtrace::h744c8cb362f77be0
24: 0x556fb7a925db - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc8f7c012fb76f2fe
25: 0x556fb7cdfc5f - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::hd936ee63aae5831b
at /rustc/41f41b2354778375dc72f7ed1d9323626580dc4d/src/liballoc/boxed.rs:1015
26: 0x556fb7ce2b5c - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h6a8d3a11104f2294
at /rustc/41f41b2354778375dc72f7ed1d9323626580dc4d/src/liballoc/boxed.rs:1015
27: 0x556fb7ce2b5c - std::sys_common::thread::start_thread::h4c54873c52eb6472
at src/libstd/sys_common/thread.rs:13
28: 0x556fb7ce2b5c - std::sys::unix::thread::Thread::new::thread_start::h57eea65e668b7ab7
at src/libstd/sys/unix/thread.rs:80
29: 0x7f8f14092ef7 - start_thread
30: 0x7f8f141a41ff - __GI___clone
31: 0x0 - <unknown>
Things are a bit crazy with all the optimization work going on right now. This should be working now with the latest commit.
Yup, fixed!
While testing some more scrolling, I got a crash, with this output: