Crash in [@ mozilla::net::nsHttpConnection::OnWriteSegment]
Categories
(Core :: Networking: HTTP, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox74 | --- | disabled |
firefox75 | --- | disabled |
firefox76 | --- | fixed |
People
(Reporter: gsvelto, Assigned: dragana)
References
(Blocks 1 open bug)
Details
(Keywords: crash, regression, Whiteboard: [necko-triaged])
Crash Data
This bug is for crash report bp-fa15e465-9e00-45c9-9d3d-c33850200215.
Top 10 frames of crashing thread:
0 xul.dll mozilla::net::nsHttpConnection::OnWriteSegment netwerk/protocol/http/nsHttpConnection.cpp:2192
1 xul.dll mozilla::net::Http3Session::ProcessInput netwerk/protocol/http/Http3Session.cpp:200
2 xul.dll mozilla::net::Http3Session::Process netwerk/protocol/http/Http3Session.cpp:354
3 xul.dll mozilla::net::nsHttpConnection::EnsureNPNCompleteHttp3 netwerk/protocol/http/nsHttpConnection.cpp:749
4 xul.dll mozilla::net::nsHttpConnection::OnSocketWritable netwerk/protocol/http/nsHttpConnection.cpp:2079
5 xul.dll mozilla::net::nsHttpConnection::OnOutputStreamReady netwerk/protocol/http/nsHttpConnection.cpp:2639
6 xul.dll mozilla::net::nsSocketOutputStream::OnSocketReady netwerk/base/nsSocketTransport2.cpp:517
7 xul.dll mozilla::net::nsSocketTransport::OnSocketReady netwerk/base/nsSocketTransport2.cpp:2319
8 xul.dll mozilla::net::nsSocketTransportService::Run netwerk/base/nsSocketTransportService2.cpp:1095
9 xul.dll nsThread::ProcessNextEvent xpcom/threads/nsThread.cpp:1220
This looks like a NULL-pointer crash, this seems to have started in buildid 20200214100511.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
This is QUIC only issue and QUIC is turned off by default.
Updated•5 years ago
|
(In reply to Dragana Damjanovic [:dragana] from comment #1)
This is QUIC only issue and QUIC is turned off by default.
Is QUIC controlled by network.http.http3.enabled
? I have it set to false (default) and my browser crashed just now with this signature.
Nightly 20200223093951 on Linux.
Comment 3•5 years ago
|
||
Can you share your crash report id?
Three in few minutes interval from 20 February:
- https://crash-stats.mozilla.org/report/index/bc8b0fad-58aa-4e76-9d44-bfac80200220
- https://crash-stats.mozilla.org/report/index/e31cc00d-9bbf-4e03-997d-72dd10200220
- https://crash-stats.mozilla.org/report/index/03fa18e9-5424-433a-8711-5c0b80200220
I found this bug, and checked the status of network.http.http3.enabled
- it was disabled, but I was not sure if it was disabled before the crash.
And from 23: https://crash-stats.mozilla.org/report/index/f0f90189-0416-4303-b3ec-783150200223
This time I'm sure it was disabled.
Comment 5•5 years ago
|
||
Dragana, can you take another look how this can affect profiles with http3 disabled?
Assignee | ||
Comment 6•5 years ago
|
||
Did you have the pref enabled at some point in time?
I see it on my list of prefs to observe, so it might have been touched before February 20. I'm sure it was disabled when I looked for it on February 20. I then accidentally toggled it few times (double click when selecting). I'm also sure It was disabled after that (including February 23).
Assignee | ||
Comment 8•5 years ago
|
||
(In reply to gwarser from comment #7)
I see it on my list of prefs to observe, so it might have been touched before February 20. I'm sure it was disabled when I looked for it on February 20. I then accidentally toggled it few times (double click when selecting). I'm also sure It was disabled after that (including February 23).
I will add another check for the pref to make sure that cached alt-svc are not used as well.
(In reply to Dragana Damjanovic [:dragana] from comment #8)
(In reply to gwarser from comment #7)
...to make sure that cached alt-svc are not used as well.
This cache can be cleared somehow? Does clearing everything from Ctrl+Shift+Del dialog except "Browsing & Download History" will help? Because I did this two days ago and still getting these crashes. Additionally today I see new but similar signature: "mozilla::net::HttpConnectionUDP::OnWriteSegment".
- https://crash-stats.mozilla.org/report/index/9453fc19-fe80-48bf-80e4-f50d40200228
- https://crash-stats.mozilla.org/report/index/e03f8245-bbcf-4ea6-a997-31cce0200228
UDP:
- https://crash-stats.mozilla.org/report/index/ce44debe-addf-463c-baf1-9139d0200229
- https://crash-stats.mozilla.org/report/index/8077b82c-fbe6-4283-8757-198870200229
- https://crash-stats.mozilla.org/report/index/b15ccce8-7ffd-4047-aa2c-098400200229
- https://crash-stats.mozilla.org/report/index/be554247-9ff8-46b0-bc54-94cc80200229
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
(In reply to gwarser from comment #9)
(In reply to Dragana Damjanovic [:dragana] from comment #8)
(In reply to gwarser from comment #7)
...to make sure that cached alt-svc are not used as well.This cache can be cleared somehow? Does clearing everything from Ctrl+Shift+Del dialog except "Browsing & Download History" will help? Because I did this two days ago and still getting these crashes. Additionally today I see new but similar signature:
I think this cache is not deleted by that.
Assignee | ||
Comment 12•5 years ago
|
||
Bug 1619793 should fix the issue that http3 is used if it disabled (this can happen only if the pref has been enabled in the past).
The crash maybe be (most probably) fixed by bug 1619764.
Assignee | ||
Comment 13•5 years ago
|
||
(In reply to gwarser from comment #9)
(In reply to Dragana Damjanovic [:dragana] from comment #8)
(In reply to gwarser from comment #7)
...to make sure that cached alt-svc are not used as well.This cache can be cleared somehow? Does clearing everything from Ctrl+Shift+Del dialog except "Browsing & Download History" will help? Because I did this two days ago and still getting these crashes. Additionally today I see new but similar signature: "mozilla::net::HttpConnectionUDP::OnWriteSegment".
- https://crash-stats.mozilla.org/report/index/9453fc19-fe80-48bf-80e4-f50d40200228
- https://crash-stats.mozilla.org/report/index/e03f8245-bbcf-4ea6-a997-31cce0200228
UDP:
- https://crash-stats.mozilla.org/report/index/ce44debe-addf-463c-baf1-9139d0200229
- https://crash-stats.mozilla.org/report/index/8077b82c-fbe6-4283-8757-198870200229
- https://crash-stats.mozilla.org/report/index/b15ccce8-7ffd-4047-aa2c-098400200229
- https://crash-stats.mozilla.org/report/index/be554247-9ff8-46b0-bc54-94cc80200229
gwarser, can you try to make a http log for me:
https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging
I am not sure how this crash is possible at all.
Thanks!
(you can send the log to me directly, the log may contain e.g. cookies)
Comment 14•5 years ago
|
||
gwarser, can you try to make a http log for me
You mean up until it crashes?(can take some time) Or until something http3 specific is logged?
I'll just set it with rotate:100 (enough?) - will see.
Assignee | ||
Comment 15•5 years ago
|
||
(In reply to gwarser from comment #14)
gwarser, can you try to make a http log for me
You mean up until it crashes?(can take some time) Or until something http3 specific is logged?
Until crash
I'll just set it with rotate:100 (enough?) - will see.
I think it should be enough.
Comment 16•5 years ago
|
||
(In reply to Dragana Damjanovic [:dragana] from comment #15)
I sent you the log.
Assignee | ||
Comment 17•5 years ago
|
||
(In reply to gwarser from comment #16)
(In reply to Dragana Damjanovic [:dragana] from comment #15)
I sent you the log.
Thank you very much for the log. It is a race condition that I will fix soon.
If you update Nightly this will happen much less frequently, almost never. This race and another bug, that is already fixed, make this happen often in your Nightly.
Assignee | ||
Comment 18•5 years ago
|
||
This will be fixed by bug 1622861.
Comment 19•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Description
•