Closed Bug 1180171 Opened 9 years ago Closed 8 years ago

Fatal Error: EXC_BAD_INSTRUCTION in password sync

Categories

(Firefox for iOS :: Sync, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: fluffyemily, Unassigned)

Details

When running current master (commit dc8adc69a48bef8bec50006bf1f4672e14921f07) I am getting an EXC_BAD_INSTRUCTION fatal error during password sync.

[DeferredDBOperation.swift:91] main(): Modified rows: 1.
fatal error: Form submit URL domain doesn't match login's domain.: file /Users/emilytoop/Development/firefox-ios/Storage/Logins.swift, line 142

values:

value: String? = "http://firezza-orders.com"
url2: NSURL? = "http://firezza.com"
url1: NSURL? = "http://firezza-orders.com"

There is an assertion suggesting that this is something that should never happen, but it does.

`assertionFailure("Form submit URL domain doesn't match login's domain.")`

It's probably not _that_serious as in production this should be handled without a crash, but it's really annoying in a debug build and slowing down debugging when an account is required.
This is just a warning now.

Storage/Logins.swift
155:                log.warning("Form submit URL domain doesn't match login's domain.")
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.