force storage service to init on main thread

RESOLVED FIXED

Status

()

Toolkit
Safe Browsing
RESOLVED FIXED
12 years ago
4 years ago

People

(Reporter: Tony Chang (Google), Assigned: Tony Chang (Google))

Tracking

({fixed1.8.1})

Trunk
fixed1.8.1
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

12 years ago
On branch:
 WARNING: NS_ENSURE_TRUE(nsIThread::IsMainThread()) failed, file /builds/tinderbox/Fx-Mozilla1.8-gcc3.4/Linux_2.4.7-10_Depend/mozilla/storage/src/mozStorageService.cpp, line 74
  WARNING: NS_ENSURE_TRUE(NS_SUCCEEDED(rv)) failed, file /builds/tinderbox/Fx-Mozilla1.8-gcc3.4/Linux_2.4.7-10_Depend/mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp, line 429
  ###!!! ASSERTION: Unable to open database: 'Error', file /builds/tinderbox/Fx-Mozilla1.8-gcc3.4/Linux_2.4.7-10_Depend/mozilla/toolkit/components/url-classifier/src/nsUrlClassifierDBService.cpp, line 202

We need to make sure mozStorageService is initialized on the main thread.
(Assignee)

Comment 1

12 years ago
Created attachment 224032 [details] [diff] [review]
v1: init storageService
Attachment #224032 - Flags: review?(darin)
Attachment #224032 - Flags: approval-branch-1.8.1?(darin)

Updated

12 years ago
Attachment #224032 - Flags: review?(darin)
Attachment #224032 - Flags: review+
Attachment #224032 - Flags: approval-branch-1.8.1?(darin)
Attachment #224032 - Flags: approval-branch-1.8.1+
(Assignee)

Comment 2

12 years ago
on branch and trunk
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Component: Phishing Protection → Phishing Protection
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.