You are here
digg_de - Mon, 2016/11/21 - 22:59
Hi,
i have install google chrome for headless testing with watir on ruby. The installation is very easy:
sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - apt-get update apt-get install google-chrome-stable
But google chrome crashs with error message:
test kernel: [ 1749.800181] traps: chrome[5753] trap invalid opcode ip:7fb33b3c602d sp:7ffe2636d490 error:0 in chrome[7fb33a3d1000+6430000]
I have tested the same installation on the same VM on the same hardware with Ubuntu 16.04 and it works?
I have found something about updating the VM to support a new CPU feature like SSE2? Is this possible? How can i update the VM or the Lamp stack to get google chrome working?
Can anybody help?
Thanks!
Forum:
no problems with chrome < V 44
I found and try an older version of chrome (42.0.2311.90) from here: http://google-chrome.en.uptodown.com/ubuntu/old and it works without crashing. But certainly i don't found a working chromedriver for chrome 42 and watir 6.0?
So, i still need the actually version of chrome to get running.
I have also tried a fresh installed ubuntu 16.04 on the same machine and the same conditions and it's working. So the problem seems to be a system or driver problem?
You could try the newer kernel that's in backports?
Although having said that I'm currently writing this from Chrome (Version 54.0.2840.100 (64-bit)) on Debian Jessie with the default kernel and it's working fine on my desktop. I essentially used the same install method as you noted. Having said that I have a full Gnome3 desktop so perhaps there is something else to do with my environment that is providing what Chrome needs?
Sorry I'm not much help...
I will try again ...
Okay, sorry for more questions ;-?
1. How can i install a newer kernel from backports?
2. An other idea is to install a full gnome3 desktop for testing. Did you have a hint, how can i do this?
3. Better i look deeper in the problem. Is there a possibilty to get more info why the chrome crash ... more detailed error details?
Thanks for your time!
No problem :)
2. Check out the Debian docs. They're probably a bit out of date, but should head you in the right direction. FWIW I am using the 'gnome' package. However, that pulls in the whole desktop environment, including a ton of apps that you won't want or need. It looks like you can just install 'gnome-core' and that will give you just the "official" (upstream) core Gnome3 desktop. It'll still be quite bloated for a server though. Unless you explicitly need Gnome3, TBH I'd probably be inclined to go for a lighter weight desktop like 'fluxbox'. It works great with GTK apps and I often use that on older computers as it only uses about 35MB RAM (Gnome uses ~200MB). I have a couple of Debian Jessie installs with Fluxbox desktop and Chrome runs flawlessly.
3. I'm not 100% sure as I've never done any trouble shooting with Chrome (it's always just worked for me on Linux) but I imagine that there is probably some commandline switch to make it be really verbose. Google should provide some useful results...
One other suggestion which may be relevant for you, is to try the Debian Chromium package. While it's obviously not Chrome, it's pretty close and may provide what you need? It has a fairly new version. Actually FWIW:
Thanks for your tipps
Hi,
at first thanks again for your time and help. I tried the newest backports kernel and i installed the whole gnome core package and it has no positive effect of running google chrome. It's strange ...
I ask in the google chrome forum to get help or find out, what exactly causes the crash ...
I tried also the chromium browser. But chromium crash already with this error message:
The problem seems to be with the sandbox? I found a commandline option to solve this. Starting chrome with options "google-chrome --no-sandbox" will occure an other error:
I don't know, how i configure my SUID sandbox correctly?
SOLVED
The usage of chromnium works now with parameter like this:
Cool.
Desktop applications such as web browsers aren't designed to run as root (as a general rule it's a really bad idea!)
As I said, I'm only guessing though...
Yes you are right.
That is the main problem.
Add new comment