Skip to content

Intermittent timeout in /2dcontext/fill-and-stroke-styles/2d.gradient.radial.negative.html #12540

Closed

Description

@jdm
  ▶ TIMEOUT [expected OK] /2dcontext/fill-and-stroke-styles/2d.gradient.radial.negative.html
  │ 
  │ Xlib:  extension "XFree86-VidModeExtension" missing on display ":0".
  │ thread 'LayoutWorker worker 3/12' panicked at 'called `Result::unwrap()` on an `Err` value: IoError(Error { repr: Os { code: 104, message: "Connection reset by peer" } })', ../src/libcore/result.rs:785
  │ stack backtrace:
  │    1:     0x7f731723ff6f - std::sys::backtrace::tracing::imp::write::h6528da8103c51ab9
  │    2:     0x7f7317247b9b - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hbe741a5cc3c49508
  │    3:     0x7f73172477ff - std::panicking::default_hook::he0146e6a74621cb4
  │    4:     0x7f7316dd72a7 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::he2b22674ad1748f3
  │    5:     0x7f731722dfec - std::panicking::rust_panic_with_hook::h983af77c1a2e581b
  │    6:     0x7f7317247de1 - std::panicking::begin_panic::he426e15a3766089a
  │    7:     0x7f731722f85a - std::panicking::begin_panic_fmt::hdddb415186c241e7
  │    8:     0x7f7317247d7e - rust_begin_unwind
  │    9:     0x7f731727e38f - core::panicking::panic_fmt::hf4e16cb7f0d41a25
  │   10:     0x7f731698aa23 - core::result::unwrap_failed::hf5f62e26f95b1e4b
  │   11:     0x7f73169ad4a4 - gfx::font_cache_thread::FontCacheThread::find_font_template::hbd1910f4cb6d2fd2
  │   12:     0x7f73169b2221 - gfx::font_context::FontContext::layout_font_group_for_style::h198e5fe904ff83f7
  │   13:     0x7f7316161dd8 - layout::text::TextRunScanner::scan_for_runs::hc712ad13b7216e28
  │   14:     0x7f73158bf3be - _<layout..construct..FlowConstructor<'a, ConcreteThreadSafeLayoutNode>>::build_flow_for_block_starting_with_fragments::h0b4bb6a8bb2546d4
  │   15:     0x7f73158bc243 - _<layout..construct..FlowConstructor<'a, ConcreteThreadSafeLayoutNode>>::build_flow_for_block_like::habf8008c238bbbf2
  │   16:     0x7f73158c9892 - _<layout..construct..FlowConstructor<'a, ConcreteThreadSafeLayoutNode>>::build_flow_for_block::h10e9512141a4b890
  │   17:     0x7f73158b75b1 - _<layout..construct..FlowConstructor<'a, ConcreteThreadSafeLayoutNode> as layout..traversal..PostorderNodeMutTraversal<ConcreteThreadSafeLayoutNode>>::process::h85813893247e91d5
  │   18:     0x7f73158af463 - _<layout..traversal..RecalcStyleAndConstructFlows<'lc> as style..traversal..DomTraversalContext<N>>::process_postorder::he7bc096f859d71d2
  │   19:     0x7f73158dae27 - style::parallel::top_down_dom::h1961cebe5ec427ee
  │   20:     0x7f731580d026 - std::panicking::try::call::haf6081afe55c62f5
  │   21:     0x7f7317251fdb - __rust_try
  │   22:     0x7f7317251f7e - __rust_maybe_catch_panic
  │   23:     0x7f731580e8b7 - _<F as alloc..boxed..FnBox<A>>::call_box::h9930df3afdaa56f4
  │   24:     0x7f7317245fa4 - std::sys::thread::Thread::new::thread_start::h9c883b6d445ece46
  │   25:     0x7f7313084183 - start_thread
  │   26:     0x7f7312b9b37c - clone
  └   27:                0x0 - <unknown>

Activity

  1. added
    I-intermittent
    on Jul 21, 2016
  2. jdm commented on Jul 22, 2016

    @jdm
    MemberAuthor

    Similar symptom to #12288.

  3. nox commented on Aug 8, 2016

    @nox
    Contributor

    Can any FontCacheThread structure be used after constellation shut down itself?

    I suspect the culprits for this ticket and #12288 are these two lines:

            self.chan.send(Command::GetFontTemplate(family, desc, response_chan)).unwrap();
            self.chan.send(Command::GetLastResortFontTemplate(desc, response_chan)).unwrap();

    We can just return None for the first one if the channel is dead, but the second one from last_resort_font_template really want to receive a value even if the thread is dead.

  4. added a commit that references this issue on Aug 8, 2016
  5. jdm commented on Sep 19, 2016

    @jdm
    MemberAuthor

    The majority of intermittent failures that I've observed are due to GetFontTemplate, rather than GetLastResortFontTemplate, based on the expect messages.

  6. jdm commented on Feb 21, 2018

    @jdm
    MemberAuthor

    This is #13492.

  7. atouchet commented on Feb 22, 2018

    @atouchet
    Contributor

    Was this supposed to have been closed?

  8. jdm commented on Feb 22, 2018

    @jdm
    MemberAuthor

    There's enough information in this issue that I'm going to keep it open.

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

    I-intermittent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions