|
I first noticed this in a patch build debugging a timed out BF-related issue.
It seems that the hang analyzer script is unable to locate a usable Python BSON library when it installs the GDB pretty printers. Using a recent non-patch related task as an example, this prevents the hang analyzer from decoding BSONObj function arguments in the stack traces:
x debugger_mongod.logWarning: Could not load bson library for Python '3.9.2 (default, May 21 2021, 20:36:03)
|
Warning: Could not load bson library for Python '3.9.2 (default, May 21 2021, 20:36:03)
|
#22 0x00007f53c067f7e6 in mongo::repl::(anonymous namespace)::CmdHello::runWithReplyBuilder (this=0x7f53c068f2a0 <mongo::repl::(anonymous namespace)::cmdIsMaster>, opCtx=0x55e0f5da3540, cmdObj=owned BSONObj 120 bytes @ 0x55e0f656691d - unprintable or invalid, replyBuilder=0x55e0f6170960) at src/third_party/boost/boost/optional/optional.hpp:396
|
#22 0x00007fcb91e867e6 in mongo::repl::(anonymous namespace)::CmdHello::runWithReplyBuilder (this=0x7fcb91e962a0 <mongo::repl::(anonymous namespace)::cmdIsMaster>, opCtx=0x56003dcefc00, cmdObj=owned BSONObj 120 bytes @ 0x56003cf98d5d - unprintable or invalid, replyBuilder=0x56003df217c0) at src/third_party/boost/boost/optional/optional.hpp:396
|
|
x debugger_mongod_2241.log#22 0x00007fcb91e867e6 in mongo::repl::(anonymous namespace)::CmdHello::runWithReplyBuilder (this=0x7fcb91e962a0 <mongo::repl::(anonymous namespace)::cmdIsMaster>, opCtx=0x56003dcefc00, cmdObj=owned BSONObj 120 bytes @ 0x56003cf98d5d - unprintable or invalid, replyBuilder=0x56003df217c0) at src/third_party/boost/boost/optional/optional.hpp:396
|
|
x debugger_mongod_2241_raw_stacks.log#22 0x00007fcb91e867e6 in mongo::repl::(anonymous namespace)::CmdHello::runWithReplyBuilder (this=0x7fcb91e962a0 <mongo::repl::(anonymous namespace)::cmdIsMaster>, opCtx=0x56003dcefc00, cmdObj=owned BSONObj 120 bytes @ 0x56003cf98d5d - unprintable or invalid, replyBuilder=0x56003df217c0) at src/third_party/boost/boost/optional/optional.hpp:396
|
|
x debugger_mongod_471.log
|
x debugger_mongod_471_raw_stacks.log#22 0x00007f7f3a0f67e6 in mongo::repl::(anonymous namespace)::CmdHello::runWithReplyBuilder (this=0x7f7f3a1062a0 <mongo::repl::(anonymous namespace)::cmdIsMaster>, opCtx=0x559456e76c00, cmdObj=owned BSONObj 120 bytes @ 0x55945bf5321d - unprintable or invalid, replyBuilder=0x559456bd87c0) at src/third_party/boost/boost/optional/optional.hpp:396
|
|
x debugger_mongod_477.log#22 0x00007f53c067f7e6 in mongo::repl::(anonymous namespace)::CmdHello::runWithReplyBuilder (this=0x7f53c068f2a0 <mongo::repl::(anonymous namespace)::cmdIsMaster>, opCtx=0x55e0f5da3540, cmdObj=owned BSONObj 120 bytes @ 0x55e0f656691d - unprintable or invalid, replyBuilder=0x55e0f6170960) at src/third_party/boost/boost/optional/optional.hpp:396
|
|
x debugger_mongod_477_raw_stacks.log#22 0x00007f53c067f7e6 in mongo::repl::(anonymous namespace)::CmdHello::runWithReplyBuilder (this=0x7f53c068f2a0 <mongo::repl::(anonymous namespace)::cmdIsMaster>, opCtx=0x55e0f5da3540, cmdObj=owned BSONObj 120 bytes @ 0x55e0f656691d - unprintable or invalid, replyBuilder=0x55e0f6170960) at src/third_party/boost/boost/optional/optional.hpp:396
|
|