Closed Bug 1768067 Opened 2 years ago Closed 2 years ago

Remove the Assertion at nsHttpConnectionMgr.cpp:3380

Categories

(Core :: Networking: HTTP, enhancement, P3)

ARM64
macOS
enhancement

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox105 --- fixed

People

(Reporter: dlrobertson, Assigned: dlrobertson)

Details

(Keywords: good-first-bug, Whiteboard: [necko-triaged])

Attachments

(3 files)

With a Debug + ASan build on a Mac I hit this assertion when I run ./mach run =

Attached file moz_log.log

MOZ_LOG from ./mach run -MOZ_LOG=nsHttp:5 ...

Attached file stderr.log

The stderr from ./mach run =. There is a null deref there, but minimal testing makes me think it is happening due to the assert.

This assertion is hit because we are trying to connect = and = is an invalid host name.
Actually, I think this assertion should be removed, since there are various of reasons that we cannot establish a connection.

Severity: -- → N/A
Type: defect → enhancement
Keywords: good-first-bug
Priority: -- → P3
Summary: Assertion failure: NS_SUCCEEDED(rv) at nsHttpConnectionMgr.cpp:3380 → Remove the Assertion at nsHttpConnectionMgr.cpp:3380
Whiteboard: [necko-triaged]

Remove the assert checking that DnsAndConnectSocket succeeded. In
DoSpeculativeConnection there are various valid reasons that this
connection may fail.

Assignee: nobody → drobertson
Status: NEW → ASSIGNED
Pushed by drobertson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f47d305358df
Remove unneeded assert in DoSpeculativeConnectionInternal. r=kershaw,necko-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: