Closed Bug 856621 Opened 11 years ago Closed 5 years ago

UI thread DB access causes test failures

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: kats, Unassigned)

References

Details

There's a bunch of intermittent failures popping up (see bugs I'm adding as blockees) that all seem to have a very similar failure mechanism. The GeckoBackgroundThread is doing some sort of long-running operation with the history DB, the UI thread is also trying to do DB access (and gets blocked, because the GeckoBackgroundThread owns the DB lock), and then the FennecInstrumentationTestRunner thread times out because it's trying to do some "runOnUiThreadSync" operation.

We shouldn't be doing DB access on the UI thread anyway, and fixing that should solve this problem.
No longer depends on: 856728
Depends on: 859855

All the blockees are resolved, so closing this too.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.