Skip to content

Instantly share code, notes, and snippets.

@testingbot
Created November 22, 2019 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save testingbot/dbfde9aae14797363b4722c4af0c392d to your computer and use it in GitHub Desktop.
Save testingbot/dbfde9aae14797363b4722c4af0c392d to your computer and use it in GitHub Desktop.
geckodriver android crash
geckodriver -p 3031 --log trace
1574453509206 geckodriver DEBUG Listening on 127.0.0.1:3031
1574453513007 webdriver::server DEBUG -> POST /session {"capabilities":{"firstMatch":[{"moz:firefoxOptions":{"androidPackage":"org.mozilla.firefox"}}]}}
1574453513007 mozdevice WARN adb server response contained hexstring length 98 and message length was 98 and message was "FA69L0313992 device usb:1-1 product:sailfish model:Pixel device:sailfish transport_id:7\n"
1574453513007 geckodriver::android DEBUG Android port forward (37267 -> 2829) started
1574453513008 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513008 mozdevice DEBUG execute_host_command: << []
1574453513008 mozdevice DEBUG execute_host_command: >> "shell:cmd package resolve-activity --brief org.mozilla.firefox | tail -n 1"
1574453513156 mozdevice DEBUG execute_host_command: << "org.mozilla.firefox/.App\n"
1574453513156 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513156 mozdevice DEBUG execute_host_command: << []
1574453513156 mozdevice DEBUG execute_host_command: >> "shell:pm clear org.mozilla.firefox"
1574453513319 mozdevice DEBUG execute_host_command: << "Success\n"
1574453513319 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513319 mozdevice DEBUG execute_host_command: << []
1574453513319 mozdevice DEBUG execute_host_command: >> "shell:pm grant org.mozilla.firefox android.permission.READ_EXTERNAL_STORAGE"
1574453513384 mozdevice DEBUG execute_host_command: << ""
1574453513384 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513384 mozdevice DEBUG execute_host_command: << []
1574453513384 mozdevice DEBUG execute_host_command: >> "shell:pm grant org.mozilla.firefox android.permission.WRITE_EXTERNAL_STORAGE"
1574453513455 mozdevice DEBUG execute_host_command: << ""
1574453513455 geckodriver::android DEBUG Deleting /mnt/sdcard/org.mozilla.firefox-geckodriver-profile
1574453513455 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513455 mozdevice DEBUG execute_host_command: << []
1574453513455 mozdevice DEBUG execute_host_command: >> "shell:rm -rf /mnt/sdcard/org.mozilla.firefox-geckodriver-profile"
1574453513494 mozdevice DEBUG execute_host_command: << ""
1574453513494 geckodriver::android DEBUG Pushing /tmp/rust_mozprofilehcp4QS to /mnt/sdcard/org.mozilla.firefox-geckodriver-profile
1574453513575 geckodriver::android DEBUG Content of generated GeckoView config file:
## GeckoView configuration YAML
##
## Auto-generated by geckodriver.
## See https://mozilla.github.io/geckoview/consumer/docs/automation.
---
env:
MOZ_CRASHREPORTER: "1"
MOZ_CRASHREPORTER_NO_REPORT: "1"
MOZ_CRASHREPORTER_SHUTDOWN: "1"
args:
- "-marionette"
- "-profile"
- /mnt/sdcard/org.mozilla.firefox-geckodriver-profile
1574453513575 geckodriver::android DEBUG Pushing GeckoView configuration file to /data/local/tmp/org.mozilla.firefox-geckoview-config.yaml
1574453513639 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513639 mozdevice DEBUG execute_host_command: << []
1574453513639 mozdevice DEBUG execute_host_command: >> "shell:chmod a+rw /data/local/tmp/org.mozilla.firefox-geckoview-config.yaml"
1574453513741 mozdevice DEBUG execute_host_command: << ""
1574453513741 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513741 mozdevice DEBUG execute_host_command: << []
1574453513741 mozdevice DEBUG execute_host_command: >> "shell:am set-debug-app --persistent org.mozilla.firefox"
1574453513830 mozdevice DEBUG execute_host_command: << ""
1574453513830 geckodriver::android DEBUG Launching org.mozilla.firefox/.App
1574453513830 mozdevice DEBUG execute_host_command: >> "host:transport:FA69L0313992"
1574453513831 mozdevice DEBUG execute_host_command: << []
1574453513831 mozdevice DEBUG execute_host_command: >> "shell:am start -W -n org.mozilla.firefox/.App --es args -marionette\\ -profile\\ /mnt/sdcard/org.mozilla.firefox-geckodriver-profile"
thread 'webdriver dispatcher' has overflowed its stack
fatal runtime error: stack overflow
Aborted (core dumped)
@testingbot
Copy link
Author

curl -H "Content-Type: application/json" -X POST -v http://localhost:3031/session -d '{"capabilities":{"firstMatch":[{"moz:firefoxOptions":{"androidPackage":"org.mozilla.firefox"}}]}}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment