Skip to content

Intermittent CRASH in /websockets/unload-a-document/001.html?wss #40072

@tharkum

Description

@tharkum

https://github.com/servo/servo/actions/runs/18709540756/job/53354793317

Tests with unexpected results:

Stable unexpected results (1): 
  ▶ CRASH [expected OK] /websockets/unload-a-document/001.html?wss
  │ 
  │ called `Option::unwrap()` on a `None` value (thread Script(1,1), at components/script/dom/window.rs:560)
  │    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: __rustc::rust_begin_unwind
  │    6: core::panicking::panic_fmt
  │    7: core::panicking::panic
  │    8: core::option::unwrap_failed
  │    9: <script::dom::window::Window as script_bindings::codegen::GenericBindings::WindowBinding::Window_Binding::WindowMethods<script::dom::bindings::codegen::DomTypeHolder::DomTypeHolder>>::Frames
  │   10: script::dom::storage::Storage::webview_id
  │   11: <script::dom::storage::Storage as script_bindings::codegen::GenericBindings::StorageBinding::Storage_Binding::StorageMethods<script::dom::bindings::codegen::DomTypeHolder::DomTypeHolder>>::RemoveItem
  │   12: script_bindings::codegen::GenericBindings::StorageBinding::Storage_Binding::delete::{{closure}}
  │   13: mozjs::panic::wrap_panic
  │   14: script_bindings::codegen::GenericBindings::StorageBinding::Storage_Binding::delete
  │ 
  │   37: script::timers::OneshotTimerCallback::invoke
  │   38: script::timers::OneshotTimers::fire_timer
  │   39: <script::timers::TimerListener::handle::timer_event<F> as script::task::TaskOnce>::run_once
  │   40: <T as script::task::TaskBox>::run_box
  │   41: script::script_thread::ScriptThread::handle_msg_from_script
  │   42: script::script_thread::ScriptThread::handle_msgs::{{closure}}
  │   43: script::script_thread::ScriptThread::profile_event
  │   44: script::script_thread::ScriptThread::handle_msgs
  │   45: script::script_thread::ScriptThread::start

self.window_proxy.get().unwrap()

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