Closed Bug 1645486 Opened 5 years ago Closed 5 years ago

Assertion failure: IsOnTRRThread(), at netwerk/dns/TRRService.cpp:926

Categories

(Core :: Networking: DNS, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: kershaw, Assigned: kershaw)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

These two assertions are error prone.
Imagine the steps below.

  1. When network_trr_fetch_off_main_thread is true, we dispatch a TRR request to TRR background thread.
  2. network_trr_fetch_off_main_thread is changed to false.
  3. The TRR request in step 1 is completed and TRRService::CompleteLookup is called on TRR background thread.
  4. We hit the assertion.
Flags: needinfo?(valentin.gosu)
Flags: needinfo?(valentin.gosu)
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ab8a3004dd66 The TRR thread assertions should not depend on network_trr_fetch_off_main_thread pref r=valentin
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: