Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2586

client encryption core dumped with failure message on Node 14

      On using the recently released Node 14, I get a crash with Illegal instruction (core dumped)

       

      #

      Fatal error in , line 0
      Check failed: result.second.
      #
      #
      #
      #FailureMessage Object: 0x7fff99dcd950
      1: 0xa96131 [node]
      2: 0x19614f4 V8_Fatal(char const*, ...) [node]
      3: 0xe58879 v8::internal::GlobalBackingStoreRegistry::Register(std::shared_ptr<v8::internal::BackingStore>) [node]
      4: 0xbc5798 v8::ArrayBuffer::GetBackingStore() [node]
      5: 0xa08559 node::Buffer::New(node::Environment*, char*, unsigned long, void (char*, void*), void*) [node]
      6: 0xa089c3 node::Buffer::New(v8::Isolate*, char*, unsigned long, void (char*, void*), void*) [node]
      7: 0x7fa314da493f BufferFromBinaryNoCopy(_mongocrypt_binary_t*) [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      8: 0x7fa314da704d [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      9: 0x7fa314dbe096 [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      10: 0x7fa314dbe727 [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      11: 0x7fa314dbf365 _mongocrypt_do_decryption [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      12: 0x7fa314daf0a5 [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      13: 0x7fa314daf304 [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      14: 0x7fa314db30cd mongocrypt_ctx_finalize [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      15: 0x7fa314da475a MongoCryptContext::Finalize(Nan::FunctionCallbackInfo<v8::Value> const&) [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      16: 0x7fa314da3059 [/home/philip/onc/PLUS/plus/node_modules/mongodb-client-encryption/build/Release/mongocrypt.node]
      17: 0xc02b0b [node]
      18: 0xc040b6 [node]
      19: 0xc04736 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node]
      20: 0x13a6339 [node]
       

      db.isMaster()

      {{ "hosts" : [ "mongodb:27017", "mongodb:27018" ], "setName" : "rs0", "setVersion" : 96154, "ismaster" : true, "secondary" : false, "primary" : "mongodb:27017", "me" : "mongodb:27017", "electionId" : ObjectId("7fffffff0000000000000d20"), "lastWrite" : { "opTime" :

      { "ts" : Timestamp(1588173166, 1), "t" : NumberLong(3360) }

      , "lastWriteDate" : ISODate("2020-04-29T15:12:46Z"), "majorityOpTime" :

      { "ts" : Timestamp(1588173166, 1), "t" : NumberLong(3360) }

      , "majorityWriteDate" : ISODate("2020-04-29T15:12:46Z") }, "maxBsonObjectSize" : 16777216, "maxMessageSizeBytes" : 48000000, "maxWriteBatchSize" : 100000, "localTime" : ISODate("2020-04-29T15:12:50.467Z"), "logicalSessionTimeoutMinutes" : 30, "connectionId" : 34, "minWireVersion" : 0, "maxWireVersion" : 8, "readOnly" : false, "ok" : 1, "$clusterTime" : { "clusterTime" : Timestamp(1588173166, 1), "signature" :

      { "hash" : BinData(0,"WYhtLd7MQV1cPvw5RZ/ENWipAZ4="), "keyId" : NumberLong("6772919995635597314") }

      }, "operationTime" : Timestamp(1588173166, 1)}

       

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            philip@satchel.scot philip ross
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: