rr icon indicating copy to clipboard operation
rr copied to clipboard

EGL Initialize return error when running servo with rr

Open wusyong opened this issue 2 years ago • 1 comments

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)

wusyong avatar Apr 23 '22 11:04 wusyong

rr disables use of direct-rendered GL. It also disables use of XSHM. Maybe that causes that assertion to fail?

rocallahan avatar Apr 23 '22 22:04 rocallahan