Fatal Error: EXC_BAD_INSTRUCTION in password sync

RESOLVED FIXED

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: fluffyemily, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.