Skip to content

[Bug]: jstests/core/collmod_without_uuid.js crashed in mongo::UUIDCatalogObserver::onCollMod #465

@xiexiaoy

Description

@xiexiaoy

http://35.222.141.150:8080/teams/main/pipelines/eloqdoc-pr-ent/jobs/compile-test/builds/28

#0  0x00007e7e1c510b2c in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007e7e1c4b727e in raise () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007e7e1e4cd838 in mongo::(anonymous namespace)::endProcessWithSignal (signalNum=11) at src/mongo/util/signal_handlers_synchronous.cpp:89
#3  0x00007e7e1e4ce2bf in mongo::(anonymous namespace)::abruptQuitWithAddrSignal (signalNum=11, siginfo=0x7e7dddbfc7f0) at src/mongo/util/signal_handlers_synchronous.cpp:278
#4  0x00007e7e0ef837c0 in AsmJSFaultHandler (signum=11, info=0x7e7dddbfc7f0, context=0x7e7dddbfc6c0) at src/third_party/mozjs-45/extract/js/src/asmjs/AsmJSSignalHandlers.cpp:1159
#5  <signal handler called>
#6  0x00007e7e1e67fbb8 in std::__uniq_ptr_impl<mongo::Collection::Impl, std::default_delete<mongo::Collection::Impl> >::_M_ptr (this=0x10) at /usr/include/c++/13/bits/unique_ptr.h:199
#7  0x00007e7e1e67ac28 in std::unique_ptr<mongo::Collection::Impl, std::default_delete<mongo::Collection::Impl> >::get (this=0x10) at /usr/include/c++/13/bits/unique_ptr.h:470
#8  0x00007e7e1e674c7a in std::unique_ptr<mongo::Collection::Impl, std::default_delete<mongo::Collection::Impl> >::operator* (this=0x10) at /usr/include/c++/13/bits/unique_ptr.h:454
#9  0x00007e7e1c157c2f in mongo::Collection::_impl (this=0x0) at src/mongo/db/catalog/collection.h:803
#10 0x00007e7e1c1577bb in mongo::Collection::uuid (this=0x0) at src/mongo/db/catalog/collection.h:402
#11 0x00007e7e13c8c4ae in mongo::UUIDCatalogObserver::onCollMod (this=0x3e5461346a0, opCtx=0x3e5792d2580, nss=..., uuid=..., collModCmd=..., oldCollOptions=..., ttlInfo=...) at src/mongo/db/catalog/uuid_catalog.cpp:69
#12 0x00007e7e1e6715b5 in mongo::OpObserverRegistry::onCollMod (this=0x3e546d0f7e0, opCtx=0x3e5792d2580, nss=..., uuid=..., collModCmd=..., oldCollOptions=..., ttlInfo=...) at src/mongo/db/op_observer_registry.h:135
#13 0x00007e7e1ac4f113 in mongo::(anonymous namespace)::_collModInternal (opCtx=0x3e5792d2580, nss=..., cmdObj=..., result=0x7e7dddbfde30, upgradeUniqueIndexes=false, uuid=...) at src/mongo/db/catalog/coll_mod.cpp:470
#14 0x00007e7e1ac4ffd7 in mongo::collModWithUpgrade (opCtx=0x3e5792d2580, nss=..., cmdObj=...) at src/mongo/db/catalog/coll_mod.cpp:564
#15 0x00007e7e194d343c in operator() (__closure=0x7e7dddbfe4c0, opCtx=0x3e5792d2580, ns=0x7e7dddbfe420 "test.$cmd", ui=..., cmd=..., opTime=..., mode=mongo::repl::OplogApplication::Mode::kApplyOpsCmd) at src/mongo/db/repl/oplog.cpp:827
#16 0x00007e7e194e0e19 in std::__invoke_impl<mongo::Status, mongo::repl::(anonymous namespace)::<lambda(mongo::OperationContext*, char const*, const mongo::BSONElement&, mongo::BSONObj&, const mongo::repl::OpTime&, mongo::repl::OplogApplication::Mode)>&, mongo::OperationContext*, char const*, const mongo::BSONElement&, mongo::BSONObj&, const mongo::repl::OpTime&, mongo::repl::OplogApplication::Mode>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/13/bits/invoke.h:61
#17 0x00007e7e194def5a in std::__invoke_r<mongo::Status, mongo::repl::(anonymous namespace)::<lambda(mongo::OperationContext*, char const*, const mongo::BSONElement&, mongo::BSONObj&, const mongo::repl::OpTime&, mongo::repl::OplogApplication::Mode)>&, mongo::OperationContext*, char const*, const mongo::BSONElement&, mongo::BSONObj&, const mongo::repl::OpTime&, mongo::repl::OplogApplication::Mode>(struct {...} &) (__fn=...) at /usr/include/c++/13/bits/invoke.h:116
#18 0x00007e7e194dd04c in std::_Function_handler<mongo::Status(mongo::OperationContext*, char const*, const mongo::BSONElement&, mongo::BSONObj&, const mongo::repl::OpTime&, mongo::repl::OplogApplication::Mode), mongo::repl::(anonymous namespace)::<lambda(mongo::OperationContext*, char const*, const mongo::BSONElement&, mongo::BSONObj&, const mongo::repl::OpTime&, mongo::repl::OplogApplication::Mode)> >::_M_invoke(const std::_Any_data &, mongo::OperationContext *&&, const char *&&, const mongo::BSONElement &, mongo::BSONObj &, const mongo::repl::OpTime &, mongo::repl::OplogApplication::Mode &&) (__functor=..., __args#0=@0x7e7dddbfe208: 0x3e5792d2580, __args#1=@0x7e7dddbfe200: 0x7e7dddbfe420 "test.$cmd", __args#2=..., __args#3=..., __args#4=..., __args#5=@0x7e7dddbfe278: mongo::repl::OplogApplication::Mode::kApplyOpsCmd) at /usr/include/c++/13/bits/std_function.h:291
#19 0x00007e7e194eb969 in std::function<mongo::Status (mongo::OperationContext*, char const*, mongo::BSONElement const&, mongo::BSONObj&, mongo::repl::OpTime const&, mongo::repl::OplogApplication::Mode)>::operator()(mongo::OperationContext*, char const*, mongo::BSONElement const&, mongo::BSONObj&, mongo::repl::OpTime const&, mongo::repl::OplogApplication::Mode) const (this=0x7e7dddbfe4c0, __args#0=0x3e5792d2580, __args#1=0x7e7dddbfe420 "test.$cmd", __args#2=..., __args#3=..., __args#4=..., __args#5=mongo::repl::OplogApplication::Mode::kApplyOpsCmd)
    at /usr/include/c++/13/bits/std_function.h:591
#20 0x00007e7e194da423 in mongo::repl::applyCommand_inlock (opCtx=0x3e5792d2580, op=..., mode=mongo::repl::OplogApplication::Mode::kApplyOpsCmd) at src/mongo/db/repl/oplog.cpp:1608
#21 0x00007e7e194b2450 in operator() (__closure=0x7e7dddbfeb80) at src/mongo/db/repl/apply_ops.cpp:205
#22 0x00007e7e194b2dc3 in mongo::writeConflictRetry<mongo::repl::(anonymous namespace)::_applyOps(mongo::OperationContext*, const std::string&, const mongo::BSONObj&, const mongo::repl::ApplyOpsCommandInfo&, mongo::repl::OplogApplication::Mode, mongo::BSONObjBuilder*, int*, mongo::BSONArrayBuilder*)::<lambda()> >(mongo::OperationContext *, mongo::StringData, mongo::StringData, struct {...} &&) (opCtx=0x3e5792d2580, opStr=..., ns=..., f=...) at src/mongo/db/concurrency/write_conflict_exception.h:91
#23 0x00007e7e194b37be in mongo::repl::(anonymous namespace)::_applyOps (opCtx=0x3e5792d2580, dbName="test", applyOpCmd=..., info=..., oplogApplicationMode=mongo::repl::OplogApplication::Mode::kApplyOpsCmd, result=0x7e7dddbff010, numApplied=0x7e7dddbfec88, opsBuilder=0x0)
    at src/mongo/db/repl/apply_ops.cpp:198
#24 0x00007e7e194b5aa3 in mongo::repl::applyOps (opCtx=0x3e5792d2580, dbName="test", applyOpCmd=..., oplogApplicationMode=mongo::repl::OplogApplication::Mode::kApplyOpsCmd, result=0x7e7dddbff010) at src/mongo/db/repl/apply_ops.cpp:416
#25 0x00007e7e186b12c4 in mongo::(anonymous namespace)::ApplyOpsCmd::run (this=0x7e7e187bb080 <mongo::(anonymous namespace)::applyOpsCmd>, opCtx=0x3e5792d2580, dbname="test", cmdObj=..., result=...) at src/mongo/db/commands/apply_ops_cmd.cpp:265
#26 0x00007e7e14f5a316 in mongo::BasicCommand::Invocation::run (this=0x3e5e004a200, opCtx=0x3e5792d2580, result=0x7e7dddbff160) at src/mongo/db/commands.cpp:449
#27 0x00007e7e1235fb36 in mongo::(anonymous namespace)::runCommandImpl (opCtx=0x3e5792d2580, invocation=0x3e5e004a200, request=..., replyBuilder=0x3e57812e100, startOperationTime=..., behaviors=..., extraFieldsBuilder=0x7e7dddbff510, sessionOptions=..., atomicCmd=false)
    at src/mongo/db/service_entry_point_common.cpp:607
#28 0x00007e7e12362c2f in mongo::(anonymous namespace)::execCommandDatabase (opCtx=0x3e5792d2580, command=0x7e7e187bb080 <mongo::(anonymous namespace)::applyOpsCmd>, request=..., replyBuilder=0x3e57812e100, behaviors=...) at src/mongo/db/service_entry_point_common.cpp:969
#29 0x00007e7e12363f3e in operator() (__closure=0x7e7dddbff970) at src/mongo/db/service_entry_point_common.cpp:1108
#30 0x00007e7e12364825 in mongo::(anonymous namespace)::receivedCommands (opCtx=0x3e5792d2580, message=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:1123
#31 0x00007e7e1236763b in mongo::ServiceEntryPointCommon::handleRequest (opCtx=0x3e5792d2580, m=..., behaviors=...) at src/mongo/db/service_entry_point_common.cpp:1471
#32 0x00007e7e1c034112 in mongo::ServiceEntryPointMongod::handleRequest (this=0x3e546c34200, opCtx=0x3e5792d2580, m=...) at src/mongo/db/service_entry_point_mongod.cpp:123
#33 0x00007e7e171ba4f2 in mongo::ServiceStateMachine::_processMessage (this=0x3e5f8060710, guard=...) at src/mongo/transport/service_state_machine.cpp:480
#34 0x00007e7e171b1f27 in operator() (__closure=0x7e7dddbfff18, sink=...) at src/mongo/transport/service_state_machine.cpp:601
#35 0x00007e7e171b74fc in std::__invoke_impl<boost::context::continuation, mongo::ServiceStateMachine::_runNextInGuard(ThreadGuard)::<lambda(boost::context::continuation&&)>&, boost::context::continuation>(std::__invoke_other, struct {...} &) (__f=...) at /usr/include/c++/13/bits/invoke.h:61
#36 0x00007e7e171b72c8 in std::__invoke<mongo::ServiceStateMachine::_runNextInGuard(ThreadGuard)::<lambda(boost::context::continuation&&)>&, boost::context::continuation>(struct {...} &) (__fn=...) at /usr/include/c++/13/bits/invoke.h:97
#37 0x00007e7e171b6e87 in std::invoke<mongo::ServiceStateMachine::_runNextInGuard(ThreadGuard)::<lambda(boost::context::continuation&&)>&, boost::context::continuation>(struct {...} &) (__fn=...) at /usr/include/c++/13/functional:114
#38 0x00007e7e171b6817 in boost::context::detail::record<boost::context::continuation, mongo::ServiceStateMachine::NoopAllocator, mongo::ServiceStateMachine::_runNextInGuard(ThreadGuard)::<lambda(boost::context::continuation&&)> >::run(boost::context::detail::fcontext_t) (
    this=0x7e7dddbfff00, fctx=0x7e7dfd69dd78) at /usr/include/boost/context/continuation_fcontext.hpp:160
#39 0x00007e7e171b5ff2 in boost::context::detail::context_entry<boost::context::detail::record<boost::context::continuation, mongo::ServiceStateMachine::NoopAllocator, mongo::ServiceStateMachine::_runNextInGuard(ThreadGuard)::<lambda(boost::context::continuation&&)> > >(boost::context::detail::transfer_t) (t=...) at /usr/include/boost/context/continuation_fcontext.hpp:97
#40 0x00007e7e12d601f7 in make_fcontext () from /lib/x86_64-linux-gnu/libboost_context.so.1.83.0
#41 0x0000000000000000 in ?? ()
(gdb) f 10
#10 0x00007e7e1c1577bb in mongo::Collection::uuid (this=0x0) at src/mongo/db/catalog/collection.h:402
402	        return this->_impl().uuid();
(gdb) f 11
#11 0x00007e7e13c8c4ae in mongo::UUIDCatalogObserver::onCollMod (this=0x3e5461346a0, opCtx=0x3e5792d2580, nss=..., uuid=..., collModCmd=..., oldCollOptions=..., ttlInfo=...) at src/mongo/db/catalog/uuid_catalog.cpp:69
69	    invariant(
(gdb) p catalogColl
$1 = std::shared_ptr<mongo::Collection> (empty) = {get() = 0x0}

(gdb) p catalog._catalog
$3 = std::unordered_map with 74 elements = {[{static kNumBytes = 16, _uuid = {_M_elems = "\303\226'\277~\215Kk\213\263\206\270su\030&"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e62a832fa0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "*-7\320 \177M\260\232\337\275\032\224\324 _"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c02cb20}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "m\215\031U\251\000MZ\217J~\201'\371@\356"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c02b5e0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\303\310\032}e\256I[\207\006\360\b\240\300\027\214"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e62a83b800}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "S\240\361\314\n\025D\267\247\215\267\221*\333\345\247"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c02ed80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\370X24\2607D\205\247\177CW\316y\177\310"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c023f00}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "Q\350\360\254\227\"G\231\214T\023K\360\017\247\274"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec01a280}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\244Yl\3742)L\315\250K,\001\301\212\263\314"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c020100}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\346\276\265(S\274A\016\221\026\272\"FI\022\266"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec017560}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "s\004f\277\244JE\273\227\323\2039>d\247\026"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e6120696c0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\017\032\031T\224\023Dw\265\247\272\262\034\255\317P"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0012680}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\356D\222_\211\277D\005\237\336\222^M\372\022\310"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04c9a0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "Im\351\a\304\020H`\216&\337\211\350\360/y"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e578142dc0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\031\271\330\253\316\251D\233\265\246\246\247\223{\203c"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04b520}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "1\320\\s\350TO\317\212>x\r\300\260\370\204"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5781453a0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "S\336\351%\266\361@\267\244t\371\323\026@!e"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0013220}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\216\f\241\242\232&K7\230 t}\315\004!\206"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c023f80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "i[\r1\322\221N\356\223\023{\002_y\277\206"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c044140}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "a\262$S nM\232\201\322*CwP3\006"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04be40}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "-\032\232\312g[J\234\266|\202~W\303\241\v"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04b5c0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "?\034\303\341\021\vJ\374\250\302b\bc\335\266%"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c041100}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\345K\272L\255+Oc\243\260\367\245\350\025\222\262"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c048f20}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\203\304\210\236\345\"O\231\232\223(\372\353\206\323~"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c0235c0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\357y\243$\353oI\034\244u\343\262p\326\334U"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0012dc0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "`\220\177)n\220A\215\263\205\244\240\252\321\257\267"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c049020}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\324`\256\333qkM\271\200?\360\346\256\270\352\200"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c046de0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "r\241\003g\306\360Jj\204\274\221\302\256\233\005\305"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e578148fc0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\347\034P\373\215\aK\317\246\252M\263V\a~]"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0013de0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\364q\020g\022kL+\264\322\032\230h\375\210\251"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e63c02f520}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "g\340\362\031\374\257H.\227'\003\257\211*\260\003"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec012b80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\032]b\235Pk@\314\230\326\312\222\325\351\315\261"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec0118c0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\316\215\310\230\335\032K-\200D\276\2462Oti"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec0110e0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\357O\300\016n\302A\365\225++\342\021\300\006\236"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c043e40}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "fg\212\307Z\264Bw\200A\362\307\a\353gQ"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c0454a0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\213\002\347\372\320ZE\201\276\030\352\3774\335D\215"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec010d00}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\223\364Vj+\\JP\246\315\340\276  \fL"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0010900}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "9\\\026\037\003{L\000\277\251I|A\260\020k"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec01a060}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\316\343\016\024j\211C\356\232\3147\214\315L\334\206"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c040dc0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\222\221\240\000\036\366L\253\240z\266\377l\0052\351"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5781437c0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "L\002\220\361@\366EX\271\232\243\360\257\267\376\031"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04ce80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "B\037\032\a\000\320A\243\272\342\2529(\205\240\215"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec011d80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\026?\372\271gzNU\234\027\274\357\217\333\023\353"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec013b20}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "J\206\324\363\272$N*\206^\v\347\251\200\221\216"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec016900}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\262\300\347\213\363\030J\373\206\b\277\241\023\021\315\317"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c0427e0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\025\224\270\243t\267D\246\245h\370\311\032\332\250\226"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0018dc0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\307\254\322\260\260\204H\217\271\257\235\211\207[g\312"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c042de0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\033\260\312\326T\032NG\232ds\315;\276t."}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04a1c0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\277)\350\314\240\336KJ\267\037\036\253\307\210D\a"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5a9bc4d20}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\357\313\362\261\274\203H}\276\325\300\311Z>\024\375"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e001c840}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\002c\336\306\321cA=\256\027j\334\315y`\300"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c0489a0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\274u\2305B\374A\023\245\314RLQ\316\334@"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec019920}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\235\234\237\377l\250DG\244\030\262\256\310\244\301\363"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e001cea0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "R\265\245\353\304RN\017\223\330DX\213\034\277\233"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e1f105c0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\326`\317b\217\331F\316\274u\004\277%\220M\356"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c0436e0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\364\177\017\260\017\322D\252\221\211x\333\2371\021\215"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec017940}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\245\227\202\235K6BV\267\375\252\365M+am"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04d660}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\207]\265\301vTC\200\2136\232C\027G\351\036"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e57814be80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\345x\236z\247`G\314\226\203d\314\247\344+^"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e61206ec80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\rq\253\212u\226M\026\262\246\343\370Q\235\017\307"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04d100}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\026pA\344T\327D\332\267g\3465\245\350\220L"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e578140520}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\352\322\275\354\261\362@\037\201\325a\241\215\355\273j"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec01bdc0}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\203\227\244\312\003\016A\343\213O_Q\271\204\260p"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c046f20}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\277\203\315\205\340\244JO\267t\035W5>J\346"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e57814f120}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\n\244D\245\241\006O\355\215\333\324\035W\017\246X"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec016c00}, [{static kNumBytes = 16, _uuid = {
--Type <RET> for more, q to quit, c to continue without paging--c
      _M_elems = "\240\340\233p8wK>\237%/kn\256F\312"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e578141280}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\363VQY\241rGH\264*\034f\004\234\030X"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e578145a80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\364bn\276\364\003M\221\254\307\222s`\021\2365"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e57814ae00}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\221\305\312~\034wE\323\206\266\025\346\033\no\360"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e62b431d80}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\305\352Xzr\307L\315\237\r\252\335xm\000\312"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c04dd20}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\006\341d\235.eDd\240\241F3dT\374\006"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec018380}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\324\201\327\341\325\202FY\261D\305\220\222\212\023\027"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0011780}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\252\310\004\352L\265H\001\237#z\352[\026\256\017"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5e0014180}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "\2536\216\017\225\342D~\222O\367W\201\334`?"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e60c049260}, [{static kNumBytes = 16, _uuid = {
      _M_elems = "+_nG\347hD\036\276\230\314\317\024F\177K"}}] = std::shared_ptr<mongo::Collection> (use count 1, weak count 0) = {get() = 0x3e5ec01aaa0}}
(gdb) p uuid
$4 = {<boost::optional_detail::optional_base<mongo::UUID>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = true, m_storage = {dummy_ = {data = "\316\b0\325\027\206E\237\224\214*mp-hC", aligner_ = -50 '\316'}}}, <No data fields>}

It seems that the UUID isn't inside the UUIDCatalog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions