Closed
Bug 1207179
Opened 10 years ago
Closed 10 years ago
Reproducible crash when swiping back or forward
Categories
(Firefox for iOS :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: krudnitski, Assigned: rnewman)
References
Details
(Keywords: crash)
Attachments
(1 file)
Version 1.1 (1102) on my iPhone 6 running 8.4.1
I go to a website (like m.bbc.co.uk/news/read), tap on an article, then swipe (gesture) to go back (so running my finger left-to-right).
The client crashes.
Fine if I use the back 'arrow' at the bottom. Only happens when I use the gesture.
| Assignee | ||
Updated•10 years ago
|
Keywords: crash
Summary: reproducible crash when using gesture to go 'back' → Reproducible crash when using gesture to go 'back'
Comment 1•10 years ago
|
||
As is tradition, I am unable to reproduce this kar bug. Tried with master and 1.1 on my iPhone 6. I can swipe back fine after reading an article.
Logs/reports?
| Assignee | ||
Comment 2•10 years ago
|
||
I have a bunch of Breakpad crashes. Let me see if I can find them on the server.
| Assignee | ||
Comment 3•10 years ago
|
||
Reproduced just now.
https://crash-stats.mozilla.com/report/index/c863d1b9-aebf-45a8-beb8-58d6b2150922
| Assignee | ||
Comment 4•10 years ago
|
||
func webView(webView: WKWebView, didFinishNavigation navigation: WKNavigation!) {
let tab: Browser! = tabManager[webView]
tabManager.expireSnackbars()
if let url = webView.URL where !ErrorPageHelper.isErrorPageURL(url) && !AboutUtils.isAboutHomeURL(url) {
tab.lastExecutedTime = NSDate.now()
postLocationChangeNotificationForTab(tab, navigation: navigation)
fatal error: unexpectedly found nil while unwrapping an Optional value
navigation is nil in TabManagerNavDelegate.webView:didFinishNavigation: (and thus in the BVC implementation).
| Assignee | ||
Comment 5•10 years ago
|
||
I managed to repro that swiping *forward*, for the record.
| Assignee | ||
Comment 6•10 years ago
|
||
| Assignee | ||
Comment 7•10 years ago
|
||
Verified:
2015-09-22 17:02:47.373 [Warning] [BrowserViewController.swift:1517] webView(_:didFinishNavigation:) > Implicitly unwrapped optional navigation was nil.
2015-09-22 17:02:47.375 [Debug] [Profile.swift:212] onLocationChange > Recording visit for http://cariboucases.com/What-Fits-My-Bike/ with type 1.
| Assignee | ||
Updated•10 years ago
|
Summary: Reproducible crash when using gesture to go 'back' → Reproducible crash when swiping back or forward
| Reporter | ||
Comment 8•10 years ago
|
||
(I groaned when I saw comment 1)
If you want me to grab any of my logs, let me know which ones (and where to find them), unless Richard thinks he is confident his STR is the same bug.
Aaron - if you go to the telegraph (www.telegraph.co.uk), tap on the first article (surprise, it's about the VW scandal), let it load completely (the progress bar finishes) and then swipe back via gesture.
Looks like it won't reproduce if the page didn't fully load - could you be doing that?
Happens all the time on the bbc as well. Go to www.bbc.co.uk, tap on the first news article, let it load completely, then swipe back. Crash!
Comment 9•10 years ago
|
||
Comment on attachment 8664574 [details] [review]
Pull request
Is this an issue worth raising a radar over? Clearly WKNavigation is not supposed to be nil otherwise Apple wouldn't have specified the WKNavigationDelegate method to force unwrap it, but under certain circumstances it is, and the documentation never states that it should be treated as an optional despite the fact it might be.
I was only able to replicate this on my iOS 8.4 device, never on an iOS9 one so it might be a backward compatibility issue, but that's still a bug IMHO.
Attachment #8664574 -
Flags: review?(etoop) → review+
| Assignee | ||
Comment 10•10 years ago
|
||
http://openradar.appspot.com/radar?id=5586457989218304
rdar://22820815
| Assignee | ||
Comment 11•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-fxios-v1.0.5:
--- → ?
status-fxios-v1.1:
--- → fixed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•