Skip to content
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

Crash in debug mode due to wrong size creation #63

Open
kchibisov opened this issue Jan 25, 2023 · 1 comment
Open

Crash in debug mode due to wrong size creation #63

kchibisov opened this issue Jan 25, 2023 · 1 comment
Labels
P - low Insignificant urgency or user impact T - bug Something isn't working

Comments

@kchibisov
Copy link
Contributor

kchibisov commented Jan 25, 2023

thread 'main' panicked at 'Attempting to create a `Size` of negative size: (360, -15)', /build/catacomb-0.1.0-vendor.tar.gz/smithay/src/utils/geometry.rs:900:9
stack backtrace:
   0:     0xaaaae894c90c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h81a3672966dc75d6
   1:     0xaaaae897abc8 - core::fmt::write::h8b49792f5db19c56
   2:     0xaaaae895c408 - std::io::Write::write_fmt::h4fb907e7efe82a5b
   3:     0xaaaae894c70c - std::sys_common::backtrace::print::h18254e42fd28ac81
   4:     0xaaaae89677f0 - std::panicking::default_hook::{{closure}}::h01009be07f360913
   5:     0xaaaae896746c - std::panicking::default_hook::h17000b2a93f580e7
   6:     0xaaaae8967dbc - std::panicking::rust_panic_with_hook::hbc2fd7076b4daacd
   7:     0xaaaae894d0c0 - std::panicking::begin_panic_handler::{{closure}}::h22a7ca2a27a3bdbb
   8:     0xaaaae894ca40 - std::sys_common::backtrace::__rust_end_short_backtrace::h108d205893099c39
   9:     0xaaaae896799c - rust_begin_unwind
  10:     0xaaaae84192b8 - core::panicking::panic_fmt::hd38da5f32128a53c
  11:     0xaaaae8702410 - <smithay::utils::geometry::Size<N,Kind> as core::convert::From<(N,N)>>::from::hebfaa914f3f498c5
  12:     0xaaaae865cb30 - <T as core::convert::Into<U>>::into::h2ab9f692383fa741
  13:     0xaaaae8702c40 - smithay::utils::geometry::Rectangle<N,Kind>::from_loc_and_size::hb6a3ab7c72068fe2
  14:     0xaaaae84e8108 - smithay::wayland::compositor::handlers::<impl wayland_server::dispatch::Dispatch<wayland_server::protocol::wl_region::WlRegion,smithay::wayland::compositor::handlers::RegionUserData,D> for smithay::wayland::compositor::CompositorState>::request::h96e024be2ddf6498
  15:     0xaaaae8576c10 - <catacomb::catacomb::Catacomb as wayland_server::dispatch::Dispatch<wayland_server::protocol::wl_region::WlRegion,smithay::wayland::compositor::handlers::RegionUserData>>::request::h87abcffe102c91db
  16:     0xaaaae84380dc - <wayland_server::dispatch::ResourceData<I,U> as wayland_backend::sys::server::ObjectData<D>>::request::h2f6bea244d78b0a6
  17:     0xaaaae8572704 - wayland_backend::sys::server_impl::resource_dispatcher::{{closure}}::hf73013143f7f9e52
  18:     0xaaaae8451fd0 - scoped_tls::ScopedKey<T>::with::h02fcfa59240a2012
  19:     0xaaaae85720d8 - wayland_backend::sys::server_impl::resource_dispatcher::ha4e53d18eb4c5d42
  20:     0xffff8985d6b8 - wl_closure_dispatch
  21:     0xffff898596d4 - wl_client_connection_data
  22:     0xffff8985b678 - wl_event_loop_dispatch
  23:     0xaaaae8572b38 - wayland_backend::sys::server_impl::InnerBackend<D>::dispatch_all_clients::{{closure}}::ha9c5b186ee4c8eae
  24:     0xaaaae84519f8 - scoped_tls::ScopedKey<T>::set::h9c167e6df7ea9302
  25:     0xaaaae857280c - wayland_backend::sys::server_impl::InnerBackend<D>::dispatch_all_clients::h796f19e55405946a
  26:     0xaaaae8543e78 - wayland_backend::sys::server::Backend<D>::dispatch_all_clients::h0372303cecdfc45d
  27:     0xaaaae8546f70 - wayland_server::display::Display<State>::dispatch_clients::h0b9c3970f3975e6f
  28:     0xaaaae8574874 - catacomb::catacomb::Catacomb::handle_socket_readiness::h62d37b6be6837614
  29:     0xaaaae84bcd24 - catacomb::catacomb::Catacomb::new::{{closure}}::h67ebf50b7bf92f12
  30:     0xaaaae85baa24 - <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events::{{closure}}::h7ec8d0811ff9358d
  31:     0xaaaae847039c - <calloop::sources::generic::Generic<F,E> as calloop::sources::EventSource>::process_events::h1c1bf4bc1e7025ff
  32:     0xaaaae85c4794 - <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::process_events::hb6fb506e19c8c2db
  33:     0xaaaae851a1f8 - calloop::loop_logic::EventLoop<Data>::dispatch_events::h79c7fc12204a698a
  34:     0xaaaae851affc - calloop::loop_logic::EventLoop<Data>::dispatch::h0d70f7076c953a2c
  35:     0xaaaae8551ea4 - catacomb::udev::run::h5cb402e5f9c4a77e
  36:     0xaaaae852017c - catacomb::main::h073f22424c2ada11
  37:     0xaaaae84f288c - core::ops::function::FnOnce::call_once::h694cc33f9287affa
  38:     0xaaaae84201f4 - std::sys_common::backtrace::__rust_begin_short_backtrace::h89ae7339aa02411b
  39:     0xaaaae84b0ec0 - std::rt::lang_start::{{closure}}::hc976a8a33806fae4
  40:     0xaaaae895b39c - std::rt::lang_start_internal::h5cc96c36c6f6938f
  41:     0xaaaae84b0e8c - std::rt::lang_start::hb51526bda47e7990
  42:     0xaaaae8520b08 - main
  43:     0xffff895e73f4 - __libc_start_call_main
  44:     0xffff895e74d0 - __libc_start_main_impl
  45:     0xaaaae8419570 - _start
@chrisduerr chrisduerr added the T - bug Something isn't working label Jan 25, 2023
@chrisduerr
Copy link
Collaborator

See Smithay/smithay#873.

@chrisduerr chrisduerr added the P - low Insignificant urgency or user impact label Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P - low Insignificant urgency or user impact T - bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants