rr-debugger / rr-debugger/rr

EGL Initialize return error when running servo with rr

Open
#3,184 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

I'm trying to debug servo with rr but it got assert error pretty soon when initializing. Is there any confige from rr might affect GL libraries like EGL?

Here's the error log:

rr: Saving execution to trace directory `/home/wusyong/.local/share/rr/servo-30'.
assertion failed: `(left != right)`
  left: `0`,
 right: `0` (thread main, at /home/username/.cargo/registry/src/github.com-1ecc62dddb9ec823/surfman-0.4.1/src/platform/unix/x11/connection.rs:292)

Steps to reproduce:

  1. Clone Servo repo
  2. Build debug build with: ./mach build -d
  3. Run with rr: ./mach rr-record -d (Or just run with rr record path/to/servo)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with Servo's ./mach build -d followed by ./mach rr-record -d, or with rr record, and inspect the assertion reported at surfman-0.4.1/src/platform/unix/x11/connection.rs:292. Determine whether rr affects EGL or GL initialization; done means identifying the cause and documenting or fixing a reproducible way to run Servo under rr.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.