EGL Initialize return error when running servo with rr
Open
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:
- Clone Servo repo
- Build debug build with:
./mach build -d - Run with rr:
./mach rr-record -d(Or just run withrr record path/to/servo)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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