Assertion failure: false (MOZ_ASSERT_UNREACHABLE: Shoud not be called), at checkouts/gecko/netwerk/protocol/http/HappyEyeballsTransaction.cpp:109
Categories
(Core :: Networking: HTTP, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox150 | --- | unaffected |
| firefox151 | --- | unaffected |
| firefox152 | --- | fixed |
People
(Reporter: tsmith, Assigned: kershaw)
References
(Blocks 1 open bug, Regression, )
Details
(Keywords: assertion, pernosco, regression, Whiteboard: [necko-triaged])
Attachments
(1 external file)
Found with m-c 20260508-9cb3c3b44e2a (--enable-debug)
This was found by visiting a live website with a debug build.
STR:
- Launch browser and visit site
This issue was triggered by visiting http://rainberrytv.com/. I have not been able to reproduce the issue. A Pernosco session is available here: https://pernos.co/debug/CPuNQC4EEZ_av9Emy3W7vw/index.html
Assertion failure: false (MOZ_ASSERT_UNREACHABLE: Shoud not be called), at checkouts/gecko/netwerk/protocol/http/HappyEyeballsTransaction.cpp:109
27|0|libxul.so|mozilla::net::HappyEyeballsTransaction::WriteSegments(mozilla::net::nsAHttpSegmentWriter*, unsigned int, unsigned int*)|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/HappyEyeballsTransaction.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|109|0x34
27|1|libxul.so|mozilla::net::nsHttpConnection::OnSocketReadable()|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/nsHttpConnection.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|1963|0x160
27|2|libxul.so|mozilla::net::nsHttpConnection::OnInputStreamReady(nsIAsyncInputStream*)|git:github.com/mozilla-firefox/firefox:netwerk/protocol/http/nsHttpConnection.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|2311|0x97
27|3|libxul.so|mozilla::net::nsSocketInputStream::OnSocketReady(nsresult)|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransport2.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|300|0xea
27|4|libxul.so|mozilla::net::nsSocketTransport::OnSocketReady(PRFileDesc*, short)|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransport2.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|2178|0xc0
27|5|libxul.so|mozilla::net::nsSocketTransportService::DoPollIteration()|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransportService2.cpp:3dd27643a077e21abdc994e09e34ab87b726b131||0x5e6
27|6|libxul.so|mozilla::net::nsSocketTransportService::Run()|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransportService2.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|1208|0x31d
27|7|libxul.so|{virtual override thunk({offset(-32)}, mozilla::net::nsSocketTransportService::Run())}|git:github.com/mozilla-firefox/firefox:netwerk/base/nsSocketTransportService2.cpp:3dd27643a077e21abdc994e09e34ab87b726b131||0xc
27|8|libxul.so|nsThread::ProcessNextEvent(bool, bool*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|1173|0x7b0
27|9|libxul.so|NS_ProcessNextEvent(nsIThread*, bool)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThreadUtils.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|472|0x4f
27|10|libxul.so|mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*)|git:github.com/mozilla-firefox/firefox:ipc/glue/MessagePump.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|297|0xc6
27|11|libxul.so|MessageLoop::Run()|git:github.com/mozilla-firefox/firefox:ipc/chromium/src/base/message_loop.cc:3dd27643a077e21abdc994e09e34ab87b726b131|346|0x61
27|12|libxul.so|nsThread::ThreadFunc(void*)|git:github.com/mozilla-firefox/firefox:xpcom/threads/nsThread.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|374|0x157
27|13|libnss3.so|_pt_root|git:github.com/mozilla-firefox/firefox:nsprpub/pr/src/pthreads/ptthread.c:3dd27643a077e21abdc994e09e34ab87b726b131|190|0x18f
27|14|libmozglue.so|set_alt_signal_stack_and_start(PthreadCreateParams*)|git:github.com/mozilla-firefox/firefox:mozglue/interposers/pthread_create_interposer.cpp:3dd27643a077e21abdc994e09e34ab87b726b131|81|0xd4
Updated•6 months ago
|
Comment 1•6 months ago
|
||
Set release status flags based on info from the regressing bug 2025276
| Assignee | ||
Updated•6 months ago
|
| Assignee | ||
Comment 2•6 months ago
|
||
When TryDispatchTransactionOnIdleConn steals a pending transaction while a Happy Eyeballs race has already entered 0-RTT, Finish0RTT finds that the real transaction has been closed and returns silently. This leaves HappyEyeballsTransaction in the Racing state on a live connection. The next socket callback then hits the WriteSegments MOZ_ASSERT_UNREACHABLE.
Comment 4•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Description
•