Crash with "Window size must be non-zero" #97

Open
opened 2024-02-14 16:48:20 +00:00 by quentin · 0 comments
Owner
aerogramme-1  | 2024-02-14T15:40:16.321194Z  INFO aerogramme::imap::command::authenticated: mailbox.selected username=john mailbox=INBOX
aerogramme-1  | panicked at 'window size must be non-zero', src/imap/mail_view.rs:127:13
aerogramme-1  |    0: aerogramme::main::{{closure}}::{{closure}}
aerogramme-1  |    1: std::panicking::rust_panic_with_hook
aerogramme-1  |    2: std::panicking::begin_panic_handler::{{closure}}
aerogramme-1  |    3: std::sys_common::backtrace::__rust_end_short_backtrace
aerogramme-1  |    4: rust_begin_unwind
aerogramme-1  |    5: core::panicking::panic_fmt
aerogramme-1  |    6: core::option::expect_failed
aerogramme-1  |    7: aerogramme::imap::mail_view::MailView::is_header_contains_pattern
aerogramme-1  |    8: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter
aerogramme-1  |    9: aerogramme::imap::search::Criteria::filter_on_query
aerogramme-1  |   10: aerogramme::imap::command::selected::dispatch::{{closure}}
aerogramme-1  |   11: aerogramme::imap::session::Instance::command::{{closure}}
aerogramme-1  |   12: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll
aerogramme-1  |   13: tokio::runtime::task::core::Core<T,S>::poll
aerogramme-1  |   14: tokio::runtime::task::harness::Harness<T,S>::poll
aerogramme-1  |   15: tokio::runtime::scheduler::multi_thread::worker::Context::run_task
aerogramme-1  |   16: tokio::runtime::scheduler::multi_thread::worker::Context::run
aerogramme-1  |   17: tokio::runtime::context::scoped::Scoped<T>::set
aerogramme-1  |   18: tokio::runtime::context::runtime::enter_runtime
aerogramme-1  |   19: tokio::runtime::scheduler::multi_thread::worker::run
aerogramme-1  |   20: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll
aerogramme-1  |   21: tokio::runtime::task::core::Core<T,S>::poll
aerogramme-1  |   22: tokio::runtime::task::harness::Harness<T,S>::poll
aerogramme-1  |   23: tokio::runtime::blocking::pool::Inner::run
aerogramme-1  |   24: std::sys_common::backtrace::__rust_begin_short_backtrace
aerogramme-1  |   25: core::ops::function::FnOnce::call_once{{vtable.shim}}
aerogramme-1  |   26: std::sys::unix::thread::Thread::new::thread_start
aerogramme-1  |

I don't know yet how to reproduce it nor which software triggered it.

``` aerogramme-1 | 2024-02-14T15:40:16.321194Z INFO aerogramme::imap::command::authenticated: mailbox.selected username=john mailbox=INBOX aerogramme-1 | panicked at 'window size must be non-zero', src/imap/mail_view.rs:127:13 aerogramme-1 | 0: aerogramme::main::{{closure}}::{{closure}} aerogramme-1 | 1: std::panicking::rust_panic_with_hook aerogramme-1 | 2: std::panicking::begin_panic_handler::{{closure}} aerogramme-1 | 3: std::sys_common::backtrace::__rust_end_short_backtrace aerogramme-1 | 4: rust_begin_unwind aerogramme-1 | 5: core::panicking::panic_fmt aerogramme-1 | 6: core::option::expect_failed aerogramme-1 | 7: aerogramme::imap::mail_view::MailView::is_header_contains_pattern aerogramme-1 | 8: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter aerogramme-1 | 9: aerogramme::imap::search::Criteria::filter_on_query aerogramme-1 | 10: aerogramme::imap::command::selected::dispatch::{{closure}} aerogramme-1 | 11: aerogramme::imap::session::Instance::command::{{closure}} aerogramme-1 | 12: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll aerogramme-1 | 13: tokio::runtime::task::core::Core<T,S>::poll aerogramme-1 | 14: tokio::runtime::task::harness::Harness<T,S>::poll aerogramme-1 | 15: tokio::runtime::scheduler::multi_thread::worker::Context::run_task aerogramme-1 | 16: tokio::runtime::scheduler::multi_thread::worker::Context::run aerogramme-1 | 17: tokio::runtime::context::scoped::Scoped<T>::set aerogramme-1 | 18: tokio::runtime::context::runtime::enter_runtime aerogramme-1 | 19: tokio::runtime::scheduler::multi_thread::worker::run aerogramme-1 | 20: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll aerogramme-1 | 21: tokio::runtime::task::core::Core<T,S>::poll aerogramme-1 | 22: tokio::runtime::task::harness::Harness<T,S>::poll aerogramme-1 | 23: tokio::runtime::blocking::pool::Inner::run aerogramme-1 | 24: std::sys_common::backtrace::__rust_begin_short_backtrace aerogramme-1 | 25: core::ops::function::FnOnce::call_once{{vtable.shim}} aerogramme-1 | 26: std::sys::unix::thread::Thread::new::thread_start aerogramme-1 | ``` I don't know yet how to reproduce it nor which software triggered it.
quentin added this to the 0.5.0 Stabilizing Pt.1 milestone 2024-02-14 16:48:20 +00:00
quentin added the
cat
bug
label 2024-02-14 16:48:20 +00:00
quentin added this to the IMAP4REV1 project 2024-02-14 16:48:20 +00:00
quentin changed title from Window size must be non-zero to Crash with "Window size must be non-zero" 2024-02-15 07:55:26 +00:00
quentin added the
prio
mid
label 2024-02-20 08:35:44 +00:00
Sign in to join this conversation.
No description provided.