Workaround for: https://bugzilla.mozilla.org/show_bug.cgi?id=1450912 Should be more investigated and reopen bug. diff -r c56ef1c14a55 gfx/gl/GLContext.cpp --- a/gfx/gl/GLContext.cpp Wed Mar 14 00:40:07 2018 +0200 +++ b/gfx/gl/GLContext.cpp Wed Apr 04 14:51:13 2018 +0000 @@ -204,12 +204,11 @@ static bool ParseVersion(const std::string& versionStr, uint32_t* const out_major, uint32_t* const out_minor) { - static const std::regex kVersionRegex("([0-9]+)\\.([0-9]+)"); - std::smatch match; - if (!std::regex_search(versionStr, match, kVersionRegex)) return false; - - const auto& majorStr = match.str(1); - const auto& minorStr = match.str(2); + size_t dot_index = versionStr.find('.', 0); + if (dot_index == -1) + return false; + const auto& majorStr = versionStr.substr(0, dot_index); + const auto& minorStr = versionStr.substr(dot_index+1, 2); *out_major = atoi(majorStr.c_str()); *out_minor = atoi(minorStr.c_str()); return true;