Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gecko webdriver crash #821

Closed
floriankammermann opened this issue Jul 12, 2017 · 7 comments
Closed

gecko webdriver crash #821

floriankammermann opened this issue Jul 12, 2017 · 7 comments

Comments

@floriankammermann
Copy link

floriankammermann commented Jul 12, 2017

Platform and application details

  • bitnami/minideb:stretch (docker image)

  • installed packages
    dg-utils
    libxi6
    libgconf-2-4
    libnss3
    psmisc
    fonts-liberation
    libappindicator1
    libgtk-3-0
    libdbus-glib-1-2
    libxt6
    dbus-x11
    x11vnc
    xvfb

  • Firefox: 53.0.3 / 54.0.1 (both have the same behaviour)

  • selenium: 3.4.0

  • geckodriver 0.18.0

Steps to reproduce

Reproducable testcase:

sadly I don't have the steps.
the test is run by protractor.
the start command is yarn run protractor

trace level log:

Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'xxxxxxxxxx', ip: 'x.x.x.x', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-31-generic', java.version: '1.8.0_131'
Driver info: driver.version: FirefoxDriver
remote stacktrace: stack backtrace:
   0:           0x57af6d - backtrace::backtrace::trace::h59229d13f6a8837d
   1:           0x57b0c2 - backtrace::capture::Backtrace::new::h23089c033eded8f0
   2:           0x4472fc - webdriver::error::WebDriverError::new::h0b226f62ff19e120
   3:           0x4514c1 - geckodriver::marionette::MarionetteHandler::create_connection::hd468f55550be3626
   4:           0x426854 - <webdriver::server::Dispatcher<T, U>>::run::h62323eaff3e71b8c
   5:           0x40935c - std::panicking::try::do_call::hb7e6ff6d130a72cf
   6:           0x5de23a - panic_unwind::__rust_maybe_catch_panic
                        at /checkout/src/libpanic_unwind/lib.rs:98
   7:           0x41c003 - <F as alloc::boxed::FnBox<A>>::call_box::hd6ceeda495c4fa0e
   8:           0x5d68d4 - alloc::boxed::{{impl}}::call_once<(),()>
                        at /checkout/src/liballoc/boxed.rs:650
                         - std::sys_common::thread::start_thread
                        at /checkout/src/libstd/sys_common/thread.rs:21
                         - std::sys::imp::thread::{{impl}}::new::thread_start
                        at /checkout/src/libstd/sys/unix/thread.rs:84
@andreastt
Copy link
Contributor

I’m sorry, but I can’t tell what is wrong here unless you provide the full log from geckodriver. I suspect protractor is swallowing it, so you need to find some way to expose the stdout/stderr from geckodriver.

I can tell from the stacktrace that it has something to do with creating a new Marionette (remote protocol) connection to Firefox.

@floriankammermann
Copy link
Author

Will try to create a reproducer.

@andreastt
Copy link
Contributor

Closing due to inactivity. I will happily reopen if reproducible steps are added.

@floriankammermann
Copy link
Author

Couldn't create a reproducer.

@mmanach
Copy link

mmanach commented Sep 6, 2017

Hello,

I have a similar stacktrace on :

  • RHEL 7.2
  • Firefox 55.0.2
  • geckodriver 0.18 (64 bits)
  • Selenium 3.5.2
  • Serenity 1.5.9

Note : On Windows 10 everything is running well with FF 55 and gecko 0.18

Could not instantiate new WebDriver instance of type class org.openqa.selenium.firefox.FirefoxDriver (connection refused
Build info: version: '3.5.2', revision: '10229a9', time: '2017-08-21T17:29:55.15Z'
System info: host: 'xxx', ip: 'xxx', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-327.el7.x86_64', java.version: '1.8.0_101'
Driver info: driver.version: FirefoxDriver
remote stacktrace: stack backtrace:
0: 0x5787ed - backtrace::backtrace::trace::h59229d13f6a8837d
1: 0x578942 - backtrace::capture::Backtrace::new::h23089c033eded8f0
2: 0x4463cc - webdriver::error::WebDriverError::new::hd11f864b1fdf4510
3: 0x450591 - geckodriver::marionette::MarionetteHandler::create_connection::h6f7058fccafe4367
4: 0x425c32 - >::run::h8f5348b8f5f7c053
5: 0x40b22c - std::panicking::try::do_call::hb67c6fb6bcd96195
6: 0x5dc20a - panic_unwind::__rust_maybe_catch_panic
at /checkout/src/libpanic_unwind/lib.rs:98
7: 0x41b943 - >::call_box::h4100941edc372034
8: 0x5d48a4 - alloc::boxed::{{impl}}::call_once<(),()>
at /checkout/src/liballoc/boxed.rs:650
- std::sys_common::thread::start_thread
at /checkout/src/libstd/sys_common/thread.rs:21
- std::sys::imp::thread::{{impl}}::new::thread_start
at /checkout/src/libstd/sys/unix/thread.rs:84

@whimboo
Copy link
Collaborator

whimboo commented Oct 2, 2017

@mmanach can you please provide a trace log? The output above is not enough. Thanks.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants