Closed Bug 1626359 Opened 5 years ago Closed 5 years ago

Crash in [@ mozilla::net::Http3Stream::WriteSegments]

Categories

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

Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox-esr68 --- unaffected
firefox74 --- unaffected
firefox75 --- unaffected
firefox76 --- fixed

People

(Reporter: dragana, Assigned: dragana)

References

(Blocks 1 open bug)

Details

(Keywords: crash, Whiteboard: [necko-triaged])

Crash Data

Attachments

(1 file)

This bug is for crash report bp-092696d9-39b3-4414-aa3b-34f750200330.

Top 10 frames of crashing thread:

0 libxul.so mozilla::net::Http3Stream::WriteSegments netwerk/protocol/http/Http3Stream.cpp:347
1 libxul.so mozilla::net::Http3Session::ProcessSingleTransactionRead netwerk/protocol/http/Http3Session.cpp:231
2 libxul.so mozilla::net::Http3Session::ProcessTransactionRead netwerk/protocol/http/Http3Session.cpp:264
3 libxul.so mozilla::net::Http3Session::ProcessSlowConsumers netwerk/protocol/http/Http3Session.cpp:809
4 libxul.so mozilla::net::Http3Session::WriteSegmentsAgain netwerk/protocol/http/Http3Session.cpp:835
5 libxul.so mozilla::net::HttpConnectionUDP::OnSocketReadable netwerk/protocol/http/HttpConnectionUDP.cpp:629
6 libxul.so mozilla::net::HttpConnectionUDP::OnInputStreamReady netwerk/protocol/http/HttpConnectionUDP.cpp:676
7 libxul.so mozilla::net::HttpConnectionUDPForceIO::Run netwerk/protocol/http/HttpConnectionUDP.cpp:365
8 libxul.so nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1220
9 libxul.so NS_ProcessNextEvent xpcom/threads/nsThreadUtils.cpp:481

The problem here is that ProcessSlowConsumers calls ProcessTransactionRead that may remove a stream.
I decide that I do not want to hold a raw pointer in mSlowConsumersReadyForRead (the raw pointers are copied from http2Session :( ).

Pushed by ddamjanovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4e054dda7330 Make mSlowConsumersReadyForRead actually hold references. r=kershaw
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: