8000 panic: Failed to get browsing context info from constellation.: Disconnected at components/script/script_thread.rs:2917 · Issue #36747 · servo/servo · GitHub
[go: up one dir, main page]

Skip to content

panic: Failed to get browsing context info from constellation.: Disconnected at components/script/script_thread.rs:2917 #36747

@fred-wang

Description

@fred-wang

It seems there are several similar reports, but not sure whether they are duplicates.

Minimal testcase:

<!DOCTYPE html>
<style>
#form { border-image-source: url(database64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7); border-style: solid; }
</style>
<script>
  window.addEventListener("load", _ => {
    form.submit();
    window.frames.stop();
    iframe.src = "data:text/html,";
  });
</script>
<form id="form">
<iframe id="iframe"></iframe>

System: Linux
Version: Servo 0.0.1-107fd2546

Failed to get browsing context info from constellation.: Disconnected (thread Script(70,3), at components/script/script_thread.rs:2917)
   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: script::script_thread::ScriptThread::remote_window_proxy
   9: script::script_thread::ScriptThread::local_window_proxy
  10: script::script_thread::ScriptThread::load
  11: <script::dom::servoparser::ParserContext as net_traits::FetchResponseListener>::process_response
  12: script::script_thread::ScriptThread::handle_msg_from_script
  13: script::script_thread::ScriptThread::handle_msgs::{{closure}}
  14: script::script_thread::ScriptThread::handle_msgs
  15: std::sys::backtrace::__rust_begin_short_backtrace
  16: core::ops::function::FnOnce::call_once{{vtable.shim}}
  17: std::sys::pal::unix::thread::Thread::new::thread_start
  18: start_thread
             at ./nptl/pthread_create.c:447:8
  19: clone3
             at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0