Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash Annotation GraphicsCriticalError for headless selenium on firefox browser #726

Open
manaspatra opened this issue Jul 31, 2023 · 2 comments

Comments

@manaspatra
Copy link

versions

  • SlimerJS: JDK version is 1.8.0_372
  • Firefox: Mozilla Firefox 102.12.0esr
  • Operating system: 5.4.17-2136.320.7.1.el8uek.aarch64
  • geckodriver : 0.33.0
  • Selenium Client version is 3.141.59

Steps to reproduce the issue

[]# firefox --headless
*** You are running in headless mode.

(firefox:2019479): Gtk-WARNING **: 13:51:46.403: Locale not supported by C library.
Using the fallback 'C' locale.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.505233) [GFX1-]: glxtest: Unable to open a connection to the X server
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.505233) |[1][GFX1-]: glxtest: libEGL initialize failed (t=0.505267) [GFX1-]: glxtest: libEGL initialize failed
Fontconfig warning: ignoring UTF-8: not a valid region tag
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.505233) |[1][GFX1-]: glxtest: libEGL initialize failed (t=0.505267) |[2][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=1.16928) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
Fontconfig warning: ignoring UTF-8: not a valid region tag
Fontconfig warning: ignoring UTF-8: not a valid region tag
Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
^CExiting due to channel error.
Exiting due to channel error.

Actual results:

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.505233) |[1][GFX1-]: glxtest: libEGL initialize failed (t=0.505267) |[2][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=1.16928) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt

Expected results:

should be able to initialize and open browser for headless UI operation.

@manaspatra
Copy link
Author

any help is much appreciated ! any compatibility issue with following versions and need correction?

  •   Firefox version : Mozilla Firefox 102.12.0esr
    
  •   Selenium Client version is 3.141.59
    
  •   geckodriver : 0.33.0
    
  •   JDK version is 1.8.0_372
    
  •   Host : 5.4.17-2136.320.7.1.el8uek.aarch64
    

@laurentj
Copy link
Owner

laurentj commented Aug 1, 2023

Hi,

it does not seems related to SlimerJS. Anyway, SlimerJs is not compatible with Firefox 102. its development has ceased since 2018.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants