Closed Bug 1630864 Opened 5 years ago Closed 5 years ago

Assertion failure: sid->cached == in_client_cache || sid->version >= SSL_LIBRARY_VERSION_TLS_1_3, at security/nss/lib/ssl/sslnonce.c:1210

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1531906

People

(Reporter: petr.sumbera, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

I have hit this several times on Solaris SPARC:

[Parent 5562, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED): file /builds/psumbera/FIREFOX/netwerk/protocol/http/nsHttpChannel.cpp, line 10199
Assertion failure: sid->cached == in_client_cache || sid->version >= SSL_LIBRARY_VERSION_TLS_1_3, at /builds/psumbera/FIREFOX/security/nss/lib/ssl/sslnonce.c:1210
Redirecting call to abort() to mozalloc_abort
Hit MOZ_CRASH() at /builds/psumbera/FIREFOX/memory/mozalloc/mozalloc_abort.cpp:33

Stack:

00007ab3c99eda01 libnspr4.soPR_Assert+0x5c(7ab3c7225300, 7ab3c7224e10, 4ba, 7ab3a8c41280, 7ab3a8c41280, 7ab3c8312640) 00007ab3c99edab1 libssl3.sossl3_SetSIDSessionTicket+0x1d8(7ab3908dbe60, 7ab38f9f16d0, bb2400, 2800, 7ab390eeef28, 1)
00007ab3c99edb61 libssl3.sossl3_FinishHandshake+0x78(7ab38f9f1000, 0, 7ab39117b580, 303, 7ab390eeefe8, 0) 00007ab3c99edc11 libssl3.sossl3_HandleHandshakeMessage+0x3924(7ab38f9f1000, 7ab3928e8004, c, 1, 1, 0)
00007ab3c99ede41 libssl3.sossl3_HandleNonApplicationData+0xa70(7ab38f9f1000, 7ab38f9f1698, 7ab3928e8004, 7ab3928e8004, 7ab38f9f12c0, c) 00007ab3c99edf01 libssl3.sossl3_HandleRecord+0x12ac(7ab38f9f1000, 7ab3c99eea48, 7ab3c7396048, 303, 1, 7ab39117b440)
00007ab3c99ee161 libssl3.sossl3_GatherCompleteHandshake+0xd24(7ab38f9f1000, 0, 0, 7ab390056c00, 28, 28) 00007ab3c99ee271 libssl3.soSSL_ForceHandshake+0x20c(7ab3986213d0, 7ab3c99eebd4, 13a, 0, 0, 7ab38f9f1000)
00007ab3c99ee321 libxul.sonsNSSSocketInfo::DriveHandshake+0xe8(7ab390a630e0, 7ab3c99eed10, 35a, 0, 0, 0) 00007ab3c99ee3e1 libxul.somozilla::net::nsHttpConnection::EnsureNPNComplete+0xbc8(7ab390056400, 7ab3c99eee40, 7ab3c99eee44, 7ab3a8c41280, 1, 0)
00007ab3c99ee571 libxul.somozilla::net::nsHttpConnection::OnSocketWritable+0x2a4(7ab390056400, 7ab3900564e8, 7ab3c99eee40, 80, 7ab3c99eee44, 80470002) 00007ab3c99ee651 libxul.somozilla::net::nsHttpConnection::OnOutputStreamReady+0x40(7ab390056400, 7ab3900562c0, 1f5, 82e2de, 0, 7ab390056228)
00007ab3c99ee701 libxul.somozilla::net::nsSocketOutputStream::OnSocketReady+0x110(7ab3900562c0, 0, 1e2, 78f76f, 0, 7ab390056210) 00007ab3c99ee7c1 libxul.somozilla::net::nsSocketTransport::OnSocketReady+0x200(7ab390056000, 7ab3986213d0, 2, ffffffff, 7ab3a9235c00, 7ab3a92888a0)
00007ab3c99ee891 libxul.somozilla::net::nsSocketTransportService::DoPollIteration+0x3c4(7ab3c85aeb00, 1, 7ab3c85aeb50, 1, 7ab3a9235c20, 7ab3c8525818) 00007ab3c99ee951 libxul.somozilla::net::nsSocketTransportService::Run+0x6f8(7ab3c85aeb00, 1c2a2b14598a3b, 7ab3c99ef24f, 0, 1c2a2b142839ea, 7fffffffffffffff)
00007ab3c99eea91 libxul.sonsThread::ProcessNextEvent+0x330(7ab3c6e72680, 7ab3c6e72748, 7ab3c99ef8f7, 0, 7ab3c6e726c0, 1bf790d2e32ef6) 00007ab3c99ef041 libxul.soNS_ProcessNextEvent+0x40(7ab3c6e72680, 0, 7ab3c99ef8e8, 7ab3c99efc68, 7ab3c99ef8e0, 0)
00007ab3c99ef101 libxul.somozilla::ipc::MessagePumpForNonMainThreads::Run+0x430(7ab3a9002780, 7ab3c99efc58, 13a, 7ab3a90027a0, 7ab3c6e72680, 0) 00007ab3c99ef1d1 libxul.soMessageLoop::RunInternal+0x78(7ab3c99efc58, 7ab3c99efc58, 7ab3b8016108, 10, 18, 7ab3a9002800)
00007ab3c99ef2b1 libxul.soMessageLoop::Run+0x38(7ab3c99efc58, 5, 7ab3c6e72680, 0, 0, 7ab3c99efb60) 00007ab3c99ef381 libxul.sonsThread::ThreadFunc+0x128(7c84a2f679b8, 4, 9d, ffffff, 7ab3c99efc58, 7ab3c6e72680)
00007ab3c99ef631 libnspr4.so_pt_root+0xfc(7ab3c6e41d40, 0, 1, 7ab3c833fcac, 0, 7ab3c844a490) 00007ab3c99ef6f1 libc.so.1_lwp_start(0, 0, 0, 0, 0, 0)

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Security: PSM
Product: Firefox → Core
Assignee: nobody → nobody
Component: Security: PSM → Libraries
Product: Core → NSS
QA Contact: jjones
Version: Trunk → other

Resetting severity to default of --.

Thanks for the report. This has been root-caused and soon to be patched in another bug, so I'll close this one.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.