Assertion failure 40379 in early startup

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: 8.2.1
    • Component/s: None
    • Server Security
    • ALL
    • Hide
      $ docker run -it --entrypoint bash mongo:8.2.1
      # mongod --help

      But it only happens on some hosts.

      Show
      $ docker run -it --entrypoint bash mongo:8.2.1 # mongod --help But it only happens on some hosts.
    • Server Security 2025-11-07, Server Security 2025-11-21
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am running the offical mongo docker image, which has mongo version 8.2.1. This image runs fine on at least one host, but fails with an assertion failure on another. I'm not sure why it would matter, but the host it fails on is not connected to the external internet, just intranet.

       

      I am attempting to debug by looking and things in a shell via `docker run it --privileged  -entrypoint bash mongo`

       

      The error, which happens after a simple `mongod --help` is:

      {"t":{"$date":"2025-10-29T18:56:46.031+00:00"},"s":"F",  "c":"ASSERT",   "id":23089,   "ctx":"main","msg":"Fatal assertion","attr":{"msgid":40379,"location":"src/mongo/crypto/sha_block_openssl.cpp:163:5:void mongo::{anonymous}::computeHashImpl(const EVP_MD*, std::initializer_list<mongo::ConstDataRange>, HashType*) [with HashType = mongo::MakeArrayType<unsigned char, 32, mongo::SHA256BlockTraits>; EVP_MD = evp_md_st]"}}
      {"t":{"$date":"2025-10-29T18:56:46.032+00:00"},"s":"F",  "c":"ASSERT",   "id":23090,   "ctx":"main","msg":"\n\n***aborting after fassert() failure\n\n"}

      I do not see any other indications of an error `/var/log` or `dmesg` output. I attempted to run with `-vvvvv` but the output is unchanged.

       

      Any insights or debugging suggestions would be very welcome!

       

      I'm leaving the priority at the default P1 – it's a blocker for me, but I don't think this error is common. I do see that it cropped up in 2024: https://www.mongodb.com/community/forums/t/fatal-assertion-possibly-related-to-openssl/303821

            Assignee:
            Chye Lin Chee
            Reporter:
            Nigel Stepp
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: