Crash in [@ neqo_http3conn_reset_stream] assertion failed: self.state_active()
Categories
(Core :: Networking: HTTP, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox72 | --- | disabled |
firefox73 | --- | disabled |
firefox74 | --- | fixed |
People
(Reporter: ezra, Assigned: dragana)
References
()
Details
(Keywords: crash, regression, Whiteboard: [necko-triaged])
Crash Data
Attachments
(1 file)
792.73 KB,
application/x-zip-compressed
|
Details |
This bug is for crash report bp-47a54ef4-843a-4220-84d6-92c2c0191206.
Also: https://crash-stats.mozilla.org/report/index/bdb3a7ed-eac9-4b4a-9eb5-e05f20191206
With pref network.http.http3.enabled enabled on the latest Fx Developer Edition (72) on Mac OS 10.14.6
Top 10 frames of crashing thread:
0 XUL RustMozCrash mozglue/static/rust/wrappers.cpp:17
1 XUL mozglue_static::panic_hook mozglue/static/rust/lib.rs:89
2 XUL core::ops::function::Fn::call src/libcore/ops/function.rs:69
3 XUL std::panicking::rust_panic_with_hook src/libstd/panicking.rs:481
4 XUL std::panicking::begin_panic src/libstd/panicking.rs:411
5 XUL neqo_http3conn_reset_stream netwerk/socket/neqo_glue/src/lib.rs:417
6 XUL mozilla::net::Http3Session::CloseStream netwerk/protocol/http/Http3Session.cpp:935
7 XUL mozilla::net::Http3Session::CloseTransaction netwerk/protocol/http/Http3Session.cpp:927
8 XUL mozilla::net::nsHttpConnectionMgr::OnMsgCancelTransaction netwerk/protocol/http/nsHttpConnectionMgr.cpp:2479
9 XUL mozilla::net::ConnEvent::Run netwerk/protocol/http/nsHttpConnectionMgr.cpp:261
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 2•5 years ago
•
|
||
Windows has a slightly different crash signature in bp-119a239a-a4ff-44ad-a418-c8ea30191210.
This crash is the same self.state_active()
assertion failed as neqo bug 1595779.
I have manually enabled the network.http.http3.enabled
pref and Fission (fission.autostart
pref). I hit this neqo crash seven times in 30 minutes today. I don't know if it's related, but I have a YouTube tab playing in the background.
Top 10 frames of crashing thread:
MOZ_CRASH Reason (Raw) assertion failed: self.state_active()
0 xul.dll RustMozCrash mozglue/static/rust/wrappers.cpp:16
1 xul.dll static void mozglue_static::panic_hook mozglue/static/rust/lib.rs:89
2 xul.dll static void core::ops::function::Fn::call<fn src/libcore/ops/function.rs:69
3 xul.dll static void std::panicking::rust_panic_with_hook src/libstd/panicking.rs:477
4 xul.dll static <NoType> std::panicking::begin_panic<str*> src/libstd/panicking.rs:407
5 xul.dll struct nserror::nsresult neqo_glue::neqo_http3conn_reset_stream netwerk/socket/neqo_glue/src/lib.rs:421
6 xul.dll void mozilla::net::Http3Session::CloseStream netwerk/protocol/http/Http3Session.cpp:935
7 xul.dll void mozilla::net::Http3Session::CloseTransaction netwerk/protocol/http/Http3Session.cpp:927
8 xul.dll void mozilla::net::nsHttpConnectionMgr::OnMsgCancelTransaction netwerk/protocol/http/nsHttpConnectionMgr.cpp:2483
9 xul.dll nsresult mozilla::net::ConnEvent::Run netwerk/protocol/http/nsHttpConnectionMgr.cpp:259
Comment 3•5 years ago
•
|
||
I am 99% certain that this YouTube video is causing my crash:
https://www.youtube.com/watch?v=TvUHt54Ucrg
I had that video playing in a background tab, but I can hit the crash immediately when loading that page in a foreground tab (even before I can see or hear the video playing).
Strangely (like my comments in bug 1595779 comment 13), I still hit this crash even though I set my network.http.http3.enabled
and fission.autostart
prefs back to false
. ?!
Reporter | ||
Comment 4•5 years ago
|
||
Hi,
Just updated to 72.0b5 and crashed again after enabling HTTP/3, but with another signature this time.
https://crash-stats.mozilla.org/report/index/63285095-ef8e-4a6d-afe9-52b400191211
Most of my testing is done on cloudflare sites, not sure if that helps, maybe their http/3 implementation and firefox's don't like each other. Also sites are slooooow with HTTP/3 on whenever firefox doesn't crash :)
Comment 5•5 years ago
|
||
https://crash-stats.mozilla.org/report/index/63285095-ef8e-4a6d-afe9-52b400191211
That looks like a different bug. Both the crash signature function and assertion reason are different. Probably worth filing a new bug for that crash.
[@ neqo_transport::send_stream::TxBuffer::mark_as_acked]
assertion failed: self.ranges.highest_offset() >= offset + len as u64
Reporter | ||
Comment 6•5 years ago
|
||
Cool,
Created https://bugzilla.mozilla.org/show_bug.cgi?id=1603240.
Assignee | ||
Comment 7•5 years ago
|
||
Chris, can you still reproduce it? If yes, can you capture a http log from me?
I think I know in which scenarion this can happen and I am going to fix it, but I would like to be sure I am not missing something.
Comment 8•5 years ago
|
||
(In reply to Dragana Damjanovic [:dragana] from comment #7)
Chris, can you still reproduce it? If yes, can you capture a http log from me?
I think I know in which scenarion this can happen and I am going to fix it, but I would like to be sure I am not missing something.
Yes. I'm still able to easily reproduce this crash by enabling http3 and playing this YouTube video: https://www.youtube.com/watch?v=TvUHt54Ucrg
I've attached an HTTP log.
Here are some of my crash reports:
bp-848d67e7-aa79-471c-861f-e4f150191220
bp-628a7534-b32b-4e76-9a85-486f90191220
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Comment 9•5 years ago
|
||
So, little update now that I'm on Fx 72.0b10.
I haven't crashed with b9 or b10 yet, but I think that is because Fx likes to use HTTP/2 a lot more lately even though the flag is on in about:config.
DevTools says HTTP/2 most of the time and only sometimes HTTP/3.
When it uses HTTP/3 it still sloooooow tho.
Reporter | ||
Comment 10•5 years ago
|
||
Well that didn't last long, crashed again but with a new signature so created a new bug here: https://bugzilla.mozilla.org/show_bug.cgi?id=1605751
Comment 11•5 years ago
|
||
I can still reproduce this crash (in 74 Nightly) after playing a couple seconds of the following YouTube video with network.http.http3.enabled enabled:
Comment 12•5 years ago
|
||
the signature is also spiking up on beta currently. are we running experiments with http/3 there currently (perhaps it's also users flipping the pref on their own)?
Comment 13•5 years ago
|
||
Do you have any idea why we'd be seeing this in the wild on non-Nightly channels? Is there any way to hit this crash without the pref set?
Assignee | ||
Comment 14•5 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #13)
Do you have any idea why we'd be seeing this in the wild on non-Nightly channels? Is there any way to hit this crash without the pref set?
no this can only happen whe QUIC/HTTP3 is on. Probably people are trying out quic..
Updated•5 years ago
|
Comment 15•5 years ago
|
||
I can no longer reproduce this crash. I assume it was fixed by a recent Neqo update.
There haven't been any neqo_http3conn_reset_stream
crash reports since 73.0b6. There was only one neqo_http3::connection_client::Http3Client::stream_reset
crash report in 74.0a1.
Updated•5 years ago
|
Comment 17•5 years ago
|
||
Bugbug thinks this bug is a regression, but please revert this change in case of error.
Description
•