Skip to content

Intermittent panic in GlobalScope::promote #20308

Closed

Description

@jdm

This is the same underlying problem from ipc-channel as observed in #13480.

  ▶ CRASH [expected OK] /FileAPI/url/url-format.any.worker.html
  │ 
  │ VMware, Inc.
  │ softpipe
  │ 3.3 (Core Profile) Mesa 17.3.0-devel
  │ called `Result::unwrap()` on an `Err` value: Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }) (thread WebWorker for http://web-platform.test:8000/FileAPI/url/url-format.any.worker.js, at libcore/result.rs:916)
  │ stack backtrace:
  │    0:     0x7ff0617aa8ac - backtrace::backtrace::trace::h3eb67f12974765fd
  │    1:     0x7ff0617a9a52 - backtrace::capture::Backtrace::new::h7afe13e46355b999
  │    2:     0x7ff05edbb3db - servo::main::{{closure}}::h8dda1d074971b70b
  │    3:     0x7ff0617b8635 - std::panicking::rust_panic_with_hook::haa00f5a9417cd684
  │                         at libstd/panicking.rs:577
  │    4:     0x7ff0617b84be - std::panicking::begin_panic::ha956683198499384
  │                         at libstd/panicking.rs:537
  │    5:     0x7ff0617b83ba - std::panicking::begin_panic_fmt::h587e116719f14631
  │                         at libstd/panicking.rs:521
  │    6:     0x7ff0617b8352 - rust_begin_unwind
  │                         at libstd/panicking.rs:497
  │    7:     0x7ff0617ed250 - core::panicking::panic_fmt::h1d64949939b0af2f
  │                         at libcore/panicking.rs:71
  │    8:     0x7ff05f895f3d - core::result::unwrap_failed::hb0e98feb7e3abe19
  │    9:     0x7ff05f8c3530 - script::dom::blob::Blob::promote::h23017e42e2d0e25b
  │   10:     0x7ff05f8c2571 - script::dom::blob::Blob::get_blob_url_id::h279db2455e6846a8
  │   11:     0x7ff05f72adc3 - script::dom::url::URL::CreateObjectURL::h06f06f4d96627e1a
  │   12:     0x7ff05fea7ba9 - <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9ba1ef9ff6f65eb1
  │   13:     0x7ff05fc6bccf - _ZN3std9panicking3try7do_call17h878c22f904566330E.llvm.EC9ABD4E
  │   14:     0x7ff0617e193e - __rust_maybe_catch_panic
  │                         at libpanic_unwind/lib.rs:102
  │   15:     0x7ff05f766dec - script::dom::bindings::codegen::Bindings::URLBinding::URLBinding::createObjectURL::ha0492f64c891ce38
  │   16:     0x7ff056608198 - <unknown>
  │ ERROR:servo: called `Result::unwrap()` on an `Err` value: Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })
  └ Pipeline failed in hard-fail mode.  Crashing!

Activity

  1. added
    A-content/dom
    I-panic
    on Mar 15, 2018
  2. added
    I-intermittent
    on Feb 6, 2020
  3. changed the title [-]Intermittent panic in blob::Blob::promote[/-] [+]Intermittent panic in GlobalScope::promote[/+] on Apr 15, 2020
  4. jdm commented on Apr 15, 2020

    @jdm
    MemberAuthor
      ▶ CRASH [expected OK] /FileAPI/url/url-format.any.worker.html
      │ 
      │ 
      │ 
      │ 
      │ called `Result::unwrap()` on an `Err` value: Disconnected (thread WebWorker for http://web-platform.test:8000/FileAPI/url/url-format.any.worker.js, at components/script/dom/globalscope.rs:1594)
      │ stack backtrace:
      │    0: servo::backtrace::print
      │    1: servo::main::{{closure}}
      │    2: std::panicking::rust_panic_with_hook
      │              at src/libstd/panicking.rs:515
      │    3: rust_begin_unwind
      │              at src/libstd/panicking.rs:419
      │    4: core::panicking::panic_fmt
      │              at src/libcore/panicking.rs:111
      │    5: core::option::expect_none_failed
      │              at src/libcore/option.rs:1268
      │    6: script::dom::globalscope::GlobalScope::promote
      │    7: script::dom::globalscope::GlobalScope::get_blob_url_id
      │    8: script::dom::url::URL::CreateObjectURL
      │    9: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
      │   10: script::dom::bindings::codegen::Bindings::URLBinding::URLBinding::createObjectURL
      │   11: <unknown>
      │ [2020-04-15T15:29:44Z ERROR servo] called `Result::unwrap()` on an `Err` value: Disconnected
      └ Pipeline failed in hard-fail mode.  Crashing!
    
  5. TimvdLippe commented on Jan 8, 2026

    @TimvdLippe
    Contributor

    Closing as stale as this issue has not received any failure references for over a month

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/domI-intermittentI-panic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions