-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Reporting error spawning Chromium browser on centos aarch64 #89382
Comments
Pinging @elastic/kibana-app-services (Team:AppServices) |
The error is a segmentation fault, which I found in the Kibana server logs:
This happens when we run the Reporting diagnostic tool, and Kibana just tries to open Chromium to a blank page. |
I haven't been able to run I'm attempting to investigate this with
|
I also did not get anything from gdb -- I tried valgrind, output below if it helps:
|
I'm going to try running a new build in CentOS https://github.com/elastic/kibana/blob/master/x-pack/build_chromium/README.md |
@tsullivan with 7.11.0 release coming up how should we handle reporting this issue? |
@liza-mae was that Ubuntu on aarch64? So this problem is specific to CentOS 8 on aarch64, not aarch64 in general? Did 7.10 pass this test on CentOS 8 on aarch64? And does 7.10 still pass on this exact same aarch64 VM? I am just trying to understand if something changed in CentOS 8, or in Chromium, or if this has always been a problem but we didn't have the test coverage before. |
It looks like the same problem as electron/electron#21395 and the very last comment in that also tallies with microsoft/vscode#108509 (comment) and would explain why it affects RHEL/CentOS 8 but not some other distributions. Search for "the process has hardcoded page size in code" in The definitive guide to make software fail |
@droberts195 we did not test CentOS in 7.10 so the problem exists there too, thanks for finding the electron issue yes that seems the same, we can try to do a rebuild of chromium after 7.11.0 for now we will update the docs to make it a known issue, I will put up a PR for it. |
I think that in Linux, Chromium does not allow the page size to be defined at run time, only at compile time. That means that recompiling Chromium to support ARM on CentOS/Redhat would break support for ARM on Ubuntu. On Mac, the system page size is a run-time property for Chromium: https://chromium.googlesource.com/chromium/src/base/+/93bade42cb25ed443d67fb61eb14dda49122cdb4 I have found this issue that requests Chromium not force page size to be 4K on ARM: |
We had a slack discussion that we could generate different binaries for the different page sizes. |
The Chromium issue has been moved to: https://issuetracker.google.com/issues/186639159?pli=1 |
#90385 added documentation that Kibana Reporting is not supported for ARM Closing this as Kibana is blocked on working on this due to the upstream issue with Chromium. |
Kibana version: 7.11.0 BC4
Elasticsearch version: 7.11.0 BC4
Server OS version: CentOS aarch64
Browser version: Chrome latest
Original install method (e.g. download page, yum, from source, etc.):
Staging
Description of the problem including expected versus actual behavior:
Reporting can't spawn chromium, I installed what we have listed as system dependencies except for ipa-gothic-fonts which is not found, not sure if that is the cause of the crash though. Same test works on Ubuntu.
Steps to reproduce:
Provide logs and/or server output (if relevant):
Describe the feature:
The text was updated successfully, but these errors were encountered: