rr
rr copied to clipboard
EGL Initialize return error when running servo with rr
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
)
rr disables use of direct-rendered GL. It also disables use of XSHM. Maybe that causes that assertion to fail?