mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.06k stars 2.88k forks source link

Crash while crawling the app randomly - robo test #15245

Open isabelrios opened 12 months ago

isabelrios commented 12 months ago

This is a crash found by the automated robo tests. This type of test crawl the app randomly.

Device: iPhone 13 Pro**, OS: 15.7**

Application crashed

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GREYWKWebViewNavigationDelegate webView:didFinishNavigation:]: unrecognized selector sent to instance 0x2825db5d0'

     *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GREYWKWebViewNavigationDelegate webView:didFinishNavigation:]: unrecognized selector sent to instance 0x2825db5d0'
*** First throw call stack:
(0x1c9edd288 0x1e2c11744 0x1c9fbafc0 0x1c9e71ba0 0x1c9e70f70 0x1d8ee6258 0x1d90f5de8 0x1d9475cac 0x1d8ed1d70 0x1d911e410 0x1d8eb7250 0x1d8eb6a68 0x1d50f7650 0x1d50f83ec 0x1c9eff414 0x1c9f101a0 0x1c9e49694 0x1c9e4f05c 0x1c9e62bc8 0x1e5fd2374 0x1cc7d8b58 0x1cc55a098 0x1016b2738 0x103641da4)

*** Terminating app due to uncaught exception 'GenericFailureException', reason: '

     *** Terminating app due to uncaught exception 'GenericFailureException', reason: '

Exception Reason:
App crashed and disconnected.

Recovery Suggestion:
Unless your tests explicitly relaunch the app, it won't be restarted. Any requests from the test to the app side will fail. Use GREYTestApplicationDistantObject.hostApplicationRelaunchHandler to register a callback that will be invoked when your app crashes. In this callback you can clean up your test-side remote objects and relaunch your app. To troubleshoot more, please refer to app.log and the app's .crash file under Output Files or Artifacts tab on Sponge.'
*** First throw call stack:
(0x1c9edd288 0x1e2c11744 0x1c9fb4404 0x107cb6af0 0x107cf2984 0x107d00274 0x107d00034 0x1c9e71ba0 0x1c9e70f70 0x107cb1a54 0x107cb9228 0x1c9b42e6c 0x1c9b44a30 0x1c9b4c124 0x1c9b4cc80 0x1c9b57500 0x23b84d0bc 0x23b84ce5c)

Full log: 2023-06-27_08 08 51.668685_rXzS_iphone13pro-15.7-en-portrait_syslog.txt

┆Issue is synchronized with this Jira Task

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale. Has the issue been fixed, or does it still require the community's attention? Please leave any comment to keep this issue opened. It will be closed automatically if no further update occurs in the next 30 days. Thank you for your contributions!