Comments (12)
Ok. Thanks for the updates. 👍
I let the issue open for now if you want to mention it.
Maybe you could post this issue in the Alpine side? 🤔
from alpine-chrome.
@all-contributors please add @c24w for bug
from alpine-chrome.
Hi @c24w 👋
First, thanks for your report.
I tried your command and I do not get Segmentation fault
using the latest zenika/alpine-chrome
...
Can you add more information using --log-level=0
like in this command:
chromium-browser --log-level=0 --headless --disable-gpu --disable
-software-rasterizer --disable-dev-shm-usage --no-sandbox --dump-dom https://git
hub.com/Zenika/alpine-chrome/issues/15
I got these logs before the dom:
/usr/src/app $ chromium-browser --log-level=0 --headless --disable-gpu --disable
-software-rasterizer --disable-dev-shm-usage --no-sandbox --dump-dom https://git
hub.com/Zenika/alpine-chrome/issues/15
[0923/123843.959372:WARNING:dns_config_service_posix.cc(333)] Failed to read DnsConfig.
[0923/123843.964534:ERROR:gpu_process_transport_factory.cc(1016)] Lost UI shared context.
[0923/123844.251486:ERROR:nss_ocsp.cc(601)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[0923/123844.251539:ERROR:nss_ocsp.cc(601)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[0923/123844.251568:ERROR:nss_ocsp.cc(601)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
[0923/123844.253192:ERROR:nss_ocsp.cc(601)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[0923/123844.253252:ERROR:nss_ocsp.cc(601)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[0923/123844.253289:ERROR:nss_ocsp.cc(601)] No URLRequestContext for NSS HTTP handler. host: crl4.digicert.com
<!DOCTYPE html>
...
from alpine-chrome.
Hi @jlandure! Thanks for your reply.
I haven't got to the bottom of this yet, but just to update:
- I'm running Arch Linux and it works when I do the same commands on Ubuntu (using the same version of Docker).
--log-level=0
doesn't yield any extra information. 😞- I get the same segfault if I build the
Dockerfile
on Arch (unsurprisingly).
from alpine-chrome.
Hi @c24w
Sorry, I've to admit: I didn't test this image on Arch 😅
Do you get "chromium" working on your Arch installation? Is it a x86-64 Linux
or a ARM
architecture?
Do you think it's related to this Arch bug?
from alpine-chrome.
I can't blame you 😁
I've just installed a fresh version of Chromium 69.0.3497.100 Arch Linux, from the official repositories, and it works fine. I'm not sure what version is installed in the latest
of your images, so I'll check that next.
It's using x86_64 GNU/Linux
.
That bug seems to relate to a ~/.config/chromium-flags.conf
file, which isn't present in your images 🤔.
I'll keep digging...
from alpine-chrome.
Using apk
I can only get the version described here
The latest chromium available for the alpine
distribution is 68.0.3440.106
from alpine-chrome.
That version works on my Arch, sans segfault:
> chromium --version
Chromium 68.0.3440.106 Arch Linux
This is actually really easy to reproduce by spinning up a fresh alpine container (version 3.8.1
) and running:
> apk add --no-cache chromium
> chromium-browser --version
Segmentation fault
That's using the (slightly older version 68.0.3440.75-r0
) of chromium
from the default repositories.
I'm still none-the-wiser though! 🙃
Feel free to close this issue, because it's clearly nothing to do with your images!
from alpine-chrome.
Hi @c24w 👋
Do you still have Segmentation fault
issue with or can I close this issue? 👍
Thanks for your reply!
from alpine-chrome.
Just tried again against latest and it seems to work fine, so issue resolved from my perspective :)
from alpine-chrome.
Thanks @c24w ! 🎉
from alpine-chrome.
I've put up a pull request to add @c24w! 🎉
from alpine-chrome.
Related Issues (20)
- pulseaudio can't install in 102-with-puppeteer-xvfb HOT 1
- Chrome fails to load web page and crashes due to net::ERR_INSUFFICIENT_RESOURCES HOT 3
- Failed to write file pdf: No such file or directory (2) when using `print-to-pdf` HOT 1
- Support --headless=new HOT 3
- zenika/alpine-chrome:100-with-puppeteer has segmentation fault during apk-upgrade HOT 2
- [Help-Wanted] How to run chrome in docker like `jlesage/firefox`
- R2Devops ❤️ zenika/alpine-chrome ! HOT 1
- WebGL not work as expected HOT 2
- How to configure supported locales for Intl apis
- cannot install alpine packages HOT 1
- Bun Support HOT 2
- Publish images to ghcr.io as well HOT 1
- How can I have/build a version of zenika/alpine-chrome:with-puppeteer for armv7? HOT 3
- Chrome hangs when taking a screenshot of a page with a large image HOT 3
- When using zenika/alpine-chrome:with-chromedriver docker image then in GitLab CI ChromeDriver was started successfully. is display but it get stuck and do nothing HOT 9
- Unable to load some pages(GPU crash) HOT 1
- Puppeteer version out of sync with Chromium
- How move forward with chromium removing --remote-debugging-address=0.0.0.0 ?
- Chrome version update policy HOT 1
- Container exits immediately when used as a service in GitHub Actions since v108 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpine-chrome.