Closed Bug 1135981 Opened 6 years ago Closed 6 years ago

Crash @ SearchViewController :: tableView()

Categories

(Firefox for iOS :: General, defect)

ARM
iOS 8
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Tracking Status
fennec + ---

People

(Reporter: aaronmt, Assigned: stephanleroux)

Details

(Keywords: crash, reproducible)

Attachments

(1 file)

PR
47 bytes, text/x-github-pull-request
Details | Review
I am getting a crash in 

              let engine = sortedEngines[indexPath.row - searchSuggestions.count]

frame #0: 0x00000001007302cc libswiftCore.dylib`Swift._fatalErrorMessage (Swift.StaticString, Swift.StaticString, Swift.StaticString, Swift.UInt) -> () + 144

frame #1: 0x00000001007237f4 libswiftCore.dylib`Swift.Array._checkSubscript <A>(Swift.Array<A>)(Swift.Int) -> () + 148

frame #2: 0x000000010072373c libswiftCore.dylib`Swift.Array.subscript.getter (Swift.Int) -> A + 56* 

frame #3: 0x0000000100126a80 Client`Client.SearchViewController.tableView (tableView=0x00000001580e0800, indexPath=0xc000000000000096, self=0x0000000157d42360)(ObjectiveC.UITableView, didSelectRowAtIndexPath : ObjectiveC.NSIndexPath) -> () + 1144 at SearchViewController.swift:207

frame #4: 0x0000000100127008 Client`@objc Client.SearchViewController.tableView (Client.SearchViewController)(ObjectiveC.UITableView, didSelectRowAtIndexPath : ObjectiveC.NSIndexPath) -> () + 80 at SearchViewController.swift:0

frame #5: 0x0000000189615390 UIKit`-[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1280

frame #6: 0x00000001896d2cdc UIKit`-[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 276


Search for 'gamespot', tap 'gamespot' under Yahoo

--
Build: 146c936172a9
iPhone 6 (8.1.3)
Error>: CGBitmapContextCreate: unsupported parameter combination: 16 integer bits/component; 64 bits/pixel; 3-component color space; kCGImageAlphaPremultipliedFirst; 960 bytes/row.
fatal error: Array index out of range
Severity: normal → critical
Attached file PR
Pull request: https://github.com/mozilla/firefox-ios/pull/190
https://github.com/mozilla/firefox-ios/commit/5de944db36f2d1512500dd50b8dc0135a8798e33

Thanks, Stephan!
Assignee: nobody → stephanleroux
Status: NEW → RESOLVED
Closed: 6 years ago
Hardware: x86 → ARM
Resolution: --- → FIXED
tracking-fennec: ? → +
You need to log in before you can comment on or make changes to this bug.