Skip to content

Intermittent crash in /html/syntax/parsing/html5lib_scriptdata01.html?run_type=uri #19496

Closed as not planned

Description

@jdm
  ▶ CRASH [expected OK] /html/syntax/parsing/html5lib_scriptdata01.html?run_type=uri
  │ 
  │ VMware, Inc.
  │ softpipe
  │ 3.3 (Core Profile) Mesa 17.3.0-devel
  │ Loading blob blob:http://web-platform.test:8000/de8936f56e61444b9613bfc8f5c6a169
  │ Loading blob blob:http://web-platform.test:8000/d2c7c86b656b453f85cfa3d312170bfb
  │ Loading blob blob:http://web-platform.test:8000/bbfdc6ae5910425ca126fb5884fa6bf9
  │ Loading blob blob:http://web-platform.test:8000/90fcd869da914f239db70864e5a05c21
  │ Loading blob blob:http://web-platform.test:8000/25e4698567204266b11a02d6dac03799
  │ Loading blob blob:http://web-platform.test:8000/3a514e06fd98433896d1987f3f4e82ca
  │ Loading blob blob:http://web-platform.test:8000/f7798366be544e48a5e4c5bb93cb81ff
  │ Loading blob blob:http://web-platform.test:8000/bf3c8c702b404ee1ba5c5618352639a7
  │ Loading blob blob:http://web-platform.test:8000/5eca88a8d59f4d108c2b7939f8ef8c16
  │ Loading blob blob:http://web-platform.test:8000/79fe4799f0554293ad3ae0f3126da464
  │ Loading blob blob:http://web-platform.test:8000/e61f2ad6602b498096a18b0edf3d253e
  │ Loading blob blob:http://web-platform.test:8000/044d5f2d4445447eb26d0c414ca3dc70
  │ Loading blob blob:http://web-platform.test:8000/2c550c9bb0284ac8a4a5c4085d57ad9d
  │ Loading blob blob:http://web-platform.test:8000/26016f80c31740a9a84f220c2f2bde7d
  │ Loading blob blob:http://web-platform.test:8000/a05e2b8d2f114449b9f0999f3ab84e6e
  │ Loading blob blob:http://web-platform.test:8000/3d8edf063acb4d30b3625c04e4bdc4e2
  │ Loading blob blob:http://web-platform.test:8000/114bb1d4075740dfbb8be449b09154dd
  │ Loading blob blob:http://web-platform.test:8000/3949fa683dd644d8b104e54f824266b0
  │ Loading blob blob:http://web-platform.test:8000/9cf2869339054a9aaad9e02e0caef34f
  │ Loading blob blob:http://web-platform.test:8000/7c8760fac40242ff9763d3d4a5ce2407
  │ Loading blob blob:http://web-platform.test:8000/49dd52c4e8b04f2287fd9d67c22e2f05
  │ Loading blob blob:http://web-platform.test:8000/b36a7fb08a0d4ae3ac45edad096314c7
  │ Loading blob blob:http://web-platform.test:8000/5f2d66e9d92c4f7bb229a175b7a4bae0
  │ Loading blob blob:http://web-platform.test:8000/b5d2556677a54880b9233db84e7d7976
  │ called `Result::unwrap()` on an `Err` value: Io(Error { repr: Os { code: 104, message: "Connection reset by peer" } }) (thread ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(NonZero(NonZero(1))) }, at /checkout/src/libcore/result.rs:906)
  │ stack backtrace:
  │    0:     0x7f4dcaface8c - backtrace::backtrace::trace::ha2f9b48d840fa9e7
  │    1:     0x7f4dcafacec2 - backtrace::capture::Backtrace::new::hb1ab3a81fa7b7528
  │    2:     0x7f4dc9aa0620 - servo::main::{{closure}}::hcc58c4c09f564929
  │    3:     0x7f4dcc038c86 - std::panicking::rust_panic_with_hook
  │                         at /checkout/src/libstd/panicking.rs:578
  │    4:     0x7f4dcc038b1c - std::panicking::begin_panic<alloc::string::String>
  │                         at /checkout/src/libstd/panicking.rs:538
  │    5:     0x7f4dcc038a39 - std::panicking::begin_panic_fmt
  │                         at /checkout/src/libstd/panicking.rs:522
  │    6:     0x7f4dcc0389c2 - std::panicking::rust_begin_panic
  │                         at /checkout/src/libstd/panicking.rs:498
  │    7:     0x7f4dcc0490b0 - core::panicking::panic_fmt
  │                         at /checkout/src/libcore/panicking.rs:71
  │    8:     0x7f4dca1c73fd - core::result::unwrap_failed::h19a8ffd427642718
  │    9:     0x7f4dca3b56f2 - <script::dom::blob::Blob as core::ops::drop::Drop>::drop::h113ee6277a89c90f
  │   10:     0x7f4dca1b633b - core::ptr::drop_in_place::hee5603435ddb9d39
  │   11:     0x7f4dc9fae498 - std::panicking::try::do_call::h99330b02630278d6
  │   12:     0x7f4dcc04142e - panic_unwind::__rust_maybe_catch_panic
  │                         at /checkout/src/libpanic_unwind/lib.rs:99
  │   13:     0x7f4dca6a4201 - script::dom::bindings::codegen::Bindings::BlobBinding::BlobBinding::_finalize::hdf680182a35935a3
  │   14:     0x7f4dcb8bd3ea - _ZNK2js5Class10doFinalizeEPNS_6FreeOpEP8JSObject
  │                         at /home/servo/buildbot/slave/linux-rel-css/build/target/release/build/mozjs_sys-76bbf927e64c2c8c/out/dist/include/js/Class.h:815
  │                          - _ZN8JSObject8finalizeEPN2js6FreeOpE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsobjinlines.h:85
  │                          - _ZN2js2gc5Arena8finalizeI8JSObjectEEmPNS_6FreeOpENS0_9AllocKindEm
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:447
  │   15:     0x7f4dcb897da8 - FinalizeTypedArenas<JSObject>
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:505
  │   16:     0x7f4dcb898061 - FinalizeArenas
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:539
  │                          - _ZN2js2gc10ArenaLists16forceFinalizeNowEPNS_6FreeOpENS0_9AllocKindENS1_14KeepArenasEnumEPPNS0_5ArenaE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:2720
  │   17:     0x7f4dcb89879c - _ZN2js2gc10ArenaLists11finalizeNowEPNS_6FreeOpENS0_9AllocKindENS1_14KeepArenasEnumEPPNS0_5ArenaE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:2702
  │                          - _ZN2js2gc10ArenaLists30queueForegroundObjectsForSweepEPNS_6FreeOpE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:2839
  │   18:     0x7f4dcb8a657f - _ZN2js2gc9GCRuntime22beginSweepingZoneGroupERNS_26AutoLockForExclusiveAccessE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:5127
  │   19:     0x7f4dcb8ac63b - _ZN2js2gc9GCRuntime15beginSweepPhaseEbRNS_26AutoLockForExclusiveAccessE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:5215
  │   20:     0x7f4dcb8add95 - _ZN2js2gc9GCRuntime23incrementalCollectSliceERNS_11SliceBudgetEN2JS8gcreason6ReasonERNS_26AutoLockForExclusiveAccessE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:5937
  │   21:     0x7f4dcb8aec47 - _ZN2js2gc9GCRuntime7gcCycleEbRNS_11SliceBudgetEN2JS8gcreason6ReasonE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:6174
  │   22:     0x7f4dcb8af015 - _ZN2js2gc9GCRuntime7collectEbNS_11SliceBudgetEN2JS8gcreason6ReasonE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:6287
  │   23:     0x7f4dcb8af387 - _ZN2js2gc9GCRuntime2gcE18JSGCInvocationKindN2JS8gcreason6ReasonE
  │                         at /home/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/mozjs_sys-0.50.0/mozjs/js/src/jsgc.cpp:6354
  │   24:     0x7f4dca65f563 - script::script_thread::ScriptThread::handle_msg_from_constellation::hb678b91dc1f7d431
  │   25:     0x7f4dca65da75 - script::script_thread::ScriptThread::handle_msgs::{{closure}}::hbb65c0fc693cca20
  │   26:     0x7f4dca658534 - script::script_thread::ScriptThread::handle_msgs::h08b889549f96e1ba
  │   27:     0x7f4dca6532eb - script::script_thread::ScriptThread::start::hc804090948d56826
  │   28:     0x7f4dc9e53eae - std::sys_common::backtrace::__rust_begin_short_backtrace::haf669558e0f799db
  │   29:     0x7f4dc9efe377 - std::panicking::try::do_call::h4666b488ae3d9293
  │   30:     0x7f4dcc04142e - panic_unwind::__rust_maybe_catch_panic
  │                         at /checkout/src/libpanic_unwind/lib.rs:99
  │   31:     0x7f4dca1cce32 - <F as alloc::boxed::FnBox<A>>::call_box::h89ff9408ea979453
  │   32:     0x7f4dcc0378eb - alloc::boxed::{{impl}}::call_once<(),()>
  │                         at /checkout/src/liballoc/boxed.rs:772
  │                          - std::sys_common::thread::start_thread
  │                         at /checkout/src/libstd/sys_common/thread.rs:23
  │                          - std::sys::imp::thread::{{impl}}::new::thread_start
  │                         at /checkout/src/libstd/sys/unix/thread.rs:90
  │   33:     0x7f4dc797a183 - start_thread
  │   34:     0x7f4dc7287ffc - clone
  │   35:                0x0 - <unknown>
  │ ERROR:servo: called `Result::unwrap()` on an `Err` value: Io(Error { repr: Os { code: 104, message: "Connection reset by peer" } })
  └ Pipeline failed in hard-fail mode.  Crashing!

Activity

  1. added
    A-content/dom
    on Dec 5, 2017
  2. jdm commented on Dec 5, 2017

    @jdm
    MemberAuthor

    This is triggered by

    let (tx, rx) = ipc::channel().unwrap();
    let msg = FileManagerThreadMsg::DecRef(f.id.clone(), origin, tx);
    self.send_to_file_manager(msg);
    let _ = rx.recv().unwrap();
    and is probably the same underlying problem as #19486.

  3. lumiscosity commented on Aug 26, 2025

    @lumiscosity
    Member

    I ran the test 100 times locally and didn't encounter a single crash. The linked snippet of code also doesn't seem to be here anymore (or has been changed enough for me to be unable to find it). Is this still happening?

    Tested on Arch Linux x86_64, Servo built against commit 7aad728, dev build.

  4. jdm commented on Aug 27, 2025

    @jdm
    MemberAuthor

    No record that it's occurring in our CI!

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/domA-network

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions