TL;DR Try installing chromium-browser and check if it runs / fix configuration problems to get chromium-browser running in the same environment, which can be easier to fix due to better error messages.
--
Hi, I've had something similar with an automated build where both centos/epel7 and Google Chrome are being updated automatically with each build.
google-chrome-stable failed to launch with error messages along the lines of:
Code: Select all
[root@selenium /]# google-chrome-stable --version
Google Chrome 55.0.2883.87
[root@selenium /]# google-chrome-stable
[8037:8053:0113/105454:ERROR:bus.cc(427)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Illegal instruction (core dumped)
[root@selenium /]# dmesg | tail
[16331549.240189] traps: chrome[32713] trap invalid opcode ip:561a6ec8ac4b sp:7ffdf034f640 error:0 in chrome[561a6c468000+6612000]
so i compared it to a default chromium install environment, which is the same version as the google provided one, which failed to start too, but with a different error message:
Code: Select all
[root@selenium /]# chromium-browser
[8197:8209:0113/105829:ERROR:bus.cc(427)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[8197:8197:0113/105829:FATAL:platform_font_linux.cc(63)] Check failed: typeface. Could not find any font: Nimbus Sans L, sans
#0 0x7fa8c02e44ae base::debug::StackTrace::StackTrace()
#1 0x7fa8c02fff87 logging::LogMessage::~LogMessage()
#2 0x7fa8bd56e0d1 <unknown>
#3 0x7fa8bd56e530 gfx::PlatformFontLinux::PlatformFontLinux()
#4 0x7fa8bd56e886 gfx::PlatformFont::CreateDefault()
#5 0x7fa8bd55f739 gfx::Font::Font()
#6 0x7fa8bd562626 gfx::FontList::GetDefaultImpl()
#7 0x7fa8bd562739 gfx::FontList::FontList()
#8 0x7fa8bcee6cf3 ui::ResourceBundle::GetFontListWithDelta()
#9 0x7fa8b4388c11 views::Label::Label()
#10 0x7fa8b439af32 views::MessageBoxView::Init()
#11 0x55a9411488c3 <unknown>
#12 0x55a941148c02 <unknown>
#13 0x55a941123d92 <unknown>
#14 0x55a9406c0536 <unknown>
#15 0x55a9405b10b3 <unknown>
#16 0x55a9406c4bf9 <unknown>
#17 0x55a9406c59b4 <unknown>
#18 0x7fa8bafcecfc content::BrowserMainLoop::PreMainMessageLoopRun()
#19 0x7fa8bb2cd139 content::StartupTaskRunner::RunAllTasksNow()
#20 0x7fa8bafd0476 content::BrowserMainLoop::CreateStartupTasks()
#21 0x7fa8bafd4f31 <unknown>
#22 0x7fa8bafce112 content::BrowserMain()
#23 0x7fa8bb5b21b4 <unknown>
#24 0x7fa8bb5b1509 content::ContentMain()
#25 0x55a94012747c ChromeMain
#26 0x7fa8ab4d6b35 __libc_start_main
#27 0x55a940127344 <unknown>
Apparently a font was missing, so I installed the related font packages which somehow don't get installed anymore:
Code: Select all
yum -y install liberation-mono-fonts liberation-narrow-fonts liberation-sans-fonts liberation-serif-fonts
After installing both chromium and Google Chrome worked fine.