Closed Bug 1686075 Opened 5 years ago Closed 5 years ago

Unreported heap-unclassified memory for "mozilla::psm::NSSCertDBTrustDomain::GetCertTrust"

Categories

(Core :: Security: PSM, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1677866

People

(Reporter: whimboo, Unassigned)

Details

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:86.0) Gecko/20100101 Firefox/86.0 ID:20210108215736

As seen while running a DMD enabled Nightly build:

Unreported {
  67 blocks in heap block record 4 of 29,314
  6,619,904 bytes (6,552,672 requested / 67,232 slop)
  Individual block sizes: 3,280,896; 823,296; 413,696 x 4; 208,896 x 3; 106,496; 16,384 x 4; 4,096 x 7; 2,048 x 9; 1,024 x 9; 416 x 7; 224 x 3; 128 x 18
  1.05% of the heap (11.38% cumulative)
  3.05% of unreported (32.99% cumulative)
  Allocated at {
    #01: hashbrown::raw::RawTable$LT$T$GT$::reserve_rehash::ha83cec2e902e1459 (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x5dd6c28)
    #02: cert_storage::SecurityState::load_crlite_stash_from::h0e5afee1bf4bee89 (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x5dd8b56)
    #03: cert_storage::SecurityState::open_db::hf9f1b12608a2b41e (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x20f43c4)
    #04: cert_storage::CertStorage::allocate::GetRevocationState::h2e2691ed39336c61 (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x20f764a)
    #05: mozilla::psm::NSSCertDBTrustDomain::GetCertTrust(mozilla::pkix::EndEntityOrCA, mozilla::pkix::CertPolicyId const&, mozilla::pkix::Input, mozilla::pkix::TrustLevel&) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x4c20e2)
    #06: mozilla::pkix::CheckIssuerIndependentProperties(mozilla::pkix::TrustDomain&, mozilla::pkix::BackCert const&, mozilla::pkix::Time, mozilla::pkix::KeyUsage, mozilla::pkix::KeyPurposeId, mozilla::pkix::CertPolicyId const&, unsigned int, mozilla::pkix::TrustL (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x14f17c1)
    #07: mozilla::pkix::BuildForward(mozilla::pkix::TrustDomain&, mozilla::pkix::BackCert const&, mozilla::pkix::Time, mozilla::pkix::KeyUsage, mozilla::pkix::KeyPurposeId, mozilla::pkix::CertPolicyId const&, mozilla::pkix::Input const*, unsigned int, unsigned int (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x14ef28c)
    #08: mozilla::pkix::BuildCertChain(mozilla::pkix::TrustDomain&, mozilla::pkix::Input, mozilla::pkix::Time, mozilla::pkix::EndEntityOrCA, mozilla::pkix::KeyUsage, mozilla::pkix::KeyPurposeId, mozilla::pkix::CertPolicyId const&, mozilla::pkix::Input const*) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x14ef5a0)
    #09: mozilla::psm::BuildCertChainForOneKeyUsage(mozilla::psm::NSSCertDBTrustDomain&, mozilla::pkix::Input, mozilla::pkix::Time, mozilla::pkix::KeyUsage, mozilla::pkix::KeyUsage, mozilla::pkix::KeyUsage, mozilla::pkix::KeyPurposeId, mozilla::pkix::CertPolicyId  (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x2527d82)
    #10: mozilla::psm::CertVerifier::VerifyCert(CERTCertificateStr*, long long, mozilla::pkix::Time, void*, char const*, std::__1::unique_ptr<CERTCertListStr, mozilla::UniqueCERTCertListDeletePolicy>&, unsigned int, mozilla::Maybe<nsTArray<nsTArray<unsigned char>  (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x252717f)
    #11: mozilla::psm::CertVerifier::VerifySSLServerCert(std::__1::unique_ptr<CERTCertificateStr, mozilla::UniqueCERTCertificateDeletePolicy> const&, mozilla::pkix::Time, void*, nsTSubstring<char> const&, std::__1::unique_ptr<CERTCertListStr, mozilla::UniqueCERTCe (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x2527f41)
    #12: mozilla::psm::SSLServerCertVerificationJob::Run() (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x14e2192)
    #13: nsThreadPool::Run() (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x56d6d7)
    #14: nsThread::ProcessNextEvent(bool, bool*) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x56623f)
    #15: mozilla::ipc::MessagePumpForNonMainThreads::Run(base::MessagePump::Delegate*) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x781911)
    #16: MessageLoop::Run() (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x74ff80)
    #17: nsThread::ThreadFunc(void*) (/Applications/FirefoxNightly.app/Contents/MacOS/XUL + 0x562bd4)
    #18: _pt_root (/Applications/FirefoxNightly.app/Contents/MacOS/libnss3.dylib + 0xd63ba)
    #19: _pthread_start (/usr/lib/system/libsystem_pthread.dylib + 0x6950)
    #20: thread_start (/usr/lib/system/libsystem_pthread.dylib + 0x247b)
  }
}

Feel free to adjust the summary of the bug if it's not the correct frame where it should be reported.

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