Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

App crashes on startup #11

Open
Open
@erhhung

Description

Since there's no x86_64 binary from the Homebrew formula, I installed material via Cargo: cargo install material --locked --features=cli

Running material clears the screen but then crashes immediately. Same with material --help.

$ RUST_BACKTRACE=full material
thread 'main' (21094948) panicked at /Users/erhhung/.cache/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-0.25.0/src/buffer.rs:229:26:
index out of bounds: the len is 14062 but the index is 14065
stack backtrace:
0: 0x10d776c13 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8729d7eece35b19d
1: 0x10d7b4f6f - core::fmt::write::hecbb0534c11c7dc8
2: 0x10d78be7e - std::io::default_write_fmt::hd4baca27f63b0048
3: 0x10d7a3708 - std::io::Write::write_fmt::hb8c74890c543039e
4: 0x10d775943 - std::sys::backtrace::BacktraceLock::print::h25a46b4964af0a7e
5: 0x10d79729b - std::panicking::default_hook::{{closure}}::h2d8d63dc9824fe07
6: 0x10d797146 - std::panicking::default_hook::hc7fd41cc79e5949a
7: 0x10d79752e - std::panicking::panic_with_hook::h205cff2493c14b89
8: 0x10d775d18 - std::panicking::panic_handler::{{closure}}::h38da8cc69062e735
8: 0x10d775d18 - std::panicking::panic_handler::{{closure}}::h38da8cc69062e735
9: 0x10d775a69 - std::sys::backtrace::__rust_end_short_backtrace::h87a616af49f4f35c
10: 0x10d795bcc - __rustc[834c5bfdc4cd1ec3]::rust_begin_unwind
11: 0x10d7bc77f - core::panicking::panic_fmt::hddbfbd1374e644a3
12: 0x10d7bc526 - core::panicking::panic_bounds_check::h1259695b0fd33b51
13: 0x10d754e03 - ratatui::buffer::Buffer::set_style::hb1d5468e8ef45ffb
14: 0x10d7550c3 - <ratatui::widgets::block::Block as ratatui::widgets::Widget>::render::hd7a3bee44a188224
15: 0x10d7506d8 - material::ui::ui::h9d9dd17081d3fc45
16: 0x10d74e52e - ratatui::terminal::Terminal<B>::draw::hc4153ca65542e676
17: 0x10d750ea2 - material::main::h555dfcb6797cc424
18: 0x10d74fa06 - std::sys::backtrace::__rust_begin_short_backtrace::h9fb7c5c4e182642e
19: 0x10d74f925 - std::rt::lang_start::{{closure}}::haa73dea6682103c9
20: 0x10d7a37d5 - std::rt::lang_start_internal::hbd583ced7cf4fc27
21: 0x10d75126c - _main
22: 0x7ff813ef1530 - <unknown>

I'm running from Ghostty (same behavior in iTerm2) on Intel Mac running macOS 15.7.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /