arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

URL: https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/index.html

Browser / Version: Firefox 69.0.2
Operating System: Linux
Tested Another Browser: Yes

Problem type: Something else
Description: load fails (firefox crashes) on headless mode
Steps to Reproduce:

Loading through selenium / geckodriver / marionette the above website crashes Firefox 69.0.1 (Debian package) and 69.0.2 (tar.bz2 download from mozilla.org) on amd64 architecture. It seems to me that is a firefox crash. The geckodriver process lives on, but the firefox process dies.

The very same selenium / geckodriver / marionette script in non-headless mode (just comment out the config line for headless) works correctly.

The very same selenium / geckodriver / marionette script in headless mode with Firefox ESR 60.9.0esr (Debian package) (just change the binary_location option to point to it) works correctly.

Loading the very same website in Firefox in normal user mode (not scripted through marionette) works fine (all tested versions).

Here are excerpts of geckodriver.log:

1570464992237   Marionette      INFO    Listening on port 37757
1570465450916   Marionette      INFO    Stopped listening on port 37757
WARNING: At least one completion condition is taking too long to complete. Conditions: [{"name":"ServiceWorkerRegistrar: Flushing data","state":"(none)","filename":"/builds/worker/workspace/build/src/dom/serviceworkers/ServiceWorkerRegistrar.cpp","lineNumber":1111,"stack":"ServiceWorkerRegistrar: Flushing data"}] Barrier: profile-before-change

###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv


(...)
###!!! [Parent][MessageChannel] Error: (msgtype=0x1A0011,name=PBackgroundStorage::Msg_Observe) Channel error: cannot send/recv

console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."

###!!! [Parent][DispatchAsyncMessage] Error: PBackgroundIDBFactory::Msg_PBackgroundIDBFactoryRequestConstructor Value error: message was deserialized, but contained an illegal value

JavaScript error: resource://services-common/kinto-offline-client.js, line 579: Error: IndexedDB list() The operation failed for reasons unrelated to the database itself and not covered by any other error code.
JavaScript error: , line 0: AbortError: A request was aborted, for example through a call to IDBTransaction.abort.

Here's the python Selenium script:

from __future__ import print_function
import sys

from selenium import webdriver
from selenium.webdriver.support import expected_conditions as sec
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By

def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)

options = webdriver.FirefoxOptions()
#options.binary_location = "/usr/bin/firefox"                                                                              
options.binary_location = "/path/to/mozilla.org/downloaded/firefox/firefox"
options.headless=True
options.set_capability('acceptInsecureCerts', False)
driver = webdriver.Firefox(executable_path='/path/to/geckodriver',
                           options=options)
try:
    eprint("about to get")
    driver.get('https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/index.html')
    eprint("about to wait")
    WebDriverWait(driver, 3).until(sec.presence_of_element_located((By.ID, "STATUS_MAP_CONTENTS_ELEMENT_ID")))
finally:
    for wid in driver.window_handles:
	driver.switch_to.window(wid)
        driver.close()
Browser Configuration
  • None

Submitted in the name of @lmamane

From webcompat.com with ❤️

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
🔒 Closed: Duplicate
#41756

www.public.nm.eurocontrol.int - load fails (firefox crashes) on headless mode

Opened: 2019-10-07
Reporter: webcompat-bot
Comments: 8
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct