Skip to content

called Option::unwrap() on a None value in thread WRRenderBackend#0 #35456

@simonwuelker

Description

@simonwuelker

To reproduce:

Full Backtrace
called `Option::unwrap()` on a `None` value (thread WRRenderBackend#0, at /home/alaska/.cargo/git/checkouts/webrender-c3596abe1cf4f320/8846253/webrender/src/prim_store/image.rs:183)
   0: servoshell::backtrace::print
   1: servoshell::panic_hook::panic_hook
   2: std::panicking::rust_panic_with_hook
   3: std::panicking::begin_panic_handler::{{closure}}
   4: std::sys::backtrace::__rust_end_short_backtrace
   5: rust_begin_unwind
   6: core::panicking::panic_fmt
   7: core::panicking::panic
   8: core::option::unwrap_failed
   9: webrender::prim_store::image::ImageData::update
  10: webrender::prepare::prepare_prim_for_render
  11: webrender::prepare::prepare_picture
  12: webrender::frame_builder::FrameBuilder::build
  13: webrender::render_backend::Document::build_frame
  14: webrender::render_backend::RenderBackend::update_document
  15: webrender::render_backend::RenderBackend::process_transaction
  16: webrender::render_backend::RenderBackend::run
  17: std::sys::backtrace::__rust_begin_short_backtrace
  18: core::ops::function::FnOnce::call_once{{vtable.shim}}
  19: std::sys::pal::unix::thread::Thread::new::thread_start
  20: start_thread
  21: __clone3
[2025-02-13T19:28:48Z ERROR servoshell::panic_hook] called `Option::unwrap()` on a `None` value
called `Result::unwrap()` on an `Err` value: "SendError(..)" (thread WRSceneBuilder#0, at /home/alaska/.cargo/git/checkouts/webrender-c3596abe1cf4f320/8846253/webrender/src/scene_builder_thread.rs:305)
   0: servoshell::backtrace::print
   1: servoshell::panic_hook::panic_hook
   2: std::panicking::rust_panic_with_hook
   3: std::panicking::begin_panic_handler::{{closure}}
   4: std::sys::backtrace::__rust_end_short_backtrace
   5: rust_begin_unwind
   6: core::panicking::panic_fmt
   7: core::result::unwrap_failed
   8: webrender::scene_builder_thread::SceneBuilderThread::run
   9: std::sys::backtrace::__rust_begin_short_backtrace
  10: core::ops::function::FnOnce::call_once{{vtable.shim}}
  11: std::sys::pal::unix::thread::Thread::new::thread_start
  12: start_thread
  13: __clone3
[2025-02-13T19:28:48Z ERROR servoshell::panic_hook] called `Result::unwrap()` on an `Err` value: "SendError(..)"
send by scene sender failed: "SendError(..)" (thread main, at /home/alaska/.cargo/git/checkouts/webrender-c3596abe1cf4f320/8846253/webrender/src/render_api.rs:1310)
   0: servoshell::backtrace::print
   1: servoshell::panic_hook::panic_hook
   2: std::panicking::rust_panic_with_hook
   3: std::panicking::begin_panic_handler::{{closure}}
   4: std::sys::backtrace::__rust_end_short_backtrace
   5: rust_begin_unwind
   6: core::panicking::panic_fmt
   7: core::result::unwrap_failed
   8: webrender::render_api::RenderApi::send_transaction
   9: compositing::compositor::IOCompositor::handle_browser_message
  10: compositing::compositor::IOCompositor::receive_messages
  11: servo::Servo::spin_event_loop
  12: servoshell::desktop::app_state::RunningAppState::pump_event_loop
  13: servoshell::desktop::app::App::handle_events_with_winit
  14: <servoshell::desktop::app::App as winit::application::ApplicationHandler<servoshell::desktop::events_loop::WakerEvent>>::user_event
  15: winit::platform_impl::linux::wayland::event_loop::EventLoop<T>::pump_events
  16: winit::platform_impl::linux::wayland::event_loop::EventLoop<T>::run_on_demand
  17: servoshell::desktop::events_loop::EventsLoop::run_app
  18: servoshell::desktop::cli::main
  19: std::sys::backtrace::__rust_begin_short_backtrace
  20: std::rt::lang_start::{{closure}}
  21: std::rt::lang_start_internal
  22: main
  23: __libc_start_call_main
  24: __libc_start_main@GLIBC_2.2.5
  25: _start
[2025-02-13T19:28:48Z ERROR servoshell::panic_hook] send by scene sender failed: "SendError(..)"
mozilla::detail::MutexImpl::~MutexImpl: pthread_mutex_destroy failed: Device or resource busy
Caught signal 11 in thread "main"
   0: servoshell::backtrace::print
   1: servoshell::crash_handler::install::handler
   2: <unknown>
   3: _ZN7mozilla6detail9MutexImplD1Ev
   4: __run_exit_handlers
   5: __GI_exit
   6: __libc_start_call_main
   7: __libc_start_main@GLIBC_2.2.5
   8: _start

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions