Closed Bug 1278262 Opened 9 years ago Closed 8 years ago

Crash when deleting a bookmark while Firefox is syncing

Categories

(Firefox for iOS :: Home screen, defect, P1)

All
iOS
defect

Tracking

()

RESOLVED FIXED
Iteration:
1.8
Tracking Status
fxios 6.0+ ---
fxios-v5.0 --- affected
fxios-v6.0 --- fixed
fxios-v7.0 --- fixed

People

(Reporter: SimonB, Assigned: sleroux)

Details

(Keywords: crash, reproducible, Whiteboard: [MobileAS])

Attachments

(3 files)

Build: 5407821 Device: IPone 6 Plus Steps to reproduce: 1. Sign in to FxA on mobile device and bookmark a few pages 2. Sign in to FxA on desktop, add several bookmarks in the mobile folder and run sync 3. Go to Firfox for IOS and delete some bookmarks while sync is running Actual results: - The application will crash. Note: - The crash will occur only when there are new bookmarks in the 'Mobile Bookmarks' folder imported from desktop to the device.
Yeah, this is a crash when the data changes underneath the row action. 4 UIKit 0x187035808 -[UITableView _endCellAnimationsWithContext:] + 12624 5 Client 0x10044fe80 BookmarksPanel.(tableView(UITableView, editActionsForRowAtIndexPath : NSIndexPath) -> [AnyObject]?).(closure #1) (BookmarksPanel.swift:377)
Component: General → Home screen
Rank: 3
Whiteboard: [good second bug][lang-swift]
Assignee: nobody → sleroux
Is this actionable for 5.0?
Status: NEW → ASSIGNED
Whiteboard: [good second bug][lang-swift] → [lang-swift]
Priority: -- → P2
Whiteboard: [lang-swift] → [lang-swift][MobileAS]
Priority: P2 → P1
Severity: critical → major
Priority: P1 → P2
Priority: P2 → P1
Iteration: --- → 1.7
Comment on attachment 8804387 [details] [review] Link to Github pull-request: https://github.com/mozilla-mobile/firefox-ios/pull/2193 I'm going to mark this as r- because this fix wont work.
Attachment #8804387 - Flags: review?(bnicholson) → review-
Iteration: 1.7 → 1.8
Applies the revised approach :rnewman suggested where we generate a copy of the data with the removal applied to represent a transient state until the user moves away and comes back. At that point, the model is reloaded from disk to be consistent.
Attachment #8807592 - Flags: review?(bnicholson)
Attachment #8807592 - Flags: feedback?(rnewman)
Comment on attachment 8807592 [details] [review] Link to Github pull-request: https://github.com/mozilla-mobile/firefox-ios/pull/2193 Looks sane to me!
Attachment #8807592 - Flags: review?(bnicholson) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [lang-swift][MobileAS] → [MobileAS][needsuplift]
v6.x 9f15555
Whiteboard: [MobileAS][needsuplift] → [MobileAS]
Attachment #8807592 - Flags: feedback?(rnewman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: