Browser crashes when inside docker container with virtual display #15995
Labels
needs-more-info
The report requires more detail before we can decide what to do with this issue.
OS/Desktop
Description
For testing purposes we are running various browsers in docker containers with X Virtual Frame Buffer, headless mode is no go for us. Things got broke in one of recent versions. I assume it's related to
adblock-rust
. Browser crashes when trying to open any page. Error message appears in console, see Actual result below for details.Steps to Reproduce
Please note, steps are valid for Ubuntu with docker installed.
Dockerfile
:entrypoint.sh
:chrome://inspect#devices
.172.17.0.2:9222
.google.com
on target browser.Actual result:
Expected result:
Browser works
Reproduces how often:
Every time.
Brave version (brave://version info)
Version/Channel Information:
Yes
Yes
Yes
Other Additional Information:
No
No
Yes
Miscellaneous Information:
This works for us on older version
1.20.110
, I'm not sure if it's the last working version.I've investigated other approaches.
xvfb
process inside docker container to create virtual display instead ofxvfb-run
-> same crash error 👎xserver-xorg-video-dummy
inside docker container to create virutal display -> same crash error 👎--headless
flag -> browser works 👍, but this is not solution we can accept for our testing purposes.xvfb
to create virtual display on host machine instead of docker container and pass it to docker via DISPLAY flag as above -> browser crashes with same error 👎I know this is not the most obvious use case, but I can't imagine how virtual display could possibly affect domain resolver in
adblock-rust
component.The text was updated successfully, but these errors were encountered: