Skip to content

panic: internal error: entered unreachable code (thread WRRenderBackend#0, at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.68.0/src/picture.rs:2254) #42476

Closed

Description

@fred-wang

Minimal testcase:

<!DOCTYPE html PUBLIC><!-- quirks mode -->
<style>
  :root{
      max-width: 2;
      transform: translate(8%);
      transform-style: preserve-3d;
      clip-path: circle(90%);
      border-right-style: double;
  }
</style>

System: Linux
Version: Version: Servo 0.0.5-7488c127d
Command: ./servo/servo

internal error: entered unreachable code (thread WRRenderBackend#0, at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/webrender-0.68.0/src/picture.rs:2254)
   0: servoshell::backtrace::print
   1: servoshell::panic_hook::panic_hook
   2: std::panicking::panic_with_hook
   3: std::panicking::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: webrender::frame_builder::FrameBuilder::build
   9: webrender::render_backend::Document::build_frame
  10: webrender::render_backend::RenderBackend::update_document
  11: webrender::render_backend::RenderBackend::process_transaction
  12: webrender::render_backend::RenderBackend::run
  13: std::sys::backtrace::__rust_begin_short_backtrace
  14: core::ops::function::FnOnce::call_once{{vtable.shim}}
  15: std::sys::thread::unix::Thread::new::thread_start
  16: start_thread
             at ./nptl/pthread_create.c:447:8
  17: clone3
             at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0

Activity

  1. added
    C-untriaged
    on Feb 9, 2026
  2. fred-wang commented on Feb 9, 2026

    @fred-wang
    ContributorAuthor

    This is probably the same as #39145 ; it just seems webrender has a version 0.68.0 specified now.

  3. added
    C-has-manual-testcase
    I-panic
    and removed
    C-untriaged
    C-has-manual-testcase
    I-panic
    on Feb 9, 2026
  4. fred-wang commented on Feb 26, 2026

    @fred-wang
    ContributorAuthor

    This issue is still reproducible at Servo 0.0.5-86ffac5e1.

    This is probably the same as #39145 ; it just seems webrender has a version 0.68.0 specified now.

    The test case from that one does not seem to trigger the panic anymore.

  5. fred-wang commented on Apr 14, 2026

    @fred-wang
    ContributorAuthor

    Another testcase:

    <!DOCTYPE html>
    <style>
    html {
      transform-style: preserve-3d;
      -webkit-clip-path: circle(50%);
      translate: 1px;
    }
    </style>
    A
  6. added a commit that references this issue on Apr 14, 2026
  7. added
    C-has-manual-testcase
    I-panic
    on Apr 14, 2026
  8. mrobinson commented on Jun 12, 2026

    @mrobinson
    Member

    @fred-wang Are you still seeing this one?

  9. fred-wang commented on Jun 12, 2026

    @fred-wang
    ContributorAuthor

    @mrobinson Yes with the original testcase, not with #42476 (comment) ; also sometimes I'm getting the error below. Using -f seems to help get the internal error.

    servoshell::panic_hook] called `Result::unwrap()` on an `Err` value: RecvError
    mozilla::detail::MutexImpl::~MutexImpl: pthread_mutex_destroy failed: Device or resource busy
    Caught signal 11 in thread "main"
       0: servoshell::backtrace::print
       1: servoshell::crash_handler::install::handler
       2: signal_hook_registry::handler
       3: <unknown>
       4: _ZN7mozilla6detail9MutexImplD1Ev
       5: __run_exit_handlers
                 at ./stdlib/exit.c:108:8
       6: __GI_exit
                 at ./stdlib/exit.c:138:3
       7: __libc_start_call_main
                 at ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
       8: __libc_start_main_impl
                 at ./csu/../csu/libc-start.c:360:3
       9: _start
    
  10. added a commit that references this issue on Jun 16, 2026
    e7ad61a
  11. added
    B-fuzzing
    on Nov 4, 2026
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-gfx/displaylistB-fuzzingC-has-manual-testcaseI-panic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions