Firefox crashes often on a particular site when tested with Selenium in Docker
Categories
(Firefox :: Headless, defect, P3)
Tracking
()
People
(Reporter: u639570, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3350.0 Iron Safari/537.36
Steps to reproduce:
- Environment: Docker on Linux, based on image maven:3-jdk-8
- install firefox-esr (also tested with v68.0 and 68.0b4)
- use selenium to do browsertest in headless mode (as I am in Docker)
- open a URL in selenium (sorry, cannot provide the login as it is an internal site)
Actual results:
- on one specific page, firefox crashes MOST of the time (~40% of the cases) and core dumps.
I see a couple of messages in the console:
1558698423222 mozrunner::runner INFO Running command: "/usr/local/firefox/firefox" "-marionette" "-headless" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofile.s1nHBk81SQVN"
*** You are running in headless mode.
...
[Parent 1312, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 727
[Parent 1312, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 727
###!!! [Parent][MessageChannel] Error: (msgtype=0x1E0074,name=PBrowser::Msg_StopIMEStateManagement) Channel error: cannot send/recv
###!!! [Parent][MessageChannel] Error: (msgtype=0x1E008F,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
[Parent 1312, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /builds/worker/workspace/build/src/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 727
Plus the subsequent exception from selenium:
org.openqa.selenium.NoSuchWindowException: Browsing context has been discarded
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: host: '1327775e1d69', ip: '172.17.0.5', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-957.10.1.el7.x86_64', java.version: '1.8.0_212'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 68.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:buildID: 20190523115432, moz:geckodriverVersion: 0.24.0, moz:headless: true, moz:processID: 1312, moz:profile: /tmp/rust_mozprofile.s1nHBk..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 3.10.0-957.10.1.el7.x86_64, rotatable: false, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
gzipped coredump attached
Expected results:
- the url is opened in firefox - even if warnings or popups appear, firefox should not crash
Problem remains when switching the base image to Ubuntu18:04
Firefox: firefox/bionic-updates,bionic-security,now 67.0+build2-0ubuntu0.18.04.1 amd64
DEBUG Output:
1558702954220 Marionette TRACE [4294967297] Received DOM event DOMContentLoaded for https://[the url tot test].
[Parent 4491, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox-xkwMhH/firefox-67.0+build2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 726
[Parent 4491, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox-xkwMhH/firefox-67.0+build2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 726
###!!! [Parent][MessageChannel] Error: (msgtype=0x1F0088,name=PBrowser::Msg_Destroy) Channel error: cannot send/recv
###!!! [Parent][MessageChannel] Error: (msgtype=0x2000D,name=PAPZ::Msg_Destroy) Channel error: cannot send/recv
[Parent 4491, Gecko_IOThread] WARNING: pipe error: Broken pipe: file /build/firefox-xkwMhH/firefox-67.0+build2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 726
1558702960195 Marionette TRACE [11] Frame script loaded
1558702960195 Marionette TRACE [11] Frame script registered
A content process crashed and MOZ_CRASHREPORTER_SHUTDOWN is set, shutting down
Some core dumps are uploaded here: https://1drv.ms/f/s!AltJCzguFQc7r4RcBviroun__SKF8A
Comment 5•5 years ago
|
||
Hi Locked,
I will move this issue over to a component so developers can check it out.
Thank you for the report!
Comment 6•5 years ago
|
||
The priority flag is not set for this bug.
:bdahl, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 7•5 years ago
|
||
Looks like the core dumps are gone. Do you still have any? Or crashes from "about:crashes" would be helpful.
I am not yet allowed to publish core dumps.
:bdahl Is there a way to get the crashes via CLI only? All Information that I found just invoked the UI (which I do not have inside the docker image)
Comment 9•2 years ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Closing the bug as incomplete.
For more information, please visit auto_nag documentation.
Description
•